Re: How Do I Change a Machines IP Address?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you need to chnage this file

/etc/sysconfig/network-scripts/ifcfg-eth0

cheng

 --- Dave Martini 1 <martini@xxxxxxxxxxxxxxx> wrote: 
> 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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>  

=====
Best wishes
Z C Wang


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux