cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
563
Views
20
Helpful
3
Replies

8.2 NAT to 9.x NAT

johnlloyd_13
Level 9
Level 9

hi all,

i'm upgrading a 5510 8.2 ASA to 5525-X 9.2 ASA.

can someone confirm my NAT config correct?

 

global (outside) 2 203.199.3.6

 

nat (inside) 2 172.27.169.0 255.255.255.0

 

object network PAT1
 subnet 172.27.169.0 255.255.255.0
 nat (inside,outside) dynamic 203.199.3.6

 

also, is the keyword 'dns' necessary at the end of NAT statements? especially for my static NAT.

i don't know if my downstream customer are using it for web server (FQDN/A record) and if if they need a DNS re-write. this

just want to put just to be sure if they run it or not.

1 Accepted Solution

Accepted Solutions

Rishabh Seth
Level 7
Level 7

Hi John,

 

The configuration is correct for dynamic PAT. As far as the dns keyword is concerned, it is not mandatory, but in case you have it in your old config then you can continue to use it your new configuration as well.

Hope it helps!!

Thanks,
R.Seth

View solution in original post

3 Replies 3

Rishabh Seth
Level 7
Level 7

Hi John,

 

The configuration is correct for dynamic PAT. As far as the dns keyword is concerned, it is not mandatory, but in case you have it in your old config then you can continue to use it your new configuration as well.

Hope it helps!!

Thanks,
R.Seth

hi,

thanks! one last thing, i want to do some clean up on the subnets that aren't used anymore.

i know that 172.27.119.0/24 is no longer active but i can still see this subnet on the show nat output (upper half in red vs below in blue).

how can i be really sure that it's no longer being used for NAT?

 

 match ip inside 172.27.119.0 255.255.255.0 outside any
    dynamic translation to pool 1 (203.199.30.134 [Interface PAT])
    translate_hits = 3175737, untranslate_hits = 422846
 

match ip inside 172.27.119.0 255.255.255.0 inside any
    dynamic translation to pool 1 (No matching global)
    translate_hits = 0, untranslate_hits = 0

Hi John,

 

The output you have attached can be  a cumulative value.

If show nat output shows increment in the translate and untranslate count then there has to be users present in your network in the subnet.

Regarding your PAT rule:

If the IP 203.199.3.6 is configured on interface then use the keyword interface instead of IP:

your nat would look like:

 

object network PAT1
 subnet 172.27.169.0 255.255.255.0
 nat (inside,outside) dynamic interface

 

interface = 203.199.3.6

 

Thanks,

R.Seth

Review Cisco Networking for a $25 gift card