[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=08:00:27:3D:5F:38
TYPE=Ethernet
UUID=40b4a51a-f48f-4cc3-b705-2ae27a49745b
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=192.168.1.121
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=211.161.122.200
DNS2=211.161.122.198
USERCTL=no
PEERDNS=yes
IPV6INIT=no