Dan Pertama kita desain seperti gambar dibawah!!!
Gambar di bawah merupakan pemberian IP Address pada Client / PC0
Pemberian IP Address pada Client / PC 1
Pemberian IP Address pada Client / PC 2
Pemberian IP Address Router 0 :
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 192.168.7.1 255.255.255.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 172.20.11.1 255.255.0.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 Router 0 :
Router(config)#router ospf 4
Router(config)#router-id 1.1.1.1
Router(config-router)#net 192.168.7.0 0.0.0.255 area 0
Router(config-router)#net 172.20.11.0 0.0.255.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 Router 1 :
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 192.168.14.1 255.255.255.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 172.20.11.2 255.255.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
Router(config-if)#exit
Router(config)#int se3/0
Router(config-if)#ip add 10.10.6.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 Router 1 :
Router(config)#router ospf 4
Router(config-router)#net 192.168.14.0 0.0.0.255 area 0
Router(config-router)#net 172.20.11.0 0.0.255.255 area 0
Router(config-router)#net 10.10.6.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 Router 2 :
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 192.168.21.1 255.255.255.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.6.2 255.0.0.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 Router 2 :
Router(config)#router ospf 4
Router(config)#router-id 2.2.2.2
Router(config-router)#net 192.168.21.0 0.0.0.255 area 1
Router(config-router)#net 10.10.6.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 selesai, coba di ping dari PC0 ke PC1 atau PC2 dan Sebaliknya.....
Apabila kurang dipahami bisa ditanyakan.....
SELAMAT MENCOBA.....
Tidak ada komentar:
Posting Komentar