Hi all, It looks the current kernel still do not support bridging over gre tunnels. I did find an old patch for ip_gre that would enable this [1]. But it needs porting from 2.4 to 2.6 kernels and looks like it needs cleaning up too. Is there newer/better patches to achieve this? Any thoughts about doing bridging with gre tunnels? Cheers, Timo [1] http://mailman.ds9a.nl/pipermail/lartc/2003q4/010327.html
On Fri, 11 Jul 2008 09:30:08 +0300 Timo Ter?s <timo.teras at iki.fi> wrote:> Hi all, > > It looks the current kernel still do not support bridging over gre > tunnels. > > I did find an old patch for ip_gre that would enable this [1]. But > it needs porting from 2.4 to 2.6 kernels and looks like it needs > cleaning up too. > > Is there newer/better patches to achieve this? Any thoughts about > doing bridging with gre tunnels? > > Cheers, > Timo > > [1] http://mailman.ds9a.nl/pipermail/lartc/2003q4/010327.htmlThe idea is fine, but that patch needs work (kind of a mess). If you want it, then go through normal process of submitting to netdev and take the comments and fix it up.
Timo Ter?s wrote:> Is there newer/better patches to achieve this? Any thoughts about > doing bridging with gre tunnels?Here's a patch I did against 2.6.17. I didn't submit this to mainline though because the userspace ABI is ugly. The basic problem is that the struct used for the ioctl isn't extensible. The only way I can think of to fix it properly is to add configuration of gre using netlink, but I never got around to doing that. -------------- next part -------------- A non-text attachment was scrubbed... Name: gre-bridge-6.patch Type: text/x-diff Size: 11231 bytes Desc: not available Url : http://lists.linux-foundation.org/pipermail/bridge/attachments/20080714/cea519e1/attachment.patch -------------- next part -------------- A non-text attachment was scrubbed... Name: gre-bridge-iproute2.patch Type: text/x-diff Size: 2805 bytes Desc: not available Url : http://lists.linux-foundation.org/pipermail/bridge/attachments/20080714/cea519e1/attachment-0001.patch