cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
476
Views
5
Helpful
4
Replies

Dynamic NAT help

mchockalingam
Level 1
Level 1

Hi All,

I am trying to configure a dynamic NAT for a subnet. The subnet I have is 10.32.28.0/21 and I would like to xlate it to x.x.98.0/23.

Do I need to use policy NAT for this?

thanks

4 Replies 4

Fernando_Meza
Level 7
Level 7

Hi .. You should be able to configure it as below

nat (inside) 1 10.32.28.0 255.255.248.0

global (outside) 1 x.x.98.0 netmask 255.255.254.0

Be aware that /21 mask on your case applies to network 10.32.24.0 ( range 10.32.24.1- 10.32.31.254)

I hope it helps .. please rate it if it does !!!

I tried entering

FWSM1(config)# nat (inside) 1 10.32.28.0 255.255.248.0

and I get this message.

WARNING: IP address <10.32.28.0> and netmask <255.255.248.0> inconsistent

So, I entered it as a

FWSM1(config)# nat (inside) 1 10.32.28.0 255.255.252.0

FWSM1(config)# nat (inside) 1 10.32.32.0 255.255.252.0

and I did not get any warning. NAT seems to be working though.

Hi .. yes that is because the 10.32.28.0 /21 falls in to the network address 10.32.24.0 / 21.

Oops! that is correct. I do not know what I was thinking. Having two /22 works better.

Thank you so much!