Contoh Routing Static
Contoh Routing Static

Berikut adalah script konfigurasi untuk routing static :

Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 192.100.100.2 255.255.255.0
Router(config-if)#no shut

Router#show ip interface brief

Router#ping 192.100.100.1

seting serial router kiri
Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int se2/0
Router(config-if)#ip address 202.45.67.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#clock rate 128000

Untuk Melakukan Routing Agar Jaringan Kiri Dan Kanan Terhubung

Router Kiri :
Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 172.16.10.0 255.255.255.0 202.45.67.2

Router Kanan:
Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 192.100.100.0 255.255.255.0 202.45.67.1

Sekarang Cobalah ping dari pc client kiri menuju pc client kanan, jika reply berarti berhasil.