克隆虚拟机、启动、配置网络、重启网络服务遇到以下问题:
bash
[root@localhost ~]# service network restart Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev-eth0 instead Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev-eth1 instead Shutting down loopback interface: [ OK ] Bringing up loopback interface: lo: Disabled Privacy Extensions [ OK ] Bringing up interface eth0: e1000 device eth0 does not seem to be present, delaying initialization. [FAILED] Bringing up interface eth1: e1000 device eth1 does not seem to be present, delaying initialization. [FAILED]
查看网络接口,结果以下:
网络
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:0c:29:9e:85:f7 brd ff:ff:ff:ff:ff:ff 3: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:0c:29:9e:85:01 brd ff:ff:ff:ff:ff:ff
发现重启网络失败了,相应接口没有启起来,这里应该是eth0和eth1,可是却有eth2和eth3ide