09-19-2007 06:52 AM - edited 03-03-2019 06:49 PM
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
09-19-2007 07:31 AM
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
09-19-2007 07:39 AM
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
09-19-2007 08:01 AM
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
09-19-2007 08:49 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide