[ovs-discuss] Source network of a packet

Brendan Chang bschang at mit.edu
Thu May 5 20:51:49 UTC 2016


Hi,

Sorry again, but I realized my previous question wasn't worded very
clearly. Is there a way to intercept OVS/OVN packets in the Linux kernel?
I've heard that there is a way to do this by writing a kernel module but I
haven't found any leads.

Thanks,

Brendan

On Wed, May 4, 2016 at 11:43 PM, Brendan Chang <bschang at mit.edu> wrote:

> Hi,
>
> Sorry for reviving an old thread. To clarify, does the packet itself
> contain the tunnel_key of the datapath binding? If so, what exactly is the
> structure of a packet in this case or where in the packet would I find this
> field?
>
> Thanks,
>
> Brendan
>
> On Wed, Nov 4, 2015 at 1:00 PM, Ben Pfaff <blp at nicira.com> wrote:
>
>> On Wed, Nov 04, 2015 at 11:34:07AM -0500, Brendan Chang wrote:
>> > I'm using OVN for a project for network performance isolation and I was
>> > wondering if there are any packet headers or fields which tell what
>> logical
>> > network they came from?
>> >
>> > For example, if I had two isolated logical networks where switch 1
>> connects
>> > clients A and B and switch 2 connects clients C and D, is there some
>> field
>> > which tells if a packet came from the first network or the second?
>>
>> Yes, the network of a packet is encoded in the encapsulation.  See
>> "Tunnel Encapsulation" in ovn-architecture(7).
>>
>> (A packet that traverses a logical router passes through multiple
>> networks.  The one that appears on the wire would be that of the
>> destination logical switch.)
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160505/22dd2d95/attachment-0002.html>


More information about the discuss mailing list