×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

nat overlap solution

Answered Question
Apr 2nd, 2006
User Badges:

is there any facility to configure NAT like this.

two networks having 192.168.1.0/24 address.

I want to translate like this.

192.168.1.0/24 to 192.168.2.0/24

that means 192.168.1.1 becomes 192.168.2.1

and 192.168.1.2 becomes 192.168.2.2 and so on consecutively................

is there any such one-to-one NAT for ranges mapping facility?


Regards

skrao

Correct Answer by pkhatri about 11 years 4 months ago

Yes, there is such a facility and it's called static network translation. You would configure it as such:


ip nat inside source static network 192.168.1.0 192.168.2.0 /24


With the above config, 192.168.1.1 becomes 192.168.2.1, 192.168.1.2 becomes 192.168.2.2 and so on....


Pls do remember to rate posts.


Paresh


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
pkhatri Sun, 04/02/2006 - 03:29
User Badges:
  • Purple, 4500 points or more

Yes, there is such a facility and it's called static network translation. You would configure it as such:


ip nat inside source static network 192.168.1.0 192.168.2.0 /24


With the above config, 192.168.1.1 becomes 192.168.2.1, 192.168.1.2 becomes 192.168.2.2 and so on....


Pls do remember to rate posts.


Paresh


Actions

This Discussion