Re: [B.A.T.M.A.N.] Migration to Batman

Andrew Lunn
2012-04-13T08:26:48Z

On Fri, Apr 13, 2012 at 09:51:51AM +0200, Mitar wrote:
> Hi!
>
> On Fri, Apr 13, 2012 at 9:43 AM, Andrew Lunn <andrew@lunn.ch> wrote:
> > Which implementation are you using of L2TP?
>
> We are not using any, we are planning to use ones provided by OpenL2TP:
>
> http://www.openl2tp.org/

Never used it, so i "use the source luke", since its in the kernel...

Looks like you have at least two options:

Linux PPP over L2TP (PPPoX/PPPoL2TP) Sockets
L2TPv3 ethernet pseudowire driver

PPP is L3 only, so you cannot add it to BATMAN. You would need to L3
routing over it.

The pseudowire driver creates a network device l2tpeth0, l2tpeth1,
l2tpeth2, etc, one for each session. Looks like you should be able to
add these to BATMAN.

Andrew