neutron用linux_bridge部署provider网络

时间:2021-02-19 02:01:37

网卡配置:

# 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-
iface brq6bf61a06- 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-

混杂模式: