[ovs-discuss] Make two bridges communicate

Pasquale Dir phate867 at gmail.com
Mon Mar 3 14:28:32 UTC 2014


I want to create an overlay network for VMs.

In order to do so I created an internal bridge, called brint which has no
eth0 interface, but just an internal port. I added to this bridge a gre
port, in order to make it communicate with ANOTHER internal bridge which is
located on another host.

I then have a bridge, br0, which has the eth0 port plus a tep0 port which
is the gre tunnel endpoint.

So, here's my network:
Bridge brint
        Port "gre0"
            Interface "gre0"
                type: gre
                options: {remote_ip="10.10.1.2"}
        Port brint
            Interface brint
                type: internal
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "tep0"
            Interface "tep0"
                type: internal
        Port "eth0"
            Interface "eth0"

br0 network is a 192.168.1.x/24, VM network is a 10.10.1.x/24, tep0
interfaces have a 10.10.1.x/24 address as well.

On the VM hosts this is my network/interfaces file (for the first VM):
auto eth0
iface eth0 inet static
address 10.10.1.3
netmask 255.255.255.0
network 10.10.1.x

Everything works fine as long as I communicate with VMs belonging to
internal bridges. If I ping VM2 (brint on host2) from VM1 (brint on host1)
it works.

But now I'd like VMs to interact with the internet and, as eth0 is located
on br0, I need a way to connect the two bridges.

Strangely enough, pinging tep0 (10.10.1.1) from VM1(10.10.1.3) will NOT
work, even though they are on the same network and should be visible each
other.

Can you help me?
Sorry if I am sending a lot of mails lately but I really need to accomplish
this task....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140303/9afff424/attachment-0002.html>


More information about the discuss mailing list