NAT and routing issue

Unanswered Question
May 2nd, 2007
User Badges:

we have a CE router connecting with a PE router, and we were given a public IP, 33.33.33.33 for example. On the PE router, the servie provider just specify a IP route:"ip route 33.33.33.33 255.255.255.255 172.16.1.1" in which, 172.16.1.1 is my CE router IP address.

On the CE router, I configure NAT like that

"ip nat inside source static 192.168.1.1 33.33.33.33"

Now we like to implement BGP between CE and PE, how to make the NAT still work?

I proposed the configure on the CE, not sure whether it works or not:

"ip route 33.33.33.33 255.255.255.255 null0

router bgp 65000

neighbour 172.16.1.2 remote-as 7070

network 33.33.33.33 mask 255.255.255.255"

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
mohammedmahmoud Wed, 05/02/2007 - 00:27
User Badges:
  • Green, 3000 points or more

Hi,


It should work, according to the NAT order of operation the incoming packet will be NATed back to your inside ip, before using the null route, accordingly it should work, give it a try and feedback us.


http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080133ddd.shtml



HTH, please rate if it does help using the below scroll box,

Mohammed Mahmoud.

Actions

This Discussion