I am confused on how to configure port address translation. The example in the Cisco book pg 90(6-3) shows the following lines...
ip address (inside) 10.0.0.1 255.255.255.0
ip address (outside) 192.168.0.2 255.255.255.0
route (outside) 0.0.0.0 0.0.0.0 192.168.0.1
global (outside) 1 192.168.0.15 netmask 255.255.255.0
nat (inside) 1 10.0.0.0 255.0.0.0
Given that PAT translates ALL inside addresses to a single outside, then why is the global statement pointing to 192.168.0.15 and not 192.168.0.2 (outside PIX address)?
In my case with a PIX 501, I have the public address directly on the outside interface of the firewall. This outside interface is attached to a DSL modem across frame relay to the ISP.
Can someone untangle my confusion over PAT?
ip address (inside) 10.0.0.1 255.255.255.0
ip address (outside) 192.168.0.2 255.255.255.0
route (outside) 0.0.0.0 0.0.0.0 192.168.0.1
global (outside) 1 192.168.0.15 netmask 255.255.255.0
nat (inside) 1 10.0.0.0 255.0.0.0
Given that PAT translates ALL inside addresses to a single outside, then why is the global statement pointing to 192.168.0.15 and not 192.168.0.2 (outside PIX address)?
In my case with a PIX 501, I have the public address directly on the outside interface of the firewall. This outside interface is attached to a DSL modem across frame relay to the ISP.
Can someone untangle my confusion over PAT?