[Centos] Change IP Address

Fri Sep 10 15:09:45 UTC 2004
Eugeny Zadevalov <zev at sv3d55.net>


BC> Can someone tell me how to change my system IP Address from the command line in Centos-3?

In common situation, "system ip address"
is the ETH0 address.
So edit /etc/sysconfig/network-scripts/ifcfg-eth0
with your favourite text editor and run service network restart

 don't forget to change default gw also,
 it's located in /etc/sysconfig/network

Eugeny aka ZEV.