Restrict NAT announce into BGP

Answered Question
Sep 27th, 2010
User Badges:

Hi


I've got a problem to find a solution in resctricting NAT announce into BGP.


Here is my schema  : Client router - Operator router (PE) - My edge router (CE) - other routers behind the CE


I'm doing a NAT on my CE.  ip nat inside source static 10.10.32.0 192.168.0.0


10.10.32.0 is my local network that is announced to my CE in BGP.

192.168.0.0 is the NATted network in my CE ( for PE side).


I'm doing BGP with my PE. That is why i've : ip route 192.168.0.0 Null0  and a redistribution of my static route into BGP


Do to some specific architecture  that i will not explain I'm trying to get dynamic announce from CE to the PE of the NAT network.

I mean if my CE don't receive 10.10.32.0 I don't want to announce to my PE 192.168.0.0


Can someone explain to me the way to do it if there is one.

Correct Answer by Giuseppe Larosa about 6 years 8 months ago

Hello La fouine007,


>> I'm trying to get dynamic announce from CE to the PE of the NAT network.

I mean if my CE don't receive 10.10.32.0 I don't want to announce to my PE 192.168.0.0


BGP condiitional advertising can be the right tool to achieve this


see

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080094309.shtml


Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Giuseppe Larosa Mon, 09/27/2010 - 06:37
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello La fouine007,


>> I'm trying to get dynamic announce from CE to the PE of the NAT network.

I mean if my CE don't receive 10.10.32.0 I don't want to announce to my PE 192.168.0.0


BGP condiitional advertising can be the right tool to achieve this


see

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080094309.shtml


Hope to help

Giuseppe

Actions

This Discussion