Hi Paul,

On 9/12/13 7:19 AM, Paul Congdon wrote:

I’m wondering if there is a way to encapsulate just an IP packet in GRE using OVS instead of doing only doing transparent bridging of entire L2 frames. Are there ways to setup the flow actions to strip off the MAC header and change the protocol field of the GRE header to 0x800 before forwarding off to the tunnel interface?


OVS is very Ethernet centric, meaning that all ports, including tunnels, are assumed to carry an Ethernet header. So currently there is no way to do what you want. However, there is work underway to change this: make OVS less Ethernet specific, by allowing layer 3 ports, and actions to add/remove Ethernet headers.

If you don't care about the actual encapsulation header, take a look at LISP tunnels in OVS, they can do what you want. When encapsulating with LISP the Ethernet header is stripped before encapsulation, and restored when decapsulating. You will find more info in the README-lisp file of the OVS tree.

-Lori
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to