Pertama kita buat sebuah jaringan sederhana.
Langkah Kedua,
Pemberian IP Address pada masing-masing PC yang terhubung.
- Pemberian IP pada "PC Atas"
- Pemberian IP pada "PC Tengah"
- Pemberian IP pada "PC Bawah"
Setelah selesai pemberian pada masing-masing PC,
berikutnya Pemberikan IP Address dan Konfigurasi RIP pada setiap router,
Contoh sebagai berikut :
- ROUTER ke-1 'Router0'
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.16.20.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#band 64
Router(config-if)#cl ra 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi RIP pada 'Router0'
Router(config)#router rip
Router(config-router)#net 172.16.20.1
Router(config-router)#net 192.168.1.1
Router(config-router)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
- ROUTER ke-2 'Router1'
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.16.12.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#band 64
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Router(config-if)#exit
Router(config)#int se3/0
Router(config-if)#ip add 10.10.10.1 255.0.0.0
Router(config-if)#band 64
Router(config-if)#cl ra 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#exit
Konfigurasi RIP pada 'Router1'
Router(config)#router rip
Router(config-router)#net 172.16.12.1
Router(config-router)#net 192.168.1.2
Router(config-router)#net 10.10.10.1
Router(config-router)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
- ROUTER ke-3 'Router2'
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.16.14.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 10.10.10.2 255.0.0.0
Router(config-if)#band 64
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi RIP pada 'Router2'
Router(config)#router rip
Router(config-router)#net 172.16.14.1 255.255.0.0
Router(config-router)#net 10.10.10.2 255.0.0.0
Router(config-router)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Setelah dikonfigurasi, coba di ping dari PC Atas, Tengah dan Bawah.
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.16.14.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 10.10.10.2 255.0.0.0
Router(config-if)#band 64
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi RIP pada 'Router2'
Router(config)#router rip
Router(config-router)#net 172.16.14.1 255.255.0.0
Router(config-router)#net 10.10.10.2 255.0.0.0
Router(config-router)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Setelah dikonfigurasi, coba di ping dari PC Atas, Tengah dan Bawah.
Silahkan mencoba^_^
0 komentar:
Posting Komentar