11-27-2015 06:26 AM - edited 03-05-2019 02:49 AM
I'm looking to configure a NAT router
server-------NAT Rt-------client
I need the client to think it talking to the NATRt cleint side.
And I need the server to to think the access requests are coming from the NATRt.
Effectivily each are unaware of the other subnet?
Any ideas? Any help appricaiated.
11-27-2015 07:27 AM
Hello,
Suppose router fa0/0(LAN) is connected to server and fa0/1(WAN) is conncted to client.
You need to do 2 NATs. Destination NAT and Source NAT.
int fa0/0
ip nat inside
int fa0/1
ip nat outside
****
Destination NAT. Client makes a request to WAN IP set on router. Client does not know the server IP
ip nat inside source static [server ip] [Wan IP on router]
***************************************
Outside Source NAT. Router changes the source of the client, so server sees the router IP instead of client IP
access-list 50 permit host [client ip]
Ip nat pool Router-IP [internal router ip for nat] [internal router ip for nat] netmask 255.x.x.x
ip nat outside source list 50 pool [Router-IP] add-route
*************************
The first NAT is easy. Please take a look at link below for the second NAT
http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/13770-1.html
Hope it helps
Masoud
12-02-2015 12:56 PM
Thanks for the reply at shall give that a go shortly and get back to you.
Thanks again.
12-02-2015 02:01 PM
You are welcome. Please give me your feedback after configuration.
Masoud
11-27-2015 09:19 AM
Hello ,
To add on Masoud comments , With static NAT configuration in routers you achive below
ip nat outside source static :- Translates the source of the IP packets that travel outside to inside and Translates the destination of the IP packets that travel inside to outside.
ip nat inside source static :-Translates the source of IP packets that travel inside to outside and Translates the destination of the IP packets that travel outside to inside.
Hope it Helps..
-GI
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: