If you use the Open vSwitch (OVS) plug-in in a deployment with multiple hosts, you must use either tunneling or vlans to isolate traffic from multiple networks. Tunneling is easier to deploy because it does not require configuring VLANs on network switches.
This procedure uses tunneling:
Procedure 7.4. To configure OpenStack Networking to use the OVS plug-in
Edit
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
to specify these values (for database configuration, see Install Networking Services in Installation Guide):enable_tunneling=True tenant_network_type=gre tunnel_id_ranges=1:1000 # only required for nodes running agents local_ip=<data-net-IP-address-of-node>
If you use the neutron DHCP agent, add these lines to the
/etc/neutron/dhcp_agent.ini
file:dnsmasq_config_file=/etc/neutron/dnsmasq/dnsmasq-neutron.conf
Create
/etc/neutron/dnsmasq/dnsmasq-neutron.conf
, and add these values to lower the MTU size on instances and prevent packet fragmentation over the GRE tunnel:dhcp-option-force=26,1400
Restart to apply the new settings:
# service neutron-server restart