Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

NAT question

Here is the secenrio.

PC1 ----------- Router --------- PC2

10.1.1.2 ----------------------- 192.168.1.2

(NAT inside) -------------- (NAT outside)

Can I configure the router such that the connection from PC1 to an inside address(e.g. 10.1.1.10) would be redirected to PC2?

To me it seems that the command 'ip nat inside destination' would work, but this command doesn't provide static mapping capability.

1 REPLY
New Member

Re: NAT question

If you want PC2 to see PC1 as an address other than 10.1.1.2 then a static translation could be used to change PC1's address. for example;

ip nat inside source static 10.1.1.2 192.168.2.2

This provides a one - to - one static translation of the inside source address.

If you want the outside PC2 to be seen as anything other than 168.1.2 on the inside interfaces, you could use outside source translation.

for example;

ip nat outside source static 168.192.1.2 10.1.2.2

OR use both if you want both addresses translated.

Hope this helps !

http://www.kccommunications.com/htdocs/NAT%20and%20PAT.htm

82
Views
0
Helpful
1
Replies