Dear Simon,

I have a mesh network with three nodes that use 802.11s for the PHY and MAC 
layers, and BATMAN-adv on top to provide routing and mobility. Two of the nodes 
act as gateways, and the other functions as a client. The client selects the 
best gateway based on throughput.

Currently, I don’t have a DHCP server in this network — each node has a static 
IP address. The issue I’m encountering is that when the selected gateway node 
turns off, the client takes too long to switch to a new gateway. All nodes are 
using the BATMAN V routing protocol.

I believe this delay could be reduced by factoring the last connection time 
into the throughput calculation. For example, if you’re using an EWMA filter, 
you could treat a node that has been disconnected for more than 10 seconds as 
having a throughput of zero. This would cause the EWMA value to drop quickly, 
allowing the client to select a new gateway sooner.

Reply via email to