Changing IP and HOSTNAME on an existing RedHat system.

Tobias Speckbacher tobias at quova.com
Sun Apr 11 00:22:27 UTC 2004


Change the ip in /etc/sysconfig/network-scripts/ifcfg-eth0  (if eth0 is
what you want to change)

The hostname can be changed in /etc/syconfig/network .

6.0 is quite old but if memory serves me right nothing in respect to
these 2 files changed since then.

-T

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of
listhub at libros.andante.mn.org
Sent: Saturday, April 10, 2004 3:46 PM
To: redhat-list at redhat.com
Subject: Changing IP and HOSTNAME on an existing RedHat system.

Ok list.

One more question to help me with my LAN restructuring.  This is on a
very old
system Red Hat 6.0

If I have an existing system with

hostname: something
IP: XXX.XXX.XXX.98

and I want to change it on the same LAN to

hostname: somethingelse
IP: XXX.XXX.XXX.101

What files to I need to alter?
Is there a tool to do this or is it manual edits?
Should I do this off the LAN, reconnect and then reboot?

I do not want to upgrade the system.  It does nothing but serve an
obsolete
database and I do not want to migrate the data.  If I can just have it
be
another hostname and IP on the existing LAN that will solve all
problems.  In
fact, the hostname and IP I wish to change it too is for a system that
died a
year ago so all machines on that LAN have a hosts entry for that IP and
sendmial is configured to send mail to it if it ever shows up.

Thanks for all the help RedHat gurus.

Peace
john
------------------------------------
John N. Alegre                   o
Andante Systems               o
eCommerce Consulting       o
Custom Web Development <*{{{{}><
------------------------------------ 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list