On Wed, Jan 25, 2017 at 03:21:58AM +0100, jens wrote:
On 24.01.2017 14:39, Sven Eckelmann wrote:
There is no artificial limit added by batman-adv. But transmitting a lot of broadcasts over 255 virtual links sharing the same physical link might get interesting (independent of batman-adv).
this made me curious , and i modified your script a bit - turns out after the 127. IF you add to batman-adv you get an Error - all 510 gretap links was succesfully build ... # ifconfig |grep gre| wc -l 515 # batctl if|sort|wc -l 127 the error is mainly *Error - can't write to file '/sys/class/net/gre128/batman_adv/mesh_iface': Cannot allocate memory
Hi Jens
What sort of machine are you running this on? How much RAM does it have?
My guess is, you are running it on a little box with not much RAM. If you tried again on your desktop with a few Giga byte of RAM, you will get a different limit.
Andrew