Ask Your Question

How to create tunnel between the ovs switches using the ovs-db ?

asked 2014-05-28 22:30:31 -0700

chandralekha gravatar image

I have ODL and mininet with linear topology to 2 switches and i want to create a tunnel between them. What are its curl commands?

edit retag flag offensive close merge delete


If you have a linear topology, the two switches should be layer 2 adjacent, without the need for tunneling (you may need to set up flows for forwarding to occur). Tunneling is typically used between layer 3 entities.

lori ( 2014-05-28 22:41:24 -0700 )edit

My understanding was: Tunnelling can be between layer 2 and layer3. For Layer3 GRE tunnels can be used but for layer2 Vxlan tunnel can be used. I thought with OVS-DB we can create vxlan tunnel between ovs-switches. Please correct me if am wrong in my understanding.

chandralekha ( 2014-05-28 23:34:15 -0700 )edit

Yes, OVSDB can create VxLAN tunnels between OVS hosts. However, the tunnel will use the layer 3 IP addresses of those OVS hosts. Indeed tunneling can be used *for* transporting both layer 2 frames and layer 3 packets in *overlays* but the underlay is l3.

lori ( 2014-05-29 00:20:26 -0700 )edit

Thanks for the clarification.

chandralekha ( 2014-05-29 22:11:24 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-06-06 03:02:28 -0700

medox gravatar image

hello you can test with this : Setup private networking between two hosts and two VMs with libvirt / openvswitch

edit flag offensive delete publish link more
Login/Signup to Answer


Asked: 2014-05-28 22:30:31 -0700

Seen: 1,993 times

Last updated: Jun 06 '16