redhat KVM 橋接網路br0啟動失敗問題
環境redhat 6.5
# cat ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
BRIDGE=br0
NAME="System eth0"
# cat ifcfg-br0
DEVICE=br0
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.10
DEFROUTE=yes
# /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface br0: Error: Connection activation failed: Failed to determine connection's virtual interface name
[FAILED]
此問題需要配置ifcfg-eth0引數 NM_CONTROLLED=no,還需用關閉NetworkManager
# /etc/init.d/NetworkManager stop
Stopping NetworkManager daemon: [ OK ]
再次重啟網路OK
# /etc/init.d/network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: device eth0 is already a member of a bridge; can't enslave it to bridge br0.
[ OK ]
Bringing up interface br0:
Determining IP information for br0... done.
[ OK ]