解決:Loading kernel module CAP_SYS_MODULE CAP_NET_ADMIN alias netdev-eth0 instead

克隆虛擬機、啓動、配置網絡、重啓網絡服務遇到以下問題:
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


解決方法見:http://haoyun.blog.51cto.com/2038762/1220485oop

相關文章
相關標籤/搜索