Prakt Modul Cisco Static Routing
Prakt Modul Cisco Static Routing
Prakt Modul Cisco Static Routing
2
Static Routing Dengan Tiga Router
S 192.168.5.0/24 [1/0] via 192.168.2.2
Keterangan :
S : untuk static routing.
Untuk menuju ke jaringan 192.168.3.0/24 dapat melalui gateway 192.168.2.2
Untuk menuju ke jaringan 192.168.4.0/24 dapat melalui gateway 192.168.2.2
V. Percobaan
1. Bangunlah jaringan sederhana seperti pada gambar 3.
Router#conf t
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router 2:
Continue with configuration dialog? [yes/no]: no
Router#conf t
Router(config)#interface serial 2/0
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router 3:
Continue with configuration dialog? [yes/no]: no
Router#conf t
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router 2:
Router#conf t
Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1
Router(config)#ip route 192.168.5.0 255.255.255.0 192.168.4.2
Router(config)#exit
Router#
Router 3:
Router#conf t
Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.4.1
Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.4.1
Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.4.1
Router(config)#exit
NB:
Perhatikan kabel DCE dan DTE, untuk mengecek gunakan perintah :
Router# show controllers serial 0/1/1
b. Cek ip address
Router# show ip interface brief