[root@localhost ~]# sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 BOOTPROTO=static IPADDR=192.168.10.35 NETMASK=255.255.255.0 GATEWAY=192.168.10.1 DNS=168.126.63.1 [root@localhost ~]# service network restart
[root@localhost ~]# sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 BOOTPROTO=static IPADDR=192.168.10.35 NETMASK=255.255.255.0 GATEWAY=192.168.10.1 DNS=168.126.63.1 [root@localhost ~]# service network restart