Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

bgp network advertisement

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
Hall of Fame Super Silver

Re: bgp network advertisement

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

New Member

Re: bgp network advertisement

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

Hall of Fame Super Silver

Re: bgp network advertisement

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

New Member

Re: bgp network advertisement

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

303
Views
0
Helpful
4
Replies
CreatePlease to create content