cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
241
Views
0
Helpful
2
Replies

Network to Network NAT with static host part

richi3161
Level 1
Level 1

Hi,

 

is there are solution for following NAT task?

 

Router A - LAN network is 10/8 (network A)

Router B - LAN network is 10/8 (network B)

- but when the host 10.1.1.1 from network A goes to network B via WAN it will be translated to 1.1.1.1

- the host 10.1.1.1 connects to destination 2.2.2.2, which is translated on Router B to 10.2.2.2

This should function vica versa.

 

Ideas of a cisco NAT solution?

 

with regards, richard

 

2 Replies 2

Sure, the solution is named Twice NAT (Double NAT). This solution are offten used to connect networks with overlapping sublets. Look on http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/13774-3.html

http://www.cisco.com/c/en/us/td/docs/security/asa/asa83/configuration/guide/config/nat_rules.html

You need to translate both source and destination addresses on both routers. So from router A to router B on router A source IP will be changed from 10.1.1.1 to 1.1.1.1 and destination IP will be changed from 10.2.2.2 to 2.2.2.2. On router B source IP will be chaged from 1.1.1.1 to 10.1.1.1 and destination IP will be changed from 2.2.2.2 to 10.2.2.2.

For reverse traffic will be vice versa.

The statement looks like this:

"ip nat inside source static network 10.0.0.0 1.0.0.0 /8"

(on one side - other side similar)

Thats all!

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: