Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Tunnel + Static NAT problem

Hi:

I've configured a Pix501 to establish a site-to-site tunnel with a 1710 in the central site and it works fine, except for one little problem. The central site hosts a Domino server which needs to have an static nat entry to allow servers in the internet to deliver mail to it. So, the problem is that although I created a route-map to avoid nat in site-to-site traffic, the static entry seems to takes precedence over the route-map and the mail server is always nated. So the SOHO can't access him. What can I do to solve this?

I need to use an entry like this:

ip nat inside static source tcp 172.16.34.22 1352 200.212.0.66 1352

Any help?

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Re: Tunnel + Static NAT problem

you need to do the following:

1) create a loopback interface with some ip subnet that you are not using anywhere in your network. Let;s say 10.10.10.0/30 :

int loop 0

ip address 10.10.10.1 255.255.255.252

2) create a route-map to match the traffic originated by the 172.16.34.22 server and destined to the other side of the tunnel

access-list 101 permit ip host 172.16.34.22 192.168.0.0 255.255.255.0

route-map static permit 10

match ip address 101

set ip next-hop 10.10.10.2 ( some address towards the loopback interface )

3) apply the route-map to the inside inteface of the router where you have the server

inter e0/0

ip policy route-map static

That's it

Hope that helps

Jazib

3 REPLIES
Bronze

Re: Tunnel + Static NAT problem

you need to do the following:

1) create a loopback interface with some ip subnet that you are not using anywhere in your network. Let;s say 10.10.10.0/30 :

int loop 0

ip address 10.10.10.1 255.255.255.252

2) create a route-map to match the traffic originated by the 172.16.34.22 server and destined to the other side of the tunnel

access-list 101 permit ip host 172.16.34.22 192.168.0.0 255.255.255.0

route-map static permit 10

match ip address 101

set ip next-hop 10.10.10.2 ( some address towards the loopback interface )

3) apply the route-map to the inside inteface of the router where you have the server

inter e0/0

ip policy route-map static

That's it

Hope that helps

Jazib

New Member

Re: Tunnel + Static NAT problem

Thanks a lot, your answer was very helpfull. By the way, is there a page that shows a state machine of router processes? It will be really helpfull to know in wich order the router performs routing and nat steps.

Regards,

Bronze

Re: Tunnel + Static NAT problem

83
Views
0
Helpful
3
Replies
CreatePlease to create content