cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
556
Views
0
Helpful
4
Replies

bgp network advertisement

tomswenson
Level 1
Level 1

I currently have the following in my router bgp section:

network 12.152.204.0 mask 255.255.254.0

I want to to change this so that it reads:

network 12.152.204.0 mask 255.255.255.0

network 12.152.205.0 mask 255.255.255.0

I also changed the routes from:

ip route 12.152.204.0 255.255.254.0 Null0

to this:

ip route 12.152.205.0 255.255.255.0 Null0

ip route 12.152.204.0 255.255.255.0 Null0

When I do this, my routes are not propogated for some reason. I want to put prepends on just one class c, but when I do with the first subnet, it prepends both class c's.

Tom

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

Tom

Perhaps I am bit confused. In describing your issue you first say that the routes are not propagated. Then you say that it prepends both class Cs. How can it prepend if the routes are not propagated? Can you help me understand better what is going on?

HTH

Rick

HTH

Rick

If I use the first network command with the 255.255.254.0 netmask, it propagates. When I split up the subnet into to class c networks, it doesn't propagate. I either want to not advertise out one class c at all or to be able to prepend just one class c, but so far, I can't do it.

Tom

Tom

If you configure these statements:

no network 12.152.204.0 mask 255.255.254.0

no ip route 12.152.204.0 255.255.254.0 Null0

ip route 12.152.205.0 255.255.255.0 Null0

ip route 12.152.204.0 255.255.255.0 Null0

network 12.152.204.0 mask 255.255.255.0

network 12.152.205.0 mask 255.255.255.0

it should work.

You might want to clear your BGP neighbor relationships just to be sure.

HTH

Rick

HTH

Rick

That is the thing, these are the changes I made and then it wouldn't propagate out my routes. I did clear my bgp with a soft out. If I test from Abovenet looking glass, it changes, but there is not route to my AS when I break this down by class c.

Tom

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card