cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2475
Views
20
Helpful
5
Replies

Default Route not redistributing - BGP

snarayanaraju
Level 4
Level 4

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

5 Replies 5

Amit Goyal
Level 1
Level 1

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

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thank you all. 

Cisco Freak
Level 4
Level 4

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.

Hello

With the default originate it should advertise th default irrespective if a route is in n the rib or not

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card