[ovs-discuss] VXLAN support in OVS 2.5.0

Shravan S K sra9449 at gmail.com
Tue Jan 10 09:26:42 UTC 2017


Is it possible to create a VXLAN setup using just bridges created by OVS?
(using ovs-vsctl to create these bridges,ports and vxlan config)

vm01-------------------|             |------------------vm03
                          br1-------br2
vm02-------------------|             |-------------------vm04



Shravan

On 29 December 2016 at 10:42, Shravan S K <sra9449 at gmail.com> wrote:

> Thanks, Scott.
>
> Beautiful explanation in the post!
>
> Shravan
>
> On 28 December 2016 at 21:29, Scott Lowe <scott.lowe at scottlowe.org> wrote:
>
>> Please see my responses inline, prefixed by [SL].
>>
>>
>> On Dec 28, 2016, at 4:15 AM, Shravan S K <sra9449 at gmail.com> wrote:
>> >
>> > I am trying this - http://docs.openvswitch.org/en
>> /latest/howto/userspace-tunneling/
>> >
>> > 1) Which step connects vxlan interface,vxlan0, to the bridge,br-phy, as
>> shown in the diagram ?
>>
>>
>> [SL] I haven't worked with userspace tunneling yet, but I believe the
>> principles here are much the same as with a "traditional" kernel-mode
>> implementation. Traffic from the vxlan0 port on br-int is directed out the
>> physical interfaces attached to br-phy via the kernel's routing table
>> (which is why step #5 is necessary).
>>
>> This article may help you understand the various traffic patterns you may
>> encounter with OVS:
>>
>> <http://blog.scottlowe.org/2013/05/15/examining-open-vswitch
>> -traffic-patterns/>
>>
>>
>> > 2) What should I do if also want to access(from the VM) the network
>> that my host is in ?
>>
>>
>> [SL] You would need to either a) add an additional interface to the VM,
>> or b) create a VXLAN-to-VLAN gateway. In the case of a), this additional
>> interface would need to be connected to br-phy (or its equivalent). In the
>> case of b), this would be another system (guest or VM) that receives VXLAN
>> traffic and handles decapsulation of the traffic and placement onto a VLAN
>> outside the overlay.
>>
>> I hope this helps.
>>
>> --
>> Scott
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170110/db70164b/attachment.html>


More information about the discuss mailing list