cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
236
Views
4
Helpful
1
Replies

NAT and routing issue

shibindong
Level 1
Level 1

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 Reply 1

mohammedmahmoud
Level 11
Level 11

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.

Review Cisco Networking products for a $25 gift card