CentOS中KVM橋連設置
在設置KVM橋連的時候碰到一個問題,記錄下來供以後參考
[root@vane-server ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
NM_CONTROLLED=no
HWADDR=80:c1:6e:74:68:8a
ONBOOT=yes
IPADDR=192.168.1.12
NETMASK=255.255.255.0
DNS2=202.101.172.35
GATEWAY=192.168.1.1
DNS1=192.168.1.1
IPV6INIT=no
USERCTL=no
[root@vane-server ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BRIDGE=br0
BOOTPROTO=none
HWADDR=80:c1:6e:74:68:8a
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
UUID="eb460b11-40de-4bd4-8a16-08da64ea1d0f"
IPADDR=192.168.1.12
NETMASK=255.255.255.0
DNS2=202.101.172.35
GATEWAY=192.168.1.1
DNS1=192.168.1.1
IPV6INIT=no
USERCTL=no
#NAME="System eth0"