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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

nat 0 Problem

I give two nat 0 commands in a pix.

nat(inside) 0 access-list inside_nat(name of the access-list)

nat(inside) 0 access-list 100 (access-list no)

when i give `show nat` command ,it shows only one nat 0 statement.This means pix is not takeing two nat 0 commands .It replaces one with the other.

Could any body help me out as to how configure two `nat 0 <access_list>` commands in a pix.

Thanks and regards for the fast responce.

3 REPLIES
New Member

Re: nat 0 Problem

Hi,

This is normal, you cannot add two nat statement with the same ID.

To bypass this, you have to merge your two access-list into only one. And then reference it in the NAT 0 statement.

Be carefull that the access list are not used for other purpose into your config.

Marc.

New Member

Re: nat 0 Problem

If you do need to keep 2 separate access-lists, then use 2 different NAT ID's, like:

nat(inside) 0............

nat(inside) 1...............

Just make sure you match up your global statement accordingly

New Member

Re: nat 0 Problem

Yes, this is a way to create two different NAT entries.

But, the purpose of the NAT 0 is to allow address to be not translated.

This is not the purpose of the NAT 1 (or other).

Marc.

87
Views
0
Helpful
3
Replies