vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini [linux_bridge] physical_interface_mappings = public:eth0,internal:eth1
vim /etc/neutron/plugins/ml2/ml2_conf.ini [ml2_type_flat] flat_networks = public,internal
systemctl restart neutron-server.service neutron-linuxbridge-agent.service
linux
計算節點vim
vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini [linux_bridge] physical_interface_mappings = public:eth0,internal:eth1
systemctl restart neutron-linuxbridge-agent.service
網絡
openstack network create --share --external \ --provider-physical-network internal \ --provider-network-type flat internal
openstack subnet create --network internal \ --allocation-pool start=10.201.2.100,end=10.201.2.200 \ --dns-nameserver 202.96.134.133 --gateway 10.201.2.254 \ --subnet-range 10.201.2.0/24 internal
openstack network list
app