Why cant I ping eBGP from one router across 1 hop to a loopback?

I configure 3 routers in a line each with their own addresses and loopbacks. I then create bgp neighborship between them and advertise their loopbacks. I can ping from R1 to R2's loopback or R2 to R3's loopback but I am unable to ping from R3 to R1's loopback.

Did I miss some configuration or is that just how it is by nature?

Thanks!
Nate AAsked:
Who is Participating?
 
JustInCaseConnect With a Mentor Commented:
BGP is not really routing protocol, it is application.
Generally, IGP or static routes need to support BGP inside of single AS. Does IGP has routes how to reach from R1 to R3 (and vice versa), and to network that is source of ping?

You can try to ping with source address of loopback, depending on configuration it could work. If you are not advertising transit networks into BGP (and all routers are in different ASs, source of ping will be interface closest to destination and router that is ping destination may not have source network in routing table.
0
 
Nate AAuthor Commented:
OHHHH so i have to advertise the directly connected links as well not just the loopbacks. And thats because the router does not know the return address even though it is even the routing table. Thanks!
0
 
JustInCaseConnect With a Mentor Commented:
You're welcome.
:)
0
 
Nate AAuthor Commented:
:)
0
 
Nate AAuthor Commented:
I UNDERSTAND
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.