sudo vim /etc/sysconfig/network-scripts
IPADDR=192.168.1.101
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=114.114.114.114
service network restart
sudo vim /etc/sysconfig/network-scripts
IPADDR=192.168.1.101
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=114.114.114.114
service network restart