01-12-2017 09:04 AM - edited 03-05-2019 07:49 AM
Hello Guys - I am trying to figure out why static default route is not getting redistributed to any peers (eBGP and iBGP). However, other static routes are getting redistributed. Can i know where is the issue. Thank you in advance
Router-02 #show run | be router
router bgp 64552
bgp log-neighbor-changes
neighbor 192.168.0.66 remote-as 64552
neighbor 192.168.0.66 description iBGP Peer
!
address-family ipv4
redistribute connected
redistribute static
neighbor 192.168.0.66 activate
neighbor 192.168.0.66 default-originate
neighbor 192.168.0.66 soft-reconfiguration inbound
no auto-summary
no synchronization
exit-address-family
Router-02#show ip bgp neighbors 192.168.0.66 advertised-routes
Network Next Hop Metric LocPrf Weight Path
*> 8.8.4.4/32 192.168.0.4 0 32768 ?
Total number of prefixes 42
Router-02#show run | in ip route
no ip route-cache cef
no ip route-cache
ip route 0.0.0.0 0.0.0.0 10.27.0.4 track 10
ip route 8.8.4.4 255.255.255.255 10.27.0.4
Router-02#show ip route
Gateway of last resort is 192.168.0.4 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.27.0.4
Router-02#
Thanks / Sairam
01-12-2017 10:17 AM
Hi Sairam,
It could be due to below.
Router-02#show ip route
Gateway of last resort is 192.168.0.4 to network 0.0.0.0 <<<
S* 0.0.0.0/0 [1/0] via 10.27.0.4 <<<
Can you try removing below route and check?
Gateway of last resort is 192.168.0.4 to network 0.0.0.0
Please rate if it helped.
HTH
-Amit
01-12-2017 01:59 PM
Hello
Is this a direct ibgp peer or via some igp?
I would expect to see from the originating router in the advertised route output at least the physical connected links and also the 8.8.4.4 route especially with you redistributing static/connected
The default static wont show up here as you are advertising it via the neighbor default originate,, So as its originating locally it not subject to the redistribute static
On the receiving router can you post
sh ip bgp neighbors x.x.x.x routes
Can you perform a soft reset on the neighbors?
Clear ip bgp * soft
sh ip bgp sum
sh ip bgp
res
Paul
01-12-2017 11:50 PM
Thank you all.
01-12-2017 03:58 PM
The best route to 0.0.0.0 is not via 10.27.0.4. Can you please share the output of: show ip cef 0.0.0.0
I think BGP is NOT sending default route from redistribution since the static default route is NOT the best route for the router.
01-12-2017 04:14 PM
Hello
With the default originate it should advertise th default irrespective if a route is in n the rib or not
res
Paul
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