cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
66
Views
4
Helpful
4
Replies
Beginner

NAT both networks

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.

4 REPLIES 4
Collaborator

Hello,

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

Beginner

Thanks for the reply at shall

Thanks for the reply at shall give that a go shortly and get back to you.

 

Thanks again.

Collaborator

You are welcome. Please give

You are welcome. Please give me your feedback after configuration.

Masoud

Hello ,

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

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards