Konfigurasi Router OSPF-BGP pada Cisco Packet Tracer - TIKNI LIGI

Konfigurasi Router OSPF-BGP pada Cisco Packet Tracer

Menghubungkan 2 Jaringan OSPF menggunakan BGP (Intra and Inter Area)


A. Pengertian


B. Latar Belakang


C. Alat dan Bahan

D. Maksud dan Tujuan

E. Tahap Pelaksanaan

1. Pertama - tama buat topologi seperti berikut
2. Kemudian atur IP address dari masing - masing interface pada Router

R1

Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/1
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#ex

Router(config)#int lo 0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip add 1.1.1.1 255.255.255.255
Router(config-if)#ex
Router(config)#

R2

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#ex
Router(config)#int fa0/1
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#ex

Router(config)#int lo 0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip add 2.2.2.2 255.255.255.255
Router(config-if)#ex
Router(config)#

R3

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.2.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#ex
Router(config)#int fa0/1
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#ex

Router(config)#int lo 0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip add 3.3.3.3 255.255.255.255
Router(config-if)#ex
Router(config)#

R4


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.3.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#ex

Router(config)#int lo 0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip add 4.4.4.4 255.255.255.255
Router(config-if)#ex
Router(config)#

3. Selanjutnya konfigurasi OSPF nya pada R1,R4 dan BGP pada R2,R3

R1

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 10
Router(config-router)#network 1.1.1.1 0.0.0.0 area 0
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router(config-router)#ex
Router(config)#

R2

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router bgp 65100
Router(config-router)#neighbor 192.168.2.2 remote-as 65200
Router(config-router)#network 192.168.2.0 mask 255.255.255.0
Router(config-router)#redistribute ospf 10
Router(config-router)#ex
Router(config)#router ospf 10
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
02:36:04: %OSPF-5-ADJCHG: Process 10, Nbr 1.1.1.1 on FastEthernet0/0 from LOADING to FULL, Loading Done


Router(config-router)#network 2.2.2.2 0.0.0.0 area 0
Router(config-router)#redistribute bgp 65100 subnets tag 65100
Router(config-router)#ex
Router(config)#

R3

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router bgp 65200
Router(config-router)#neighbor 192.168.2.1 remote-as 65100
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 192.168.2.1 Up


Router(config-router)#network 192.168.2.0 mask 255.255.255.0
Router(config-router)#redistribute ospf 10
Router(config-router)#ex
Router(config)#router ospf 10
Router(config-router)#network 192.168.3.0 0.0.0.255 area 0
Router(config-router)#network 3.3.3.3 0.0.0.0 area 0
Router(config-router)#redistribute bgp 65200 subnets tag 65200
Router(config-router)#ex
Router(config)#

R4

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 10
Router(config-router)#network 192.168.3.0 0.0.0.255 area 0
Router(config-router)#
02:45:57: %OSPF-5-ADJCHG: Process 10, Nbr 3.3.3.3 on FastEthernet0/0 from LOADING to FULL, Loading Done


Router(config-router)#network 4.4.4.4 0.0.0.0 area 0
Router(config-router)#ex
Router(config)#

4. Selanjutnya test koneksi dari masing-masing Router

ping IP Loopback dari R1 > R2,R3,R4


ping IP Loopback dari R2 > R1,R3,R4


ping IP Loopback dari R3 > R1,R2,R4


ping IP Loopback dari R4 > R1,R2,R3


F. Referensi

G. Hasil dan Kesimpulan

Tio Chandra Hi There, I shared my expereriences here :) Hope You Like It.

0 Response to "Konfigurasi Router OSPF-BGP pada Cisco Packet Tracer"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel