Static NAT an entire Class C

Unanswered Question
Mar 8th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
rais Thu, 03/08/2007 - 11:06

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

Thanks

dennylester Thu, 03/08/2007 - 11:30

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

srdjan.bosnjak Fri, 03/09/2007 - 05:09

you can also try

ip nat source static network 192.168.1.0 192.168.100.0 255.255.255.0

command

Actions

This Discussion