KONFIGURASI OSPF PADA CISCO PACKET TRACER
Pertama kita buat dulu sebuah jaringan , seperti gambar dibawah.....
Selanjutnya..
berikan IP Address pada setiap PC..
1. PC 1 dengan nama "PC0"..
2. PC 2 dengan nama "PC 2"..
3. PC 3 dengan nama "PC 3"..
Tahap selanjutnya berikan IP Address pada setiap router . Contoh sebagai berikut :
Pemberian IP Address di Router 1
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
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.18.8.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.8.1 255.255.255.0
Router(config-if)#band 125
Router(config-if)#cl ra 125000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi EIGRP pada Router 1,
Router(config)#router ospf 4
Router(config)#router-id 2.2.2.2
Router(config-router)#net 172.18.8.0 0.0.255.255 area 0
Router(config-router)#net 192.168.8.0 0.0.0.255 area 0
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Pemberian IP Address di Router 2
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
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.19.9.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.8.2 255.255.255.0
Router(config-if)#band 125
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 18.8.8.1 255.0.0.0
Router(config-if)#band 125
Router(config-if)#cl ra 125000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#exit
Konfigurasi OSPF pada Router 2,
Router(config)#router ospf 4
Router(config-router)#net 172.19.9.1 0.0.255.255 area 0
Router(config-router)#net 192.168.8.0 0.0.0.255 area 0
Router(config-router)#net 18.8.8.0 0.255.255.255 area 1
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Pemberian IP Address di Router 3
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
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.10.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 18.8.8.2 255.0.0.0
Router(config-if)#band 125
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi OSPF pada Router 3,
Router(config)#router ospf 4
Router(config)#router-id 4.4.4.4
Router(config-router)#net 172.16.10.0 0.0.255.255 area 1
Router(config-router)#net 18.8.8.0 0.255.255.255 area 1
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Setelah dikonfigurasi, coba tes ping antara PC0 , PC1 dan PC2..
Selamat Mencoba...!!!
Tidak ada komentar:
Posting Komentar