On Sunday, 24 May 2020 16:43:55 CEST Alexey Ermakov wrote:
Sorry, I didn't provided full information about experiment conditions.
[...]
- batctl hardif eth0 to 100 NOTE: If sklip this step,
all works fine!
After this I started host bridge interface br0. NOTE: if bridge had started before batman configured all works fine
As Marek pointed out, you told batman-adv that the eth0 interfaces have for some reason a link speed of 0.1 [Mbit/s] (or 1 [100Kbit/s] - what the actual unit is for B.A.T.M.A.N. V). And unfortunately, 88% (for the hop penalty) of 1 [100 Kbit/s] is in integer arithmetic 0 [100 Kbit/s]. And 0 whatever/s is just discarded by B.A.T.M.A.N. V [1] and not considered for routing traffic - hey, this path ends up as being 0 and therefore useless.
The reason why you want to set the link to 1 [100 Kbit/s] has to be figured out by yourself. But for a (during forwarding) strictly monotonic decreasing, integer value, it is a bad starting point to set it to 1 [whatever-unit] for a multi-hop setup.
Kind regards, Sven
[1] https://git.open-mesh.org/batman-adv.git/blob/e946e0beec5764ed5182943bf764f8...