Konfigurasi Routing OSPF
November 28, 2018
Add Comment
Hello guys kali ini saya akan berbagi sedikit ilmu yaitu bagaimana cara merouting menggunakan protokol routing OSPF.
Pengaturan port di setiap router
Klik R1 lalu tambahkan port (HWIC-2T) untuk kabel serial.
Pengaturan port di setiap router
Klik R1 lalu tambahkan port (HWIC-2T) untuk kabel serial.
Hingga menjadi seperti ini.
Lakukan langkah tersebut pada router berikutnya, lalu hubungkan kabel Serial DCE dari R1 ke R2. Pengalamatan IP
R1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho R1
R1(config)#int g0/0
R1(config-if)#ip add 192.168.100.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0, changed state to up
R1(config-if)#ex
R1(config)#int se0/0/0
R1(config-if)#ip add 10.1.0.1 255.255.255.252
R1(config-if)#clock rate 128000
R1(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to
down
R1(config-if)#ex
R2
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho R2
R2(config)#int g0/0
R2(config-if)#ip add 172.16.51.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0, changed state to up
R2(config-if)#ex
R2(config)#int se 0/0/0
R2(config-if)#ip add 10.1.0.2 255.255.255.252
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2(config-if)#ex
Berikan alamat ip di PC0 dan Server0
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho R1
R1(config)#int g0/0
R1(config-if)#ip add 192.168.100.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0, changed state to up
R1(config-if)#ex
R1(config)#int se0/0/0
R1(config-if)#ip add 10.1.0.1 255.255.255.252
R1(config-if)#clock rate 128000
R1(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to
down
R1(config-if)#ex
R2
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho R2
R2(config)#int g0/0
R2(config-if)#ip add 172.16.51.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0, changed state to up
R2(config-if)#ex
R2(config)#int se 0/0/0
R2(config-if)#ip add 10.1.0.2 255.255.255.252
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2(config-if)#ex
Berikan alamat ip di PC0 dan Server0
Routing OSPF
R1
R1(config)#
R1(config)#router ospf 7
R1(config-router)#network 192.168.100.0 0.0.0.255 area 0
R1(config-router)#network 10.1.0.0 0.0.0.3 area 0
R1(config-router)#ex
R1(config)#
R2
R2(config)#router ospf 7
R2(config-router)#network 172.16.51.0 0.0.0.255
area 0
R2(config-router)#network 10.1.0.0 0.0.0.3 area
R2(config-router)#
00:19:24: %OSPF-5-ADJCHG: Process 7, Nbr 192.168.100.1 on
Serial0/0/0 from LOADING to FULL, Loading Done (akan
muncul seperti ini bila berhasil)
R2(config-router)#ex
R2(config)#
Setelah selesai coba kirim pesan dari Server0 ke PC0. Pesan pertama pasti failed, dan setelahnya Succesful.
R1
R1(config)#
R1(config)#router ospf 7
R1(config-router)#network 192.168.100.0 0.0.0.255 area 0
R1(config-router)#network 10.1.0.0 0.0.0.3 area 0
R1(config-router)#ex
R1(config)#
R2
R2(config)#router ospf 7
R2(config-router)#network 172.16.51.0 0.0.0.255
area 0
R2(config-router)#network 10.1.0.0 0.0.0.3 area
R2(config-router)#
00:19:24: %OSPF-5-ADJCHG: Process 7, Nbr 192.168.100.1 on
Serial0/0/0 from LOADING to FULL, Loading Done (akan
muncul seperti ini bila berhasil)
R2(config-router)#ex
R2(config)#
Setelah selesai coba kirim pesan dari Server0 ke PC0. Pesan pertama pasti failed, dan setelahnya Succesful.
Bila ada pertanyaan comment dibawah, Jangan lupa share bila bermanfaat ^^.
Salam TKJ
0 Response to "Konfigurasi Routing OSPF"
Posting Komentar