How Do I Change a Machines IP Address?
Harper Mann
hmann at itgroundwork.com
Tue Feb 8 19:56:20 UTC 2005
Hi,
/usr/bin/redhat-config-network is what the RHCE class recommends. You need
X Windows for it. It helps me remember the parameters.
IP Address is under Devices, Hostname is under DNS.
Cheers,
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
http://itgroundwork.com
> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list-
> bounces at redhat.com] On Behalf Of Schott, Erik J Mr ANOSC/FCBS
> Sent: Tuesday, February 08, 2005 11:49 AM
> To: General Red Hat Linux discussion list
> Subject: RE: How Do I Change a Machines IP Address?
>
> Oops...I forgot about /etc/hosts...Thanks, Travis
>
> -----Original Message-----
> From: Travis Zadikem [mailto:tzadikem at picosecond.com]
> Sent: Tuesday, February 08, 2005 12:48 PM
> To: 'Dave Martini 1'; 'General Red Hat Linux discussion list'
> Subject: RE: How Do I Change a Machines IP Address?
>
>
> I usually change
> /etc/hosts
> /etc/sysconfig/network-scripts/ifcfg-eth0 and then reboot.
>
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com]On Behalf Of Dave Martini 1
> Sent: Tuesday, February 08, 2005 12:40 PM
> To: redhat-list at redhat.com
> Subject: How Do I Change a Machines IP Address?
>
>
> I need to change the IP address of a RHEL WS 3.0 machine.
>
> I changed
>
> /etc/sysconfig/network
>
> with the new IP address
>
> and restarted the network service and did a
>
> ifdown eth0
> ifup eth0
>
> But that did not help.
> I also rebooted the machine and ifconfig -a still shows the old
> IP address.
>
> I also did a
>
> ifconfig etho newipaddress
> but when I restart the network service it reverts back to the old IP
> address.
>
> What other files do I need to edit in order to change a machine's
> IP address?
>
> P.S. I know I can use netconfig but want to understand what files
> it modifies.
>
> Thanks,
> Dave Martini
> LLNL
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> 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