Wednesday, November 27, 2013

Static Route on Mikrotik [Vol. 2]

Yups,, berikut ini adalah routing static dengan 3 router dengan catatan router B and C tidak tersambung dengan kabel UTP.
langsung aja cekidot, berikut shcema ya:
Alright let’s go to config:
1. RouterA:
ip lan: 192.168.10.1/24
ip to router B: 10.1.1.1/30
ip to router C: 10.20.5.1/30
and it’s config route
/ip route
add comment=”" disabled=no distance=1 dst-address=192.168.20.0/24 gateway=10.1.1.2 scope=30 target-scope=10
add comment=”" disabled=no distance=1 dst-address=192.168.30.0/30 gateway=10.20.5.2 scope=30 target-scope=10

2. Router2:
ip lan:192.168.20.1/24
ip to router A:10.1.1.2/30
Config route:

/ip route
add disabled=no distance=1 dst-address=10.20.5.0/30 gateway=10.1.1.1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=192.168.10.0/24 gateway=10.1.1.1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=192.168.30.0/24 gateway=10.1.1.1 scope=30 target-scope=10

3. Router3:
ip1:192.168.30.1/24
ip2:10.20.5.2/30
Config route:

/ip route
add comment=”" disabled=no distance=1 dst-address=10.1.1.0/30 gateway=10.20.5.1 scope=30 target-scope=10
add comment=”" disabled=no distance=1 dst-address=192.168.10.0/24 gateway=10.20.5.1 scope=30 target-scope=10
add comment=”" disabled=no distance=1 dst-address=192.168.20.0/24 gateway=10.20.5.1 scope=30 target-scope=10

Oke, config is finish and you can test configuration with ping IP

No comments:

Post a Comment