Solved

Change external IP address on cisco pix 501

Posted on 2009-07-12
8
751 Views
Last Modified: 2012-08-13
I think this should be fairly straighforward, but I'm not that familiar with the Cisco command line interface.  We're moving offices and have been assigned new ip addresses from our ISP.  I need to know the specific commands to configure the PIX to use the new external IP address (and subnet mask, dns, gateway).  

Also, we host a mail server and have several other ports forwarding, do I need to do anything else besides change the external interface IP?
0
Comment
Question by:mjordan22
  • 4
  • 3
8 Comments
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 24835660
for example:

change the outside address:
ip address outside 192.168.1.1 255.255.255.0

and after:
claer old route
no ip route 0.0.0.0 0.0.0.0 if_address
type new route
ip route 0.0.0.0 0.0.0.0 if_address

write mem
reload


could you show your config?
0
 

Author Comment

by:mjordan22
ID: 24835761
Unfortunately I don't have access to the existing config right now. The hardware is on it's way to the new location. I get what you've posted, but what about the new gateway and DNS servers. Don't those need to be changed too?  Thanks!
0
 
LVL 34

Accepted Solution

by:
Istvan Kalmar earned 250 total points
ID: 24835821
Hi,

gateway:
and after:
claer old route
no ip route 0.0.0.0 0.0.0.0 if_address
type new route
ip route 0.0.0.0 0.0.0.0 if_address

 dns:
dhcpd dns x.x.x.x  interface inside
0
 

Author Comment

by:mjordan22
ID: 24835848
Ok got it, but so that I'm
totally clear in this,  let's say this is the new config info;
ip: 1.2.3.4
sub: 255.255.255.0
gw: 1.2.3.1
DNS: 4.2.2.1 and 4.2.2.2

what would the commands look like?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 7

Assisted Solution

by:Boilermaker85
Boilermaker85 earned 250 total points
ID: 24839362

I would do a show run before you start to make sure you have the interface names and route info correct. Normally you might name your outside interface "outside" using this statement:
:
PIX Version 6.3(5)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
...
So you first go into config mode
conf t

Enter the interface ip change
ip address outside 1.2.3.4 255.255.255.0  
no route 0.0.0.0 0.0.0.0 old_GW_IP
route 0.0.0.0 0.0.0.0 1.2.3.1
Assuming you are using the Pix for dhcp on the inside and passing clients the DNS info, you would add this:
dhcpd dns 4.2.2.1 4.2.2.2
 
0
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 24840026
sorry my config is a router config...
0
 

Author Comment

by:mjordan22
ID: 24842666
Thanks for the help, I'm going to try this this afternoon and I'll let you know if I run into any problems.
0
 

Author Closing Comment

by:mjordan22
ID: 31602619
The solution to my problem was a little more intricate than just changing the IP address, but I'm going to split the points for both people who responded.  Thanks for the help!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Root STP in Cisco switch maintenance 2 46
Cisco Switch 3560 - Vlans, Access-lists and Routing 3 53
Cisco Any Connect Client 5 36
No RSTP between switches 3 45
If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
Have you experienced traffic destined through a Cisco ASA firewall disappears and you do not know if the traffic stops in the firewall or somewhere else? The solution is the capture feature. This feature was released in 6.2(1) and works in all firew…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now