Begini Tutorial Static Route dengan Fail Over di MikroTik
Routing Static MikroTik |
Dengan Topologi di atas:
PERSEBAYA.
ip address add address=192.168.0.1/30 interface=ether1
ip address add address=192.168.1.0/29 interface=ether2
ip address add address=192.168.0.10/30 interface=ether3
ip route add dst-address=0.0.0.0/0 gateway=192.168.0.2 distance=0 check-gateway=ping
ip route add dst-address=0.0.0.0/0 gateway=192.168.0.9 distance=1 check-gateway=ping
ip route add dst-address=192.168.1.16/29 gateway=192.168.0.9
ip route add dst-address=192.168.1.8/29 gateway=192.168.0.2
PERSIB:
ip address add address=192.168.0.2/30 interface=ether1
ip address add address=192.168.1.9/29 inteface=ether2
ip address add address=192.168.0.5/30 interface=ether3
ip route add dst-address=0.0.0.0/0 gateway=192.168.0.1 distance=1 check-gateway=ping
ip route add dst-address=0.0.0.0/0 gateway=192.168.0.6 distance=0 check-gateway=ping
ip route add dst-address=192.168.1.0/29 gateway=192.168.0.1
ip route add dst-address=192.168.1.16/29 gateway=192.168.0.6
PSIS:
ip address add address=192.168.0.6/30 interface=ether1
ip address add address=192.168.1.17/29 interface=ether2
ip address add address=192.168.0.9/30 interface=ether3
ip route add dst-address=0.0.0.0/0 gateway=192.168.0.5 distance=1 check-gateway=ping
ip route add dst-address=0.0.0.0/0 gateway=192.168.0.14 distance=0 check-gateway=ping
ip route add dst-address=192.168.1.0/29 gateway=192.168.0.10
ip route add dst-address=192.168.1.8/29 gateway=192.168.0.5
Dengan cara Setting seperti ini, maka bila salah satu link mati, maka routing akan re-route ke sebelahnya, misalnya PERSEBAYA <--> PERSIB down, maka jalur otomatis akan perpindah PERSEBAYA <--> PSIS <--> PERSIB
Demikian tutorial Routing Static dengan Fail Over di MikroTik, semoga bermanfaat
0 Response to "Begini Tutorial Static Route dengan Fail Over di MikroTik"
Post a Comment