2、设置桥接网卡br0
# cd /etc/sysconfig/network-scripts/
# cp ifcfg-eth0 ifcfg-br0
# vi ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
HWADDR=14:02:EC:3E:A8:DC
BRIDGE=br0
# vi ifcfg-br0
DEVICE=br0
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.80.3
NETMASK=255.255.255.0
GATEWAY=192.168.80.100
DNS1=114.114.114.114
BOOTPROTO=static