vi /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet BOOTPROTO=static DEFROUTE=yes NAME=eth0 DEVICE=eth0 IPV4_FAILURE_FATAL=no UUID=7ac09286-c35b-4f15-a9ba-701c093832bf IPV6INIT=no IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_PRIVACY=no ONBOOT=yes DNS1=192.168.1.1 IPADDR=192.168.1.249 PREFIX=24 GATEWAY=192.168.1.1