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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Static NAT an entire Class C

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
Silver

Re: Static NAT an entire Class C

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

Thanks

New Member

Re: Static NAT an entire Class C

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

New Member

Re: Static NAT an entire Class C

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

New Member

Re: Static NAT an entire Class C

you can also try

ip nat source static network 192.168.1.0 192.168.100.0 255.255.255.0

command

348
Views
8
Helpful
4
Replies
CreatePlease login to create content