cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6932
Views
0
Helpful
16
Replies

BGP default route not being installed in the routing table.

ergamusai
Level 1
Level 1

I have a multihoming BGP setup, one 6509 connected to two ISPs. One is the primary, and one is the backup. 

I am receiving only default routes from both ISPs. The BGP neighborship is established, but both default routes received have the rib-failure flag.

router bgp 55555
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 111
neighbor 1.1.1.1 version 4
neighbor 2.2.2.2 remote-as 222
neighbor 2.2.2.2  version 4
!
address-family ipv4
network X.X.X.X mask 255.255.254.0
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 weight 50
neighbor 1.1.1.1 soft-reconfiguration inbound
neighbor 1.1.1.1 distribute-list 1_IN in
neighbor 1.1.1.1 distribute-list 1-OUT out
neighbor 2.2.2.2 activate
neighbor 2.2.2.2  send-community
neighbor 2.2.2.2  weight 40
neighbor 2.2.2.2  soft-reconfiguration inbound 

neighbor 2.2.2.2  route-map 2_OUT out
exit-address-family

interface Vlan10
description ISP Connections
ip address 2.2.2.3 255.255.255.248 secondary
ip address 1.1.1.2 255.255.255.248

r> 0.0.0.0 1.1.1.1 50 111 i
r 2.2.2.2 40 222 i

The only way I can make this scenario work is by adding the static routes

ip route 0.0.0.0 0.0.0.0 1.1.1.1

ip route 0.0.0.0 0.0.0.0 2.2.2.2

Even when I remove the static routes both default routes I receive have rib-failure flag

Thank you in advance,

16 Replies 16

Did you leave the default static routes with an administrative distance of 220 so we can investigate further?

If so, can you show us the current "router bgp" config, the output of "show ip bgp 0.0.0.0" the and output of "show ip route 0.0.0.0".

not sure if you ever solved this, but you need to redistribute you connected and static routes into BGP.

Review Cisco Networking for a $25 gift card