On Thursday, January 03, 2013 19:03:11 Jan Lühr wrote:
> c) Disable regular gateway, force node to switch to backup
> kif:~# batctl gw_mode client
> 
> Gateway-List is:
> reifunk-b0487acb2d58:~# batctl gwl
>       Gateway      (#/255)           Nexthop [outgoingIF]: gw_class ...
> [B.A.T.M.A.N. adv 2012.4.0, MainIF/MAC: wlan0-1/b2:48:7a:cb:2d:59 (bat0)]
> => aa:31:0e:4a:0f:1d (255) aa:31:0e:4a:0f:1d [  mesh-vpn]:  39 -
> 1024KBit/1024KBit
> 
> d) Re-enable regular gateway
> root@kif:~# /usr/local/sbin/batctl gw server 100Mbit/100Mbit

Ah! You failed to mention this part in your initial email.

The behavior is easily explained: batman-adv does not switch gateway whenever 
a new gateway is found (even if it is a better gateway) unless the selection 
class is on fast or late switching.

Cheers,
Marek

Reply via email to