Static Route
1. Topologi
2. Konfigurasi
- router 1
#interface fastethernet0/0
#ip address 12.12.12.1 255.255.255.0
#no shutdown
#exit
#interface fastethernet0/1
#ip address 192.168.1.1 255.255.255.0
#no shutdown
#exit
#ip route 12.12.12.0 255.255.255.0 12.12.12.1
#ip route 192.168.1.0 255.255.255.0 12.12.12.1
#ip route 192.168.2.0 255.255.255.0 12.12.12.1
- router 2
#interface fastethernet0/0
#ip address 12.12.12.2 255.255.255.0
#no shutdown
#exit
#interface fastethernet0/1
#ip address 192.168.2.1 255.255.255.0
#no shutdown
#exit
#ip route 12.12.12.0 255.255.255.0 12.12.12.2
#ip route 192.168.1.0 255.255.255.0 12.12.12.2
#ip route 192.168.2.0 255.255.255.0 12.12.12.2
3. Hasilnya
- pc1 ke pc2
- pc2 ke pc1









0 comments:
Post a Comment