[ovs] br-ex confusion and neutron network
Hello, I am slightly confused on which node to add br-ex and which port to add to it in my setup.
From my understanding I have to create br-ex and add the port with the external network access to it. However I have already created the bridge br-eth0 and added my only interface to it.
I am receiving the following error in /var/log/neutron/l3-agent.log
2014-03-04 23:05:10.927 1034 ERROR neutron.agent.l3_agent [-] The external network bridge 'br-ex' does not exist
My setup consists of 2 node both running openvswitch:
- Controller&Networking Node: Connected to switch via
eth0
.eth0
is added tobr-eth0
Bridge.br-eth0
has an address of 128.237.157.43 - Compute Node: Conntected to switch via
eth1
.eth1
is added tobr-eth0
Bridge.br-eth0
has an address of 128.237.157.202
I have launched 2 vm on the compute node with ip address of 10.0.2.2 and 10.0.2.4. These vm can ping each other, and running ip netns exec qdhcp-UUID ping 10.0.2.4
on the Controller&Networking Node pings successfully. But pinging 10.0.2.1 which is an external machine does not work.
My network diagram: http://i.imgur.com/zdheQ2P.png
Thank you very much for your help.
Edit:
Here's my current ovs-vsctl show
. The incoming eth0
port is already added to br-eth0
root@nitrogen:~# sudo ovs-vsctl show
a1649efd-bc3f-4cd8-a58f-a14f6c4c074b
Bridge br-int
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "int-br-eth0"
Interface "int-br-eth0"
Port "tap13216f9c-9c"
tag: 1
Interface "tap13216f9c-9c"
type: internal
Port "qr-c52ae4a2-07"
tag: 4095
Interface "qr-c52ae4a2-07"
type: internal
Port br-int
Interface br-int
type: internal
Port "tap7a41fbf5-d8"
tag: 4095
Interface "tap7a41fbf5-d8"
type: internal
Bridge br-tun
Port "gre-5"
Interface "gre-5"
type: gre
options: {in_key=flow, local_ip="128.237.157.43", out_key=flow, remote_ip="128.237.157.202"}
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Bridge "br-eth0"
Port "phy-br-eth0"
Interface "phy-br-eth0"
Port "eth0"
Interface "eth0"
Port "br-eth0"
Interface "br-eth0"
type: internal
ovs_version: "1.10.2"