On Thu, Feb 27, 2014 at 05:16:18PM +0000, thomas.mo...@orange.com wrote: > Currently, OVS GRE tunnels use Ethertype 6558 and the GRE packets > produced by OVS hence always are xxx-over-Ethernet-over-GRE. > Symmetrically OVS expects received GRE packets to be of the same > ethertype and carry an Ethernet payload. > > I have written the included patch, which does the following: > - add a "noeth" option for a GRE tunnel, so that the Ethernet header is > stripped before GRE encapsulation (the option, of course, defaults to > the current behavior) > - on reception, recreates a fake Ethernet header if the ethertype of the > received packet is not 6558 -- this behavior is similar to what the LISP > tunneling code does > > Note that, in both cases, the code takes care of preserving correct > ethertypes.
I'm in favor of adding support for non-Ethernet GRE. The issues are similar to those for LISP, which can also carry L3 data. There's a series currently under review (see the "nsh" patches at http://patchwork.openvswitch.org/project/openvswitch/list/) that adds support for this. I'd like to use the same approach for all L3 protocols. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev