标签:serve tac int plugins ini neu inter provider res
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
计算节点
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
openstack配置扁平网络(一个内网,一个外网,两个网卡)
标签:serve tac int plugins ini neu inter provider res
原文地址:http://blog.51cto.com/lingxudong/2347626