ifcfg

ifcfg

Use ifcfg to configure a particular interface. Simply type ifcfg to get help on using this script.

For example, to change eth0 from 192.168.0.1 to 192.168.0.2 you could do:

 ifcfg eth0 del 192.168.0.1
 ifcfg eth0 add 192.168.0.2 

/etc/sysconfig/network-scripts