Contoh sederhana topologi jaringan
perintah IP route :
Command destination net subnet mask out-going
contoh :
ip route 192.168.0.0 255.255.255.0 192.168.5.1
Jika kita menggunakan topologi sederhana yang diatas, maka ip route nya adalah
ROUTER3 : ip route 192.168.2.0 255.255.255.0 192.168.3.2
ROUTER4 : ip route 192.168.1.0 255.255.255.0 192.168.3.1
===============================================================
MIKROTIK
router1
ip address ether1: 192.168.5.1/24
ip address ether2:192.168.2.1/24
==========masquerade=========
router2
ip address ether1:192.168.2.2/24
ip address ether2:192.168.3.1/24
==========masquerade=========
Client
ip address:192.168.3.2/24
gateway:192.168.3.1
============================
setting untuk router1
/ip route add dst-address=192.168.3.0/24 gateway 192.168.2.2
setting untuk router2
/ip route add dst-address=192.168.5.0/24 gateway 192.168.2.1