Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NAT Question?

Status
Not open for further replies.

JohnPtrs

MIS
Jun 13, 2006
91
US
Is it possible to have a NAT statement to have a Public IP coming in to translate to a particular Internal IP and to have that Internal IP translate to a different Public IP on its way back out?? Thanks in advance...

-JP
 
You could PAT it inbound and pat oubound, but you cant nat both ways
 
Hmmm... I haven't tried that before, I'll have to lookup the syntax for that but it sounds like maybe that will work... thanks for the suggestion...
-JP
 
I trust you know how to configure normal nat and pat. This is the command for static pat

ip nat inside source static tcp private 80 public 80 extendable
 
PAT is simply NAT that uses port numbers along with the IP address, different every time, but the IP address will still translate the same way. The way NAT works, there is an inside local, inside global, outside local and outside global, so in essence, what you want it to do is kind of already happening.

Burt
 
So then just use another statement like that for the other direction?? Thanks!
 
ip nat inside source list 1 pat_address overload

!
access-list 1 permit 192.168.100.0 0.0.255.255
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top