And of course I messed up both batctl o outputs.
On Thu, Sep 28, 2023 at 06:48:21PM +0200, Remi Pommarel wrote:
On Thu, Sep 28, 2023 at 05:33:46PM +0200, Marek Lindner wrote:
Maybe you can add throughput metric values to your example and then expand on what you find problematic?
[ ... ]
$ batctl o Originator last-seen ( throughput) Nexthop [outgoingIF]
- Orig0-Main-Mac 0.220s ( 110) Orig1-mesh0-Mac [ mesh0 ] Orig0-Main-Mac 0.220s ( 100) Orig1-mesh0-Mac [ mesh0 ]
Is in fact
$ batctl o Originator last-seen ( throughput) Nexthop [outgoingIF] * Orig0-Main-Mac 0.220s ( 110) Orig1-mesh0-Mac [ mesh0 ] Orig0-Main-Mac 0.220s ( 100) Orig0-mesh0-Mac [ mesh0 ]
(The last line nexthop was wrong)
and
So best path for Orig2 to Orig0 would go through Orig1 with an expected throughput of 110Mbps. But such a throughput cannot be reached because Orig1 has to forward packet from and to the same WiFi interface.
If the throughput between Orig1 and Orig2 were to be 160Mbps instead of previous 110Mbps then the originator table on Orig2 will look like that:
$ batctl o Originator last-seen ( throughput) Nexthop [outgoingIF] Orig0-Main-Mac 0.220s ( 80) Orig1-mesh0-Mac [ mesh0 ]
- Orig0-Main-Mac 0.220s ( 100) Orig1-mesh0-Mac [ mesh0 ]
Is in fact
$ batctl o Originator last-seen ( throughput) Nexthop [outgoingIF] * Orig0-Main-Mac 0.220s ( 80) Orig1-mesh0-Mac [ mesh0 ] Orig0-Main-Mac 0.220s ( 100) Orig0-mesh0-Mac [ mesh0 ]
(Same error here)
Sorry about that,