[root@localhost ~]# service network restart
fgrep: ifcfg-ifcfg-eth0: No such file or directory
fgrep: ifcfg-ifcfg-eth0: No such file or directory
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
/etc/init.d/network: line 234: ifcfg-ifcfg-eth0: No such file or directory
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth1:
[ OK ]
fgrep: ifcfg-ifcfg-eth0: No such file or directory
fgrep: ifcfg-ifcfg-eth0: No such file or directory
fgrep: ifcfg-ifcfg-eth0: No such file or directory
egrep: ifcfg-ifcfg-eth0: No such file or directory
Bringing up interface ifcfg-eth0: [ OK ]
登陆进去查看配置文件
ls /etc/sysconfig/network-scripts/
ifcfg-eth0 ifcfg-eth0
要么删除掉一个文件,要么重启一下就好了