Solved

Change external IP address on cisco pix 501

Posted on 2009-07-12
8
754 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

756 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