neutron用linux_bridge部署provider网络

网卡配置:

# 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

 

混杂模式:

 

posted @ 2016-09-08 10:44  圆旭  阅读(941)  评论(0编辑  收藏  举报