cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
425
Views
4
Helpful
3
Replies

Changing A PIX Firewall from DHCP Access to ISP to A Static Address

brharmon1
Level 1
Level 1

My access to my ISP just when from DHCP to Static address, it is DSL service, I try assigning a static addres to my outside interface but can not connect to the ISP, I was giving a single ip, ip add 141.xxx.xxx.64, gw 141.xxx.xxx.1, sm 255.255.255.0, what can i check to clear the problem.

3 Replies 3

a.awan
Level 4
Level 4

Have you added a default route in the PIX? With DHCP it is added automatically but for static IP Address configurations you have to configure it manually using:

route outside 0.0.0.0 0.0.0.0 141.xxx.xxx.1

Verify you can ping your default gateway. I am assuming you are doing PAT on the outside interface?

I can ping default gateway 141.152.159.1, I can ping ip add for cisco , but can not connect to www web, it will not accept my global statement, global outside 1 141.152.159.1 1., is PAT statement correct.

Config file

PIX Version 6.3(3)

interface ethernet0 auto

interface ethernet1 100full

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password xxxx

passwd xxxx

hostname atlantic-care-pix

domain-name atlcare.local

clock timezone EST -5

clock summer-time EDT recurring

fixup protocol dns maximum-length 512

fixup protocol ftp 21

fixup protocol h323 h225 1720

fixup protocol h323 ras 1718-1719

fixup protocol http 80

fixup protocol rsh 514

fixup protocol rtsp 554

fixup protocol sip 5060

fixup protocol sip udp 5060

fixup protocol skinny 2000

fixup protocol smtp 25

access-list inside_outbound_nat0_acl permit ip any 192.168.1.64 255.255.255.192

access-list outside_cryptomap_dyn_20 permit ip any 192.168.1.64 255.255.255.192

access-list outside_in permit tcp any interface outside eq 3389

access-list outside_in permit tcp any interface outside eq pcanywhere-data

access-list outside_in permit udp any interface outside eq pcanywhere-status

pager lines 24

logging on

icmp permit any inside

mtu outside 1500

mtu inside 1500

ip address outside 141.x.x.x.255.255.0

ip address inside 192.168.1.1 255.255.255.0

ip audit info action alarm

ip audit attack action alarm

ip local pool VPNpool 192.168.1.90-192.168.1.99

pdm logging errors 100

pdm history enable

arp timeout 14400

global (outside) 1 interface

nat (inside) 0 access-list inside_outbound_nat0_acl

nat (inside) 1 192.168.1.0 255.255.255.0 0 0

static (inside,outside) udp interface pcanywhere-status 192.168.1.10 pcanywhere-

status netmask 255.255.255.255 0 0

access-group outside_in in interface outside

route outside 0.0.0.0 0.0.0.0 141.152.159.1 1

timeout xlate 0:05:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00

timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00

timeout uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server RADIUS protocol radius

aaa-server LOCAL protocol local

aaa authentication http console LOCAL

aaa authentication ssh console LOCAL

http server enable

http 192.168.1.0 255.255.255.0 inside

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

sysopt connection permit-ipsec

crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac

crypto dynamic-map outside_dyn_map 20 match address outside_cryptomap_dyn_20

crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA

crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map

crypto map outside_map interface outside

isakmp enable outside

isakmp nat-traversal 20

isakmp policy 20 authentication pre-share

isakmp policy 20 encryption 3des

isakmp policy 20 hash sha

isakmp policy 20 group 2

isakmp policy 20 lifetime 86400

vpngroup ciscoVPNclient address-pool VPNpool

vpngroup ciscoVPNclient dns-server 192.168.1.10

vpngroup ciscoVPNclient default-domain atlcare.local

vpngroup ciscoVPNclient split-tunnel outside_cryptomap_dyn_20

vpngroup ciscoVPNclient pfs

vpngroup ciscoVPNclient idle-time 1800

vpngroup ciscoVPNclient password ********

telnet timeout 5

ssh 64.83.12.208 255.255.255.255 outside

ssh 192.168.1.0 255.255.255.0 inside

ssh timeout 5

management-access inside

console timeout 5

username carick password xxxx

privilege 15

terminal width 80

Cryptochecksum:xxxx

: end

When you say you can ping the default gateway, do you mean from your machine or from the pix?

I think your "global" statement is correct, you want to use your outside interface address for internet traffic, which is "PAT".

Are you getting DNS resolution? You will have to hardcode your DNS server now that you no longer use DHCP. .

Review Cisco Networking for a $25 gift card