Solved

change ip for name on pix 501

Posted on 2006-07-02
9
502 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
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…

830 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