1. Ubah IP dan Nama interface ethernet tiap port ethernet.
Ex : Ether1 -> Nama interface diganti menjadi “local” dan IP di set 192.168.0.1/24
2. Mulai dengan menambah gateway di mikrotik :
ip route add dst-address=0.0.0.0/0 gateway 192.168.1.1 scope=255 target-scope=10 routing-mark=satu comment="" disabled=no
ip route add dst-address=0.0.0.0/0 gateway 192.168.2.1 scope=255 target-scope=10 routing-mark=dua comment="" disabled=no
ip route add dst-address=0.0.0.0/0 gateway 192.168.3.1 scope=255 target-scope=10 routing-mark=tiga comment="" disabled=no
3. Dilanjutkan dengan menggunakan ip firewall mangle
/ip firewall mangel
add chain=prerouting in-interface=local connection-state=new nth=2,3,0 action=mark-connection new-connection-mark=satu passtrough=yes comment="load balancing" disabled=no
add chain=prerouting in-interface=local connection-mark=satu action=mark-routing new-routing-mark=satu passthrough=no comment="" disabled=no
add chain=prerouting in-interface=local connection-state=new nth=2,3,1 action=mark-connection new-connection-mark=dua passtrough=yes comment="" disabled=no
add chain=prerouting in-interface=local connection-mark=dua action=mark-routing new-routing-mark=dua passthrough=no comment="" disabled=no
add chain=prerouting in-interface=local connection-state=new nth=2,3,2 action=mark-connection new-connection-mark=tiga passtrough=yes comment="" disabled=no
add chain=prerouting in-interface=local connection-mark=tiga action=mark-routing new-routing-mark=tiga passthrough=no comment="" disabled=no
4. Dan yang terakhir dengan proses NAT
ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade
ip firewall nat add chain=srcnat out-interface=ether2 action=masquerade
ip firewall nat add chain=srcnat out-interface=ether3 action=masquerade
Mudah2n bermanfaat ya brO....iss:
Langkah-langkah load balancing untuk 3 line :
9:07 PM
Unknown