cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
201
Views
0
Helpful
1
Replies

NAT question

y.lo
Level 1
Level 1

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 1

keith.campbell
Level 1
Level 1

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

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: