Konfigurasi Router OSPF-BGP pada Cisco Packet Tracer
Thursday, July 28, 2016
Add Comment
Menghubungkan 2 Jaringan OSPF menggunakan BGP (Intra and Inter Area)
2. Kemudian atur IP address dari masing - masing interface pada Router
R1
R2
R3
R4
3. Selanjutnya konfigurasi OSPF nya pada R1,R4 dan BGP pada R2,R3
R1
R2
R3
R4
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
A. Pengertian
B. Latar Belakang
C. Alat dan Bahan
D. Maksud dan Tujuan
E. Tahap Pelaksanaan
1. Pertama - tama buat topologi seperti berikut2. Kemudian atur IP address dari masing - masing interface pada Router
R1
Router>Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int fa0/1Router(config-if)#ip add 192.168.1.1 255.255.255.0Router(config-if)#no shRouter(config-if)#exRouter(config)#int lo 0Router(config-if)#%LINK-5-CHANGED: Interface Loopback0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to upRouter(config-if)#ip add 1.1.1.1 255.255.255.255Router(config-if)#exRouter(config)#
R2
Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int fa0/0Router(config-if)#ip add 192.168.1.2 255.255.255.0Router(config-if)#no shRouter(config-if)#exRouter(config)#int fa0/1Router(config-if)#ip add 192.168.2.1 255.255.255.0Router(config-if)#no shRouter(config-if)#exRouter(config)#int lo 0Router(config-if)#%LINK-5-CHANGED: Interface Loopback0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to upRouter(config-if)#ip add 2.2.2.2 255.255.255.255Router(config-if)#exRouter(config)#
R3
Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int fa0/0Router(config-if)#ip add 192.168.2.2 255.255.255.0Router(config-if)#no shRouter(config-if)#exRouter(config)#int fa0/1Router(config-if)#ip add 192.168.3.1 255.255.255.0Router(config-if)#no shRouter(config-if)#exRouter(config)#int lo 0Router(config-if)#%LINK-5-CHANGED: Interface Loopback0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to upRouter(config-if)#ip add 3.3.3.3 255.255.255.255Router(config-if)#exRouter(config)#
R4
Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int fa0/0Router(config-if)#ip add 192.168.3.2 255.255.255.0Router(config-if)#no shRouter(config-if)#exRouter(config)#int lo 0Router(config-if)#%LINK-5-CHANGED: Interface Loopback0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to upRouter(config-if)#ip add 4.4.4.4 255.255.255.255Router(config-if)#exRouter(config)#
3. Selanjutnya konfigurasi OSPF nya pada R1,R4 dan BGP pada R2,R3
R1
Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#router ospf 10Router(config-router)#network 1.1.1.1 0.0.0.0 area 0Router(config-router)#network 192.168.1.0 0.0.0.255 area 0Router(config-router)#exRouter(config)#
R2
Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#router bgp 65100Router(config-router)#neighbor 192.168.2.2 remote-as 65200Router(config-router)#network 192.168.2.0 mask 255.255.255.0Router(config-router)#redistribute ospf 10Router(config-router)#exRouter(config)#router ospf 10Router(config-router)#network 192.168.1.0 0.0.0.255 area 002: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 0Router(config-router)#redistribute bgp 65100 subnets tag 65100Router(config-router)#exRouter(config)#
R3
Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#router bgp 65200Router(config-router)#neighbor 192.168.2.1 remote-as 65100Router(config-router)#%BGP-5-ADJCHANGE: neighbor 192.168.2.1 Up
Router(config-router)#network 192.168.2.0 mask 255.255.255.0Router(config-router)#redistribute ospf 10Router(config-router)#exRouter(config)#router ospf 10Router(config-router)#network 192.168.3.0 0.0.0.255 area 0Router(config-router)#network 3.3.3.3 0.0.0.0 area 0Router(config-router)#redistribute bgp 65200 subnets tag 65200Router(config-router)#exRouter(config)#
Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#router ospf 10Router(config-router)#network 192.168.3.0 0.0.0.255 area 0Router(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 0Router(config-router)#exRouter(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
0 Response to "Konfigurasi Router OSPF-BGP pada Cisco Packet Tracer"
Post a Comment