On Montag, 23. Januar 2017 18:26:59 CET jens wrote:
somebody told me that for gre there is a limit of 255 per kernel, does this also aply for gretap
I've already used over 500 (sry, not 9000) gretap tunnels. And I've just did the same on Linux 4.9 with gre to test the 255 limit for L3.
for i in `seq 1 255`; do echo $i ip link add gre$i type gre local 192.168.2.227 remote 192.168.3.$i ttl 255 dev enp0s31f6 ip link set up dev gre$i
ip link add grex$i type gre local 192.168.2.227 remote 192.168.4.$i ttl 255 dev enp0s31f6 ip link set up dev grex$i done
At least my Linux kernel was not generating any error messages. Maybe this limit was removed already?
and mainly - is there a limit for if i can add to bat0 - since every gretap is a "if"
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).
Kind regards, Sven