Topologi Load balancing 2 ISP

Topologinya seperti ini.












Menggunakan 3 etrernet card

ether1 ==> wireless
ether2 ==> speedy
ethet3 ==> Lan

mikrotik command:
/ip address add address interface ether1
/ip address add address interface ether2
/ip address add address interface ether3

Membagi Ip menjadi 2 Group

add chain=prerouting action=mark-connection src-address new-routing-mark= Group-A
add chain=prerouting action=mark-connection src-address new-routing-mark=Group-B

Default gw masing-masing Group

Group-A= default gw

Group-B= default gw

mikrotik command:

/ip route add gateway= routing-mark=Group-A
/ip route add gateway= routing-mark=Group-B

Nat ip local ==>masquerade

mikrotik command:
/ip firewall nat add chain=srcnat src-address action=masquerade

ip dns di roter mikrotik nya

command di mikrotik

/ip dns set primary-dns= allow-remote-requests=yes <—– dns isp
/ip dns set secondary-dns= allow-remote-requests=yes <—- dns speedy

thanks to Nanang atas sharenya

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s