cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
254
Views
0
Helpful
2
Replies

Verification on what I'm seeing with nat

John Blakley
VIP Alumni
VIP Alumni

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

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Thanks Giuseppe!

John

HTH, John *** Please rate all useful posts ***
Review Cisco Networking products for a $25 gift card