[ovs-discuss] Parallel VxLAN tunnels

Jean Tourrilhes jt at labs.hpe.com
Mon Jul 10 23:31:25 UTC 2017


On Fri, Jul 07, 2017 at 03:36:11PM -0700, Jean Tourrilhes wrote:
> 	Hi,
> 
> 	I want to know how to implement parallel VxLAN tunnels between
> two hosts with OVS.
> 	Each host, h0 and h1, has two OVS instances, br0 and
> br1. I want two separate VxLAN tunnels :
> 		h0-br0 <=> h1-br0
> 		h0-br1 <=> h1-br1
> 	Those two tunnels could be using different VNI, so is there
> a way for a OVS instance to use only a single VNI ? I also saw that
> VxLAN support alternate port number, should I use that ?
> 	Thanks in advance !
> 
> 	Jean

	Ok, it was actually obvious :

# ./ovs-vsctl show
4878360b-97f7-4ed0-97a8-0d9d284257fe
    Bridge "br8"
        Controller "ptcp:6634"
        Controller "tcp:127.0.0.1:6633"
        fail_mode: secure
        Port "br8"
            Interface "br8"
                type: internal
        Port "vx2"
            Interface "vx2"
                type: vxlan
                options: {key="1", remote_ip="10.0.8.3"}
    Bridge "br9"
        Controller "tcp:127.0.0.1:6635"
        Controller "ptcp:6636"
        fail_mode: secure
        Port "vx4"
            Interface "vx4"
                type: vxlan
                options: {key="2", remote_ip="10.0.8.3"}
        Port "br9"
            Interface "br9"
                type: internal

	Have fun...

	Jean


More information about the discuss mailing list