12-04-2002 01:32 AM - edited 03-02-2019 03:21 AM
Hi there,
I have two routers running EBGP and I want to inject a default route from one to another.
I have read that the correct way to do this is 0.0.0.0 0.0.0.0 (interface that the static route is on)
Trouble is, there is no static route from the router advertising the default route to the Internet. The router advertising the default route knows about the default route to the Internet via EIGRP (not a static route)
Any ideas on how to do this?
best regards,
Daniel,
12-04-2002 03:25 AM
Daniel, not sure I have fully understood you problem but to advertise the default route to your EBGP peer you must enure that the default route is in the IGP. Make sure that in the BGP process you have added the 'network 0.0.0.0' statement.
Or you can originate the default to you EBGP peer using the default-orignate command on the end of your bgp neighbor statement e.g 'neighbor 10.10.10.8 default-originate' This way you do not need the default route prefix in the IGP of the advertising peer.
Apologies if I have missunderstood what you are trying to achieve.
12-04-2002 03:37 AM
I am trying to get my EBGP peer to advertise a default route to my IGP. I have four EBGP peers (RT1, RT2, RT3 and RT4). RT1 and R2 have a peering, and RT3 and RT4 have a peering. I want RT1 to advertise a default route to RT2 (which also has EIGRP configured), plus I want RT3 to advertise a default route to RT4 (which also has EIGRP configured). That way, all EIGRP routers will know how to get out of their AS.
Thanks for your reply
Daniel,
12-04-2002 04:27 AM
Daniel, you could redistribute BGP into EIGRP with a route-map permitting only the default route. On your EBGP peers the default route will be learnt via EBGP (as long as next hop reachability etc) admin distance 20 (better than eigrp external 170) but you should still see the default route in the eigrp topology database in the event of a bgp peer failure.
On you non-BGP routers you should see the default route via eigrp external.
Example config of the BGP into EIGRP redistribution
router eigrp 1
redistribute bgp 65000 metric 10000 1000 255 1 1500 route-map default-only
network 20.0.0.0
auto-summary
no eigrp log-neighbor-changes
ip access-list standard default-only-list
permit 0.0.0.0
route-map default-only permit 10
match ip address default-only-list
12-04-2002 05:31 AM
Brilliant, thanks very much !
Daniel,
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