cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
762
Views
0
Helpful
4
Replies

Reg: Nat using Statics

kuldeep.kaur
Level 1
Level 1

Hi Guys,

I would like to nat using the static command and I would like to nat 10.180.1.0/24. Will the command syntax will be look like this

static (inside,testdmz) 10.180.1.0 10.180.1.0 netmask 255.255.255.0

Is the above correct ?

Tks

1 Accepted Solution

Accepted Solutions

Kuldeep,

Is actually the netmask which tells you if you are translating one host or an entire network:

static (inside,test_DMZ) 192.168.1.0 192.168.1.0 mask 255.255.255.0.

That would translate the subnet

static (inside,test_DMZ) 192.168.1.10 192.168.1.10 mask 255.255.255.255

That would self translate just the host .10, look at the mask.

Also, something to take in consideration, you will need to take the one that covers the subnet if you already added it, so the single self translation ones take effect.

Hope this helps.

Mike

Mike

View solution in original post