Ask Your Question

# Revision history [back]

It seems you would prefer to use flat networking. Here are steps to create a flat network with the symbolic name flatnet1.

The ovs_quantum_plugin.ini on the node running the Quantum server needs:

network_vlan_ranges = flatnet1

The ovs_quantum_plugin.ini on the network and compute nodes need:

bridge_mappings = flatnet1:br-flatnet1

On the network and compute nodes, create a bridge named br-flatnet1 and add the interface for the physical nic to it, eg:

# ovs-vsctl add-br br-flatnet1
# ovs-vsctl add-port br-flatnet1 eth3

These physical NICs should be plugged into switch ports in the same VLAN. Now create the flat network in Quantum:

$quantum net-create fnet1 --provider:network_type flat \ --provider:physical_network flatnet1 --shared$ quantum subnet-create fnet1 10.0.1.0/24

As you are only doing flat networking, maybe it would be easier to use the Linux Bridge plugin instead of OVS.

It seems you would prefer to use flat networking. Here are steps to create a flat network with the symbolic name flatnet1.

The ovs_quantum_plugin.ini on the node running the Quantum server needs:

network_vlan_ranges = flatnet1

The ovs_quantum_plugin.ini on the network and compute nodes need:

bridge_mappings = flatnet1:br-flatnet1

On the network and compute nodes, create a bridge named br-flatnet1 and add the interface for the physical nic to it, eg:

# ovs-vsctl add-br br-flatnet1
# ovs-vsctl add-port br-flatnet1 eth3

These physical NICs should be plugged into switch ports in the same VLAN. VLAN. Configure your network startup scripts to put these interfaces UP without an IP address at boot. Now create the flat network in Quantum:

$quantum net-create fnet1 --provider:network_type flat \ --provider:physical_network flatnet1 --shared$ quantum subnet-create fnet1 10.0.1.0/24

As you are only doing flat networking, maybe it would be easier to use the Linux Bridge plugin instead of OVS.

It seems you would prefer to use flat networking. Here are steps to create a flat network with the symbolic name flatnet1.

The ovs_quantum_plugin.ini on the node running the Quantum server needs:

network_vlan_ranges = flatnet1

The ovs_quantum_plugin.ini on the network and compute nodes need:

bridge_mappings = flatnet1:br-flatnet1

On the network and compute nodes, create a bridge named br-flatnet1 and add the interface for the physical nic to it, eg:

# ovs-vsctl add-br br-flatnet1
# ovs-vsctl add-port br-flatnet1 eth3

These physical NICs should be plugged into switch ports in the same VLAN. Configure your network startup scripts to put these interfaces UP without an IP address at boot. Now create the flat network in Quantum:

$quantum net-create fnet1 --provider:network_type flat \ --provider:physical_network flatnet1 --shared$ quantum subnet-create fnet1 10.0.1.0/24

As you are only doing flat networking, maybe it would be easier to use the Linux Bridge plugin instead of OVS.

For the error see here. What OS/kernel are you on? The workaround is to add ovs_use_veth = True to l3_agent.ini, dhcp_agent.ini and lbaas_agent.ini. I don't think it will solve the error about changing the mac on br-int, but you can probably ignore that as I don't think the mac on the bridge matters. But it is important for the router and dhcp devices because it is causing exceptions in the agents.