سلام خدمت همه دوستان و اساتید گرامی
ابتدا تشکر مخصوص می کنم از استادان عزیزم para2ox,arminvox که منو کمک کردن تا با میکروتیک آشنا بشم
کانفیگ مربوط به کارت های شبکه رو لطفا خودتون تنظیم کنید
من فرض کردم که شما ۳ تا اینترنت دارید و می*خواهید اونها رو بین یوزر هاتون شیر کنید
کد:#only for 2.9.27 / ip address add address=192.168.100.1/24 network=192.168.100.0 broadcast=192.168.100.255 interface=Lan comment="" disabled=no / ip firewall mangle add chain=prerouting in-interface=Lan connection-state=new nth=2,1,0 action=mark-connection new-connection-mark=uno_cnx passthrough=yes comment="" disabled=no add chain=prerouting in-interface=Lan connection-state=new nth=2,1,1 action=mark-connection new-connection-mark=dos_cnx passthrough=yes comment="" disabled=no add chain=prerouting in-interface=Lan connection-state=new nth=2,1,2 action=mark-connection new-connection-mark=tres_cnx passthrough=yes comment="" disabled=no add chain=prerouting in-interface=Lan connection-mark=uno_cnx action=mark-routing new-routing-mark=ruta1 passthrough=no comment="" disabled=no add chain=prerouting in-interface=Lan connection-mark=dos_cnx action=mark-routing new-routing-mark=ruta2 passthrough=no comment="" disabled=no add chain=prerouting in-interface=Lan connection-mark=tres_cnx action=mark-routing new-routing-mark=ruta3 passthrough=no comment="" disabled=no / ip firewall nat add chain=srcnat src-address=192.168.100.0/24 action=masquerade comment="" disabled=no / ip route add dst-address=0.0.0.0/0 gateway=x.x.224.1 distance=111 scope=255 target-scope=10 routing-mark=ruta1 comment="" disabled=no add dst-address=0.0.0.0/0 gateway=x.x.128.1 distance=111 scope=255 target-scope=10 routing-mark=ruta2 comment="" disabled=no add dst-address=0.0.0.0/0 gateway=x.x.160.1 distance=111 scope=255 target-scope=10 routing-mark=ruta3 comment="" disabled=noکد:#only for 3.2x / ip address add address=192.168.100.1/24 network=192.168.100.0 broadcast=192.168.100.255 interface=Lan comment="" disabled=no / ip firewall mangle add chain=prerouting in-interface=Lan connection-state=new nth=3,1 action=mark-connection new-connection-mark=uno_cnx passthrough=yes comment="" disabled=no add chain=prerouting in-interface=Lan connection-state=new nth=3,2 action=mark-connection new-connection-mark=dos_cnx passthrough=yes comment="" disabled=no add chain=prerouting in-interface=Lan connection-state=new nth=3,3 action=mark-connection new-connection-mark=tres_cnx passthrough=yes comment="" disabled=no add chain=prerouting in-interface=Lan connection-mark=uno_cnx action=mark-routing new-routing-mark=ruta1 passthrough=no comment="" disabled=no add chain=prerouting in-interface=Lan connection-mark=dos_cnx action=mark-routing new-routing-mark=ruta2 passthrough=no comment="" disabled=no add chain=prerouting in-interface=Lan connection-mark=tres_cnx action=mark-routing new-routing-mark=ruta3 passthrough=no comment="" disabled=no / ip firewall nat add chain=srcnat src-address=192.168.100.0/24 action=masquerade comment="" disabled=no / ip route add dst-address=0.0.0.0/0 gateway=x.x.224.1 distance=111 scope=255 target-scope=10 routing-mark=ruta1 comment="" disabled=no add dst-address=0.0.0.0/0 gateway=x.x.128.1 distance=111 scope=255 target-scope=10 routing-mark=ruta2 comment="" disabled=no add dst-address=0.0.0.0/0 gateway=x.x.160.1 distance=111 scope=255 target-scope=10 routing-mark=ruta3 comment="" disabled=no
موضوعات مشابه:
- اموزش تصویزی load balancing
- اموزش load balancing
- آموزش load balancing در روتر بورد میکروتیک
- اموزش Per-Traffic Load Balancing
- Load Balancing Exchange 2007 Client Access Servers using Windows Network Load-Balancing Technology