cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
231
Views
0
Helpful
1
Replies

NAT help

jigsaw2026
Level 1
Level 1

Hi,

I really don't know much about NAT and I have a problem.....

I need to translate my local subnet 172.22.0.0/16 to 172.25.0.0/16 when going across one VPN tunnel, I therefore also need to translate incoming traffic back from 172.25.0.0/16 to 172.22.0.0/16. As some of these hosts are servers, I need them to keep their same last octect addresses when translated.

I've attached my config. I'd like to know whether this will do the job...it makes logical sense to me but looking at examples I'm not sure whether I have the pools right.

So, just to clarify,

172.22.0.0 - my local network

172.25.0.0 - the network that I want to translate to

10.2.0.0 - the only network that I want this translation to apply to.

Any help would be much appreciated!

Thank you,

J

1 Reply 1

jigsaw2026
Level 1
Level 1

Actually, on second thoughts, I think I can get away with the following:

ip nat inside source static network 172.22.0.0 172.25.0.0 /16 route-map CHOW

route-map CHOW

match ip address 115

access-list 115 permit ip 172.22.0.0 0.0.255.255 10.2.0.0 0.0.255.255

ip nat outside source static network 172.25.0.0 172.22.0.0 /16

Any thoughts appreciated!!!

J