09-15-04 04:10 PM
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
[ Post a follow-up to this message ]
|