cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10556
Views
0
Helpful
3
Replies

how to do NAT exemption on cisco router

yong khang NG
Level 5
Level 5

Hi forumers'

It's obvious to know how ASA doing NAT 0, how to do the conditional NAT in order the router not translating the IP address.

thank you

Noel

3 Replies 3

parviz_nasirov
Level 1
Level 1

Hi,

The better way to exlude some traffic from nat just create acl with sourse and destionatin and specify that acl in nat 0 command.

Hello Noel,

Create acl with the source and destination ipu do not want to translate and deny that in acl and permit any  other traffic which u want to get translated..create your nat using that ACL.. u r done..

eg: access-list natacl deny ip 192.168.1.0 0.0.0.255 any

     access-list natacl permit ip  192.168.2.0 0.0.0.255 any

ip nat inside list natacl

So whatever traffic getting generated from 192.168.1.0 will not get natted but 192.168.2.0 does.

hope it helps

Harish.

Hi,

I was also told you could use route-maps. Which way would you recommand?