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

NAT's problem

Hi,

I apoligize for my bad english!!

I must do a complex VPN between two pix where I must use NAT. However I have a problem with the NAT. In fact I want to relocate my subnet "10.0.1.0/24" towards a virtual network "20.0.1.0/24" . I will do it with this commands :

Global (outside) 20 20.0.1.0

Nat (inside) 20 access-list 120

with access-list 102 permit ip 10.0.1.0 255.255.255.0 20.0.1.0 255.255.255.0

But the pix don't want this commands because with an access-list, it accept only nat 0

I like to know how I can circumvent this problem

Thank you in advance,

Paul Martiny

3 REPLIES
Community Member

Re: NAT's problem

If you use ¨Global (outside) 20 20.0.1.0¨, it´s not NAT, It´s PAT, instead you can use,

Global (inside) 20 20.0.1.0 255.x.x.x , Then,

Have you tried....

nat (inside) 20 10.x.x.x 255.x.x.x ???

Hope that helps u.

Community Member

Re: NAT's problem

thank you for your advice, but i have already try this, but it doesn't run again.

Thank you anyway

Paul Martiny

Community Member

Re: NAT's problem

If you want a one-for-one mapping, why not just use a static:

static (inside,outside) 20.0.1.0 10.0.1.0 netmask 255.255.255.0

418
Views
0
Helpful
3
Replies
CreatePlease to create content