[PATCH 0/2] Enable the batman-adv Gateway selection

Michael Fritscher michael at fritscher.net
Mo Sep 14 23:05:44 CEST 2015


Guten Abend,

kleine Frage: Die Gateways werden nur innerhalb der Hood getauscht, oder?
D.h. es ändert sich nur das Gateway, nicht aber das Netzwerk für die
Clients (z.B 10.50.72.0/21)? Also es kann nicht passieren, das die eine
Hälfte der Clients im Netzwerk A, die andere im netzwerk B steckt?
Ansonsten könnte es zu Problemen bei "Gateway-internen" Broadcasts kommen
- SMB, Autoconf, ARP aber auch Multicasts als Beispiele. Netz/Hoodweite
Broadcasts sind nervig, aber innerhalb eines Gateways sind sie ziemlich
nützlich.

Viele Grüße,
Michael

>
> This Patchset enables the gateway selection and adds a cron to reset the
> selection every one minute. I didn't find a better way to tell batman to
> look for newer and better gateways.
>
> I tried different gateway selection classes, only class 1 allows us to
> take care of the selection via the announced bandwidth. Unfortunately the
> class 1 stick with the selection until the gateway disappears. Even if a
> much better gateway is announced the node will stay with that gateway. To
> encounter this behaviour, the cron disables the client mode for one
> second.
> This will tell batman to make a new evaluation.
>
> Attention: By applying this patches only Hoods with enabled gateway
> selection
> can serve DHCP to Client.
>
>
> Tim Niemeyer (2):
>   batman-adv: enabled client gateway mode
>   cron: disable every 1min the gw selection for 1s
>
>  bsp/default/root_file_system/etc/config/batman-adv | 4 ++--
>  bsp/default/root_file_system/etc/crontabs/root     | 1 +
>  2 files changed, 3 insertions(+), 2 deletions(-)
>





Mehr Informationen über die Mailingliste franken-dev