Static Routing dengan 2 Router
1.
Buat topologi, pada router
tambahkan modul serial WIC-2T
2.
Konfigurasi IP address,
subnet mask dan gateway di setiap PC
3.
Konfigurasi Router1 (UNS)
Router>enable
Router#configure terminal
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 10.10.10.254 255.0.0.0
Router(config-if)#no
shutdown
Router(config-if)#exit
Router(config)#interface
serial0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no
shutdown
Router(config-if)#exit
Router(config)#ip route 172.20.0.0 255.255.0.0 192.168.10.2
Router(config)#exit
Router#write memory = menyimpan keseluruhan konfigurasi
Router#show controllers serial0/0 = menampilkan informasi clock rate
Router#show ip route = menampilkan informasi table routing/static
routing
4.
Konfugurasi Router2 (UGM)
Router>en
Router#configure terminal
Router(config)#interface FastEthernet0/0
Router(config-if)#ip
address 172.20.10.254 255.255.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#interface serial0/0
Router(config-if)#ip
address 192.168.10.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#ip
route 10.0.0.0 255.0.0.0 192.168.10.1
Router(config)#exit
Router#write
memory
Router#show
controllers serial0/0
Router#show ip
route
5.
Test antar pc (PC di UNS dengan PC di UGM) dengan utilitas ping
comand statis routing :
Router(config)#ip
route [network_tujuan_ yang_tidak_terhubung_langsung] [subnet mask pada network tujuan] [gateway/next_hop_address
or exit_interfaces]
Static Routing dengan 2 Router
1. Buat topologi, pada router
tambahkan modul serial WIC-2T
2. Konfigurasi IP Address di setiap PC
3. Konfigurasi Router A
--- System Configuration Dialog ---
Continue with
configuration dialog? [yes/no]: no
Press RETURN to get
started!
Router>en
Router#conf t
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int se0/0/0
Router(config-if)#ip address 192.168.20.10 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#ip route 192.168.30.0 255.255.255.0
192.168.20.20
Router(config)#exit
Router#write memory = menyimpan keseluruhan konfigurasi
Router#show controllers serial0/0/0 = menampilkan informasi clock rate
Router#show ip route = menampilkan informasi table routing/static
routing
4. Konfugurasi Router B
Router>enable
Router#configure terminal
Router(config)#interface fastethernet0/0
Router(config-if)#ip address
192.168.30.254 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int serial0/0
Router(config-if)#ip address 192.168.20.20
255.255.255.0
Router(config-if)#clock rate 72000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#ip route 192.168.10.0
255.255.255.0 192.168.20.10
Router(config)#exit
Router#wr = untuk menyimpan konfigurasi
Router#show controllers
serial0/0 = melihat informasi clock rate di serial
0/0
Router#show ip route = melihat informasi tabel routing
5. Test antar PC A
dengan PC B dengan utilitas ping
comand statis routing :
Router(config)#ip
route [network_tujuan_ yang_tidak_terhubung_langsung] [subnet mask pada network tujuan] [gateway/next_hop_address
or exit_interfaces]
LATIHAN