网卡配置:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 172.16.13.134
netmask 255.255.255.0
gateway 172.16.13.2
dns-nameservers 114.114.114.114

auto eth1
iface eth1 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down

auto brq6bf61a06-79
iface brq6bf61a06-79 inet manual
bridge_ports eth1
up ip link set dev $IFACE up
down ip link set dev $IFACE down

ml2_conf.ini

[ml2_type_flat]

flat_networks = provider

 

linuxbridge_agent.ini:

[linux_bridge]

physical_interface_mappings = provider:eth1

bridge_mappings = provider:brq6bf61a06-79

 

混杂模式: