set fixed ip address redhat

20 Jul

[root@neptune networking]# cd devices
[root@neptune devices]# ls
ifcfg-eth0
[root@neptune devices]# more ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.33.212
NETMASK=255.255.255.0
GATEWAY=192.168.33.1
[root@neptune devices]# pwd
/etc/sysconfig/networking/devices
[root@neptune devices]#