cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
222
Views
5
Helpful
1
Replies

nat overlap solution

sivakondalarao
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

pkhatri
Level 11
Level 11

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

View solution in original post

1 Reply 1

pkhatri
Level 11
Level 11

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