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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco PIX 501 WAN IP Changing!

Status
Not open for further replies.

lefty78

IS-IT--Management
May 29, 2002
111
0
0
US
Ok, I am not well versed with Cisco technology. About three years ago I managed to get a PIX 501 up and running on my LAN. We are now changing ISPs and will have a new WAN side IP address as a result. I will be under a scrutinizing time constraint when this change happens (tmorrow morning) and would like help in determining the best way to make this a smooth transition.

I have my running configuration below;

Building configuration...
: Saved
:
PIX Version 6.3(1)
interface ethernet0 10baset
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxxxxxxxxxx encrypted
passwd xxxxxxxxxxxxxx encrypted
hostname pixfirewall
domain-name ciscopix.com
clock timezone EST -5
clock summer-time EDT recurring
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
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
fixup protocol sqlnet 1521
names
access-list acl_out permit icmp any any
access-list acl_out permit tcp any interface outside eq ftp
access-list acl_out permit tcp any interface outside eq ftp-data
access-list 101 permit ip 192.168.1.0 255.255.255.0 192.168.2.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 209.113.239.234 255.255.255.248
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool ippool 192.168.2.1-192.168.2.254
pdm location 192.168.1.2 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface ftp 192.168.1.2 ftp netmask 255.255.255.255 0 0
static (inside,outside) tcp interface ftp-data 192.168.1.2 ftp-data netmask 255.255.255.255 0 0
access-group acl_out in interface outside
route outside 0.0.0.0 0.0.0.0 209.113.239.233 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
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
tftp-server inside 192.168.1.5 tftp://192.168.1.5
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto dynamic-map dynmap 10 set transform-set myset
crypto map mymap 10 ipsec-isakmp dynamic dynmap
crypto map mymap interface outside
isakmp enable outside
isakmp identity address
isakmp nat-traversal 20
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup ElecUserz idle-time 1800
vpngroup ElecUserz password ********
vpngroup vpn3000 address-pool ippool
vpngroup vpn3000 dns-server 192.168.1.2
vpngroup vpn3000 wins-server 192.168.1.2
vpngroup vpn3000 default-domain info.electrified.com
vpngroup vpn3000 idle-time 1800
vpngroup vpn3000 password ********
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.1.7-192.168.1.50 inside
dhcpd dns 204.17.65.2 216.41.101.15
dhcpd lease 3600
dhcpd ping_timeout 750
terminal width 80
Cryptochecksum:xxxxxxxxxxxxxxxxx
: end
[OK]

 
Opps, I forgot.....

My current plan is to use the start up wizard, will this cover all the needed changes?
 
I'm not sure about the startup wizard, I'd guess that it might walk you through changing the required settings.

A simpler method would be to use a command line, not much needs to change. I believe that all you need to do is enter these commands, thus changing to your new IP:

ip address outside x.x.x.x 255.255.255.x (where x.x.x.x is one of your new IPs, and entering the correct netmask)
route outside 0.0.0.0 0.0.0.0 x.x.x.x 1 (where x.x.x.x is the gateway/router address assigned by your ISP)
dhcpd dns x.x.x.1 x.x.x.2 (where x.x.x.1 and .2 are your ISPs DNS servers)

 
Don't got much more to add here myself, other than to advise you to do this after hours.
And maybe take the downtime opertunity to upgrade the image to 6.3(5) if you feel you're up to it :)

Good luck!


A firm beleiver of "Keep it Simple" philosophy
Cheers
/T
 
i just went thru this last week if you have access to PDM just do it thru that

i did this:

changed the external ip in system properties/interface/outside

change the route in system properties static route

i also had to change the translation rules and system properties static routes

after your done just reboot it

 
I have a much quicker way:
Cut'n'paste

Start notepad, insert all the lines you need to enter and paste them all into the pix in one swoop. Voilà.. Can't get much easier than that :)

Never liked the PDM...

A firm beleiver of "Keep it Simple" philosophy
Cheers
/T
 
So, in theory, I can take my running config, save it all to notepad, then edit the lines I need to edit, save notepad and then paste the changed config to the PIX?
 
Yup.
But to be sure you don't alter any config by accident, just copy, edit and paste the lines you do want to change.

Eg. the 3 lines specified earlier :)

A firm beleiver of "Keep it Simple" philosophy
Cheers
/T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top