07-22-2015 07:19 AM - edited 03-08-2019 01:04 AM
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
07-22-2015 11:19 AM
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.
07-23-2015 11:58 PM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide