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

NAT without static IP

shoebwk
Level 1
Level 1

i have done the natting for internet in the pix where there is static IP ex.

global (outside) 1 213.x.x.10 netmask 255.255.255.248

nat (inside) 1 192.168.1.0 255.255.255.0

route outside 0.0.0.0 0.0.0.0 213.x.x.9 1

Now i have a situation where there is no static IP so what will change in global (outside) 1 213.x.x.10 netmask 255.255.255.248 since i dont have 213.x.x.10 static IP. this is dial-up ISDN internet connection

thanks & regards

shoeb

1 Reply 1

scoclayton
Level 7
Level 7

Hi,

I am not 100% sure what you are asking here but it looks like you are saying that the outside IP address of the PIX is being dynamically allocated. Starting in PIX 6.0, you can configure the outside IP address to be a DHCP interface. You can then use the keyword 'interface' in your global statement. This will allow the PIX to use the outside interface address as the PAT address. The config will look something like this:

ip address outside dhcp setroute

global (outside) 1 interface

nat (inside) 1 192.168.1.0 255.255.255.0

Hope this helps.

Scott