07-31-2018 10:57 AM
Hello,
I have a L3 switch that is doing BGP peering with two other routers, RouterA and RouterB. I am learning a default route (via BGP) from RouterA and devices that use my L3 switch as their default gateway are able to reach the Internet without issue.
Now, I am trying to "re-advertise" the default route I am learning from RouterA and push that into the BGP routing table running on RouterB. On my L3 switch, if I go into my BGP routing instance and configure "default-information originate", and then if I do "show ip bgp neighbor RouterB advertised-routes", I see a default route being pushed to RouterB. But, the tech that manages RouterB says he doesn't see a default route come in from my L3 switch. If I configure a static 0.0.0.0 route on my L3 switch and then do "redistribute static" in my BGP routing process, RouterB starts to pick up the default route from my L3 switch but at the same time, I create a routing loop between my L3 switch and RouterA and so I lose my Internet connection.
I'm hoping someone can help me sort this out.
Thank you!
Daniel
07-31-2018 11:21 AM
Hi,
Please try "neighbor x.x.x.x default-originate".
HTH,
Meheretab
07-31-2018 12:30 PM
08-01-2018 10:32 AM
07-31-2018 11:22 AM - edited 07-31-2018 11:22 AM
If you see a default route being advertised then router B must be dropping it for some reason.
You haven't said if these peerings are EBGP or IBGP so can you provide a few more details ?
In terms of the static route what is the next hop you are using ?
Jon
07-31-2018 12:38 PM
07-31-2018 12:41 PM
Jon
When I read the original post I assumed that router A and router B were running EBGP with ISPs and were running IBGP with the switch. And the symptoms were make a lot of sense if that is the case. But after reading your post and re-reading the original post I realize that we do not know what the BGP relationships are. Perhaps the original poster can clarify?
HTH
Rick
07-31-2018 12:56 PM
07-31-2018 12:47 PM - edited 07-31-2018 12:49 PM
The "i" does not mean IBGP.
On your router in the configuration will be a "router bgp <AS number>"
Also you will have neighbor statements for the other routers eg.
"neighbor <router A IP address> remote-as <AS number>"
If the AS number in the "router bgp ..." statement is the same as the AS number in the neighbor statement it is IBGP, if it is different it is EBGP.
Jon
07-31-2018 12:54 PM
07-31-2018 12:56 PM
Sorry, just to clarify, router A and router B are using different AS numbers as well ie. each router is using a different AS ?
Jon
07-31-2018 12:57 PM
07-31-2018 01:00 PM
If router A is in a different AS and router B is in a different AS then I wonder why you want to advertise the default route to B. That will make you a transit network between A and B. Which makes me realize that we do not know anything about the relationship you have with A or B. Can you clarify this?
HTH
Rick
07-31-2018 01:00 PM
Thanks and as Rick says no need to apologise BGP is not something you use on a daily basis unless you are an ISP really.
If all this is EBGP and you can see the default being advertised to router B I would come back to the original point, router B must be dropping it from some reason.
If they are filtering the routes received it sounds like they are blocking it.
Jon
07-31-2018 01:08 PM
In reading back through the thread I want to come back to this part of one of the posts
if I do "show ip bgp neighbor <RouterB_IP> advertised-routes", I see the following at the top of the output:
Network Next Hop Metric LocPref Path Origin
------------------- -------------------------------- ---------- ---------- ------------- ------
0.0.0.0/0 <RouterA_IP> 65400... ?
If router B does not have a valid route to <RouterA_IP> then B would (appropriately) drop the advertised route. So you do need to check with the administrator of B and check to be sure that they do have a route for that destination.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide