Solved

change ip for name on pix 501

Posted on 2006-07-02
9
482 Views
Last Modified: 2010-04-09
Hi,  I have a pix 501 and the config has a "name" entry that is configured for a public IP address.  We have moved and thus the IP for this name needs to be changed to the new public ip.  The name is used throughout the config and when I use "no name" it changes all of those configs to the old ip so I would have to go through and modify all of the references.  What I need is to change the name to the new IP number.  Can this be done?  What is the command?
0
Comment
Question by:mstefani
  • 3
  • 2
9 Comments
 
LVL 32

Expert Comment

by:rsivanandan
ID: 17028669
Copy the entire config to a notepad and change it there. Then paste it back.

Just curious; when you do this;

no name xxx x.x.x.x
name y.y.y.y

Doesn't the change get reflected ? I mean after you enter the new name ip combination?

Cheers,
Rajesh
0
 

Author Comment

by:mstefani
ID: 17028942
thanks Rajesh, I will try it.  In answer to your questions, it does not get reflected after the change.  When I do "no name" it converts all of the places that had the name to the old IP address.  when I put the name back in with the new ip address, it does not know where the name used to be, so the IP number sticks in the config.

Mike
0
 
LVL 32

Expert Comment

by:rsivanandan
ID: 17028991
Ok, if you first do this;

name xxx y.y.y.y

What happens ?

I mean, don't remove the old entry, just add another one, does it give any error ? I just have to have you try this since I don't have a pix to try out myself now.

Cheers,
Rajesh
0
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.

 

Author Comment

by:mstefani
ID: 17034785
Hi,  I get an error that the name already exists.  I just retyped all of the entries and made it work.  If you think of something, please let me know.  It might be handy to have for the future.

thanks,

MIke
0
 
LVL 32

Accepted Solution

by:
rsivanandan earned 125 total points
ID: 17034978
Mike,

  As I said in the first post, the easiest for these type (Like add an entry in between an access-list chain, changing names etc), it would be easy to take the config in a notepad and make changes there, then paste it back.

  In the past, whether it is a router/pix, I have always been using this method. Just a 'Find' & 'Replace' combination of text editor does it in a single click :-)

Cheers,
Rajesh
0
 
LVL 1

Assisted Solution

by:Jaedub
Jaedub earned 125 total points
ID: 17039533
The "name" command is just a reference command.

If you need to make a change to an access-list, you need to change the actual IP address in the access list, not rename the reference.

So:

no names
sho access-list
! Identify the line that you want to change
no access-list (access-list name or number)
! Insert new/changed access-list entry
access-list (name or number) ..............
clear xlate
name new-name  a.b.c.d
write mem

You are going to "cut" all connections through the firewall when you make this modification.  FYI.  Clients will have to reconnect.
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

Overview The Cisco PIX 501, PIX 506e, ASA 5505 and ASA 5510 (most if not all of this information will be relevant to the PIX 515e but I do not have a working configuration handy to verify the validity) are primarily used within small to medium busi…
Do you have a windows based Checkpoint SmartCenter for centralized Checkpoint management?  Have you ever backed up the firewall policy residing on the SmartCenter?  If you have then you know the hassles of connecting to the server, doing an upgrade_…
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…

911 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

17 Experts available now in Live!

Get 1:1 Help Now