cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
734
Views
8
Helpful
4
Replies

Static NAT an entire Class C

dennylester
Level 1
Level 1

We purchased a company that happens to have the same addressing as another one of our sites. Rather than renumbering one of the locations, we want to setup NAT translations on their router.

Can I static NAT their entire Class to to another one with one command, or do I need to enter a bunch of individual static nat commands?

I hope that makes sense.

Denny

4 Replies 4

rais
Level 7
Level 7

The ip nat command has a pool option and would translate the whole subnet to new addresses.

Thanks

Hello,

I am familiar with the pool but it was my impression the pool was random. I would like an exact one for one with the last octet being the same.

For example

192.168.1.1 ==> 192.168.100.1

192.168.1.2 ==> 192.168.100.2

etc

etc

Does this pool follow this order, or would it be possible for

192.168.1.23 ==> 192.168.100.1

Denny

denny you will have some keyword like "match-host" that will solve your issue.

for more information:http://www.cisco.com/en/US/products/ps6350/products_command_reference_chapter09186a00804461e8.html#wp1178676

regards

Devang

you can also try

ip nat source static network 192.168.1.0 192.168.100.0 255.255.255.0

command

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: