cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
911
Views
0
Helpful
5
Replies

Small confusion on static nat

sidcracker
Level 1
Level 1

Hello

Inside Network - 192.168.100.0

DMZ Network  - 192.168.200.0

static (inside,dmz) 192.168.100.1  access-list inside-dmz-static-nat

access-list inside_dmz_static_nat extended permit ip host 192.168.100.1 any

This actually works. But my question is

isnt the actual way of doing the same above to be

static (dmz,inside) inside_ip access-list inside_to_dmz_static_nat

access-list inside_dmz_static_nat extended permit ip 192.168.100.1 any

Thanks

1 Accepted Solution

Accepted Solutions

varrao
Level 10
Level 10

Hi Sid,

The nats:

static (inside,dmz) 192.168.100.1  access-list inside-dmz-static-nat

access-list inside_dmz_static_nat extended permit ip host 192.168.100.1 any

and

static (inside,dmz) 192.168.100.1 192.168.100.1

are equivalent.

Thanks,

Varun

Thanks,
Varun Rao

View solution in original post

5 Replies 5

varrao
Level 10
Level 10

Hi Sid,

The nats:

static (inside,dmz) 192.168.100.1  access-list inside-dmz-static-nat

access-list inside_dmz_static_nat extended permit ip host 192.168.100.1 any

and

static (inside,dmz) 192.168.100.1 192.168.100.1

are equivalent.

Thanks,

Varun

Thanks,
Varun Rao

Hello Varun,

So basically we are doing a nat exempt here. Can you confirm this?

Thanks

Yes, this is called Identity nat.. In NAT exemt, if you are going from a particualr source to a particular destination, you don't want the traffic to be natted, it should be exempted, in this if someone wants to access the server 192.168.100.1, they woudl do it on its own real ip address. Logically they are same. both the nats are a part of Identity Nat. One is called nat-exempt and the other is called self-static identity nat.

The difference comes in, the ASA would create an xlate for self-static nat, but there would not be any xlate for nat-exempt.

Hope I was able to clear out your doubts.

Thanks,

Varun

Thanks,
Varun Rao

Thanks Varun

Your Welcome

Thanks,
Varun Rao
Review Cisco Networking for a $25 gift card