Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help on BGP issue >>

Status
Not open for further replies.

rcasta

Technical User
Joined
Aug 8, 2002
Messages
211
Location
CA
Hello:

I have this static default route I want my iBGP routers to know about, but I'm not sure why the router is not advertising it to its ibgp peers:

sh ip bgp 0.0.0.0

R5CLI#sh ip bgp 0.0.0.0
BGP routing table entry for 0.0.0.0/0, version 12
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x208
Not advertised to any peer
Local
171.17.1.1 from 0.0.0.0 (10.0.1.254)
Origin incomplete, metric 0, localpref 100, weight 32768, valid, sourced, best


My current config is:

router bgp 65535
network 10.128.0.0 mask 255.128.0.0
redistribute static route-map DEFAULTONLY
neighbor 171.16.16.2 remote-as 65535
neighbor 171.16.16.2 next-hop-self
default-information originate
default-metric 1


ip route 0.0.0.0 0.0.0.0 171.17.1.1 tag 111


kind regards,
 
What does your route-map DEFAULTONLY look like? ----------------------------------------
Wassabi Pop Tarts! Write Kellogs today!
 
Oops!!

like this:

route-map DEFAULTONLY permit 10
match tag 111

cheers,
 
Oops!!

like this:

route-map DEFAULTONLY permit 10
match tag 111

Furthermore, here is the debug ip bgp update result:

4w2d: BGP(0): sourced route for 0.0.0.0/0 path #0 changed (weight 32768)
4w2d: BGP(0): nettable_walker 0.0.0.0/0 route sourced locally

So, as you may see, it's route sourced locally, however, I'm redistributing it into bgp...

cheers,
 
i would try changing the route-map to the following

route-map DEFAULTONLY permit 10
match ip add prefix DEFAULT
set tag 111


ip prefix-list DEFAULT permit 0.0.0.0/0

The tag 111 in the route-map will set the tag on the default route. If you do not need the tag to be set throughout the network then you do not need the set tag 111 in the route-map Erik Rudnick, CCIE No. 9545
mailto:erik@kuriosity.com
 
Hello,

You see, I made the changes recommended though bgp still does not advertise this static default route....

I redistributed it into my igp routing protocol (eigrp) and did work, though I want to figure out why BGP does not want to advertise it.

(after changes made)

R5CLI#sh ip bgp 0.0.0.0
BGP routing table entry for 0.0.0.0/0, version 12
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x208
Not advertised to any peer
Local
171.17.1.1 from 0.0.0.0 (10.0.1.254)
Origin incomplete, metric 0, localpref 100, weight 32768, valid, sourced, best


cheers,

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top