bgp routing configuration lab using packet tracer

bgp configuration lab using cisco packet tracer


In this article I am going to show you how to configure bgp step by step.This is a bgp configuration example lab showing bgp configuration using cisco packet tracer.I will show you how to configure bgp routing protocols on cisco router using three router.This is an example lab showing bgp configuration.Here in This Lab I have taken  3 AS they are 1,71 and 79 respectively

BGP neighbors can be of two types:


  • IBGP neighbors – when two neighbors are in the same AS(Autonomous System);

  • EBGP neighbors – when two neighbors belong to different AS(Autonomous System).

You can Download bgp configuration Lab file: Click here to Download 

Step 1:Draw BGP Topology Diagram.


bgp configuration

Step 2: Assign ip address on each device as mentioned in Diagram.


bgp and computer

Step 3: bgp configuration on Router R1:


R1(config)#router bgp 1
R1(config-router)#neighbor 172.16.0.2 remote-as 71
R1(config-router)#network 10.0.0.0 mask 255.0.0.0
R1(config-router)#exit
R1(config)#do write
Building configuration...[OK]
R1(config)#

Step 4: bgp configuration on Router R2:


R2(config)#router bgp 71
R2(config-router)#neighbor 172.16.0.1 remote-as 1
R2(config-router)#neighbor 172.14.0.2 remote-as 79
R2(config-router)#network 40.0.0.0 mask 255.0.0.0
R2(config-router)#exit
R2(config)#do write
Building configuration...[OK]
R2(config)#

Step 5:  bgp configuration on Router R3:


R3(config)#router bgp 79
R3(config-router)#neighbor 172.14.0.1 remote-as 71
R3(config-router)#network 40.0.0.0 mask 255.0.0.0
R3(config-router)#exit
R3(config)#do write
Building configuration...[OK
R3(config)#

Step 6: bgp configuration Testing and troubleshooting.


For bgp testing we will ping both pc and check the network communication.


Now I am on PC2:


PC>ipconfig

PC>ping 10.0.0.2

Step 7: check bgp route on router R1:


R1#show ip route

Step 8: Check whether bgp protocols configure or not on Routre R1:


R1#show ip protocols

Step 9: Show BGP Status


R1#show ip bgp summary

Show bgp neighbors status:


R1#show ip bgp neighbors






Similarly we check bgp route on Router R2:

R2#show ip route
R2#show ip protocols
Similarly check bgp route on Router R3:

R3#show ip route
R3#show ip protocols

Interested candidate can also join our ccna online and classroom training program.


Discover more from Learn Linux CCNA CCNP CEH CISSP CISA Penetration-Testing Bug Bounty IPv6 Cyber-Security Network-Security Online

Subscribe to get the latest posts to your email.

One thought on “bgp routing configuration lab using packet tracer

  1. Why you on step 4 you advertise network 40.0.0.0 mask 255.0.0.0 (right-side nighbor) but NOT network 10.0.0.0 mask 255.0.0.0 (left-side neighbor)? Shouldn’t we advertise both networks on R2?

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.