public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Interface limit 127 in bat0?!
@ 2017-02-21 16:19 jens
  2017-02-21 16:24 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: jens @ 2017-02-21 16:19 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

i observe a limit of 127 interfaces which can be hooked into bat0
where do i find this limit, or does somebody can tell me more about
this? Or, if it is a good idea to circumwent this at all? Or, if its
even possible in actual protocoll structure.

background:
Freifunk with tunneldigger and l2tp tunnel interfaces put a whole lot of
l2tp-eth interfaces in a bridge and hook the bridge into batman, which
make trouble and also doesnt feel like good practice. (i think to
circumvent this limit)

Freifunk with wireguard and gretap also have a lot of gretap tunnel
interfaces - but without bridging is limited to 127 interfaces
(we also experiment with vxlan which is limited to v4 in bridge
forwarding and by this not really an option - idea was to hook vxlan0 in
bat0 , which may be similar to bridging l2tp-eth)

you can find the test here (in german)
https://forum.freifunk.net/t/500-gretap-tunnel-interfaces-in-batman-einhaengen-fuer-wireguard/14245
or the wireguard in freifunk structures (batman network) here
https://forum.freifunk.net/t/wireguard-0-0-20161230-mit-linux-3-18-kernel-und-damit-gluon-v2016-2-2/14122/5

the error if you exceed the interface limit in dmesg :

|Error - can't write to file
'/sys/class/net/gre127/batman_adv/mesh_iface': Cannot allocate memory|


-- 
make the world nicer, please use PGP encryption


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-02-21 17:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-21 16:19 [B.A.T.M.A.N.] Interface limit 127 in bat0?! jens
2017-02-21 16:24 ` Andrew Lunn
     [not found]   ` <e7b68377-8a30-8f00-a247-163957f01ef4@viisauksena.de>
2017-02-21 17:00     ` Andrew Lunn
2017-02-21 17:13   ` Sven Eckelmann
2017-02-21 17:18     ` jens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox