SCRIP SETING MIKROTIK LOAD BALANCING DENGAN 2 ISP
interface set name ether1 name=”speedy1″
interface set name ether2 name=”speedy2″
interface set name ether3 name=”lan”
/ ip address
add address=192.168.1.1 netmask=255.255.255.0 interface=lan disable=no comment=””
add address=10.237.3.84 netmask=255.255.255.0 interface=speedy1 disable=no comment=””
add address=10.237.15.1 netmask=255.255.255.0 interface=speedy2 disable=no comment=””
/ ip route
add dst-address=0.0.0.0/0 gateway=10.237.3.1,10.237.15.1 check-gateway=ping
/ip firewall nat
add chain=srcnat out-interface=speedy1 action=masquerade
add chain=srcnat out-interface=speedy2 action=masquerade
/ ip firewall mangle
add chain=input in-interface=speedy1 action=mark-connection new-connection-mark=speedy1_conn
add chain=input in-interface=speedy2 action=mark-connection new-connection-mark=speedy2_conn
add chain=output connection-mark=speedy1_conn action=mark-routing new-routing-mark=to_speedy1
add chain=output connection-mark=speedy2_conn action=mark-routing new-routing-mark=to_speedy2
/ ip route
add dst-address=0.0.0.0/0 gateway=10.237.3.1 routing-mark=to_speedy1
add dst-address=0.0.0.0/0 gateway=10.237.15.1 routing-mark=to_speedy2
Silahkan Download Scripnya dalam bentuk txt dibawah ini:
scrip seting load balancing mikrotik 2 isp
jangan lupa beri komentar