bgp network advertisement

Unanswered Question
Sep 19th, 2007
User Badges:

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


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Richard Burts Wed, 09/19/2007 - 07:31
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

tomswenson Wed, 09/19/2007 - 07:39
User Badges:

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


Richard Burts Wed, 09/19/2007 - 08:01
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

tomswenson Wed, 09/19/2007 - 08:49
User Badges:

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


Actions

This Discussion