Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Verification on what I'm seeing with nat

All,

I have to nat a complete subnet to something on my network. Currently, the company that we've acquired is on the 192.168.1.0/24 subnet, and we have devices on that subnet. I'll need to nat them to something else.

What I've noticed is that if I do the whole network like:

ip nat inside source static network 192.168.1.0 10.5.5.0 /24

It seems to allow the host to correspond with the translated host one-for-one.

In other words, if I ping 10.5.5.15 and I have a host that's address 192.168.1.15, I'll get a response. If I ping 10.5.5.25, but I don't have a host on 192.168.1.25, I'll get a timeout. Does this seem right? This is what I want because I'll need to translate the complete network and won't know what addresses are where until we do the complete transition.

Thanks!

John

HTH, John *** Please rate all useful posts ***
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: Verification on what I'm seeing with nat

Hello John,

your understanding is correct this is network static nat

having the local subnet and the global subnet the same prefix length there is a one to one relationship.

This can be very handy.

see

http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_nat.html#wp1011696

Hope to help

Giuseppe

2 REPLIES
Hall of Fame Super Silver

Re: Verification on what I'm seeing with nat

Hello John,

your understanding is correct this is network static nat

having the local subnet and the global subnet the same prefix length there is a one to one relationship.

This can be very handy.

see

http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_nat.html#wp1011696

Hope to help

Giuseppe

Re: Verification on what I'm seeing with nat

Thanks Giuseppe!

John

HTH, John *** Please rate all useful posts ***
105
Views
0
Helpful
2
Replies
CreatePlease to create content