06-16-2009 08:55 AM - edited 03-06-2019 06:17 AM
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
Solved! Go to Solution.
06-16-2009 09:21 AM
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
06-16-2009 09:21 AM
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
06-16-2009 09:22 AM
Thanks Giuseppe!
John
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide