Kamis, 07 Maret 2013

Konfigurasi OSPF dengan Packet Tracer

Pertama kita buat sebuah jaringan, Seperti gambar di bawah..



Selanjutnya..
berikan IP Address pada setiap PC..
1. PC 1 dengan nama "PC0"..

2. PC 2 dengan nama "PC1"..


3. PC 3 dengan nama "PC2"..



Tahap selanjutnya berikan IP Address pada setiap router . Contoh sebagai berikut :

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.16.4.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.11.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 OSPF pada Router 1,


Router(config)#router ospf 5
Router(config)#router-id 1.1.1.1
Router(config-router)#net 172.16.4.0 0.0.255.255 area 0
Router(config-router)#net 192.168.11.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#


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.16.5.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.11.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 11.10.1.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 5
Router(config-router)#net 172.16.5.0 0.0.255.255 area 0
Router(config-router)#net 192.168.11.0 0.0.0.255 area 0
Router(config-router)#net 11.10.1.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#


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.6.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 11.10.1.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 5
Router(config)#router-id 2.2.2.2
Router(config-router)#net 172.16.6.0 0.0255.255 area 1
Router(config-router)#net 11.10.1.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 di ping dari ke ujung, jika berhasil maka konfigurasi anda SUKSES untuk ketiga protocol tersebut.

Terima Kasih..

Tidak ada komentar:

Posting Komentar