Red Hat Topics - Changing server IP address

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > September 2004 > Changing server IP address





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Changing server IP address
somebody

2004-09-15, 11:10 am

What's the best way to change the IP address of a RedHat
Linux server? I have to change the IP addresses of
numerous RH boxes. I recall there were numerous files
beneath /etc/sysconfig/networking which had to be
changed. These are RH 6 through RH 9 boxes.


-Thanks
Paul Lutus

2004-09-15, 11:10 am

somebody wrote:

> What's the best way to change the IP address of a RedHat
> Linux server? I have to change the IP addresses of
> numerous RH boxes. I recall there were numerous files
> beneath /etc/sysconfig/networking which had to be
> changed. These are RH 6 through RH 9 boxes.


1. Get the server's current address.

2. Do this:

$ grep -RIls (address) /etc

This should list all the configuration files that contain the current server
address. You then should be able to figure out which of those files
actually need to be changed.

This method will work across the versions you have to deal with because it
doesn't make many assumptions about which files are involved, instead, it
simply locates references to the surrent address.

--
Paul Lutus
http://www.arachnoid.com

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com