cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
630
Views
7
Helpful
8
Replies

Help on BGP!!!

nikhil.engineer
Level 1
Level 1

Hi Experts,

I have simulated a lab to learn more on BGP. The scenario is as follows:-

R1-R2-R3

Where R2 and R3 are running IBGP while R1 and R2 are running EGP. I have advertised some routes from R1. These routes are visible on R3 as BGP routes.

Now my problem is I cannot ping the routes adv by R1 from R3. Can any one tell me why is it so? Also please provide some solution.

1 Accepted Solution

Accepted Solutions

Hi,

The problem is R3 doesn't know how to route to 192.168.10.2/xx on R2. The traffic from R2 makes it to R3 but R3 drops the packets as it doesn't know how to route back to 192.168.10.2. Configure R1 to advertise 192.168.10.2/xx via BGP or other means as you desire.

HTH

Sundar

View solution in original post

8 Replies 8

can you post the configs ... and/or the routingtables ...

Also try to do a traceroute.

If you find this post usefull

please don't forget to rate this

#########################################

#Iwan Hoogendoorn

#########################################

i tried traceroute but it doesnt work. i cant send u the configs.

Hi,

Without posting the config, we can't help you much. However, try posting the following output for all rouoters;

show ip bgp summary

show ip bgp neighor

show ip route

show ip bgp

show ip int brief

Jon Marshall
Hall of Fame
Hall of Fame

Hi

As stated by other posters it's difficult to say without seeing the routing tables.

Things to check

1) On R3 what is the next hop IP address for the route learned from R1. If it's IBGP between R2 & R3 then it will be the IP address of R1's interface that connects to R2.

Does R3 know how to get to that IP address. if not on R2 you can use the

neighbor "R3 address" next-hop-self which will tell R3 to get to destination at R1 go to via R2.

2) Does R1 know how to get back to R3. You need to know which interface IP address is used as the source IP address from R3. You can use extended ping to set the IP address. Whichever address you use you must make sure that R1 has a route via R2 bakc to it.

HTH

Jon

Hi All,

I have attached the necessary outputs int the attached text. Also, there is slight change in the scenario. Now, the connection is as follows:

R3-EBGP-R1-IBGP-R2.

Please provide me solution with proper explanation.

Cheers,

Nikhil

Hi,

The problem is R3 doesn't know how to route to 192.168.10.2/xx on R2. The traffic from R2 makes it to R3 but R3 drops the packets as it doesn't know how to route back to 192.168.10.2. Configure R1 to advertise 192.168.10.2/xx via BGP or other means as you desire.

HTH

Sundar

Hi Sundar,

Thanks for your help. I have adv the route in BGP in R1. I am able to ping from R2.

Also if i give a static route from R3 to R2 it will work i suppose.

Pls reply back.

Thanks alot for the explanation it was very helpful.It cleared all my doubts.

Cheers,

Nikhil

Nikhil,

Adding a static route on R3 would work as well. It doesn't matter whether the route is a BGP, static or learnt from another source and the only criteria is the routing has to be end-to-end.

I know BGP can be challenging but it's very interesting and I am sure you will have lot of fun with it:)

Good Luck!!

HTH

Sundar

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card