You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried this out having it wired like this, using a v2022 firmware which uses BATMAN_V and wireguard as VPN:
Internet <--- LAN ---> gluon1 <--- WIFI-MESH ---> Gluon2
^-------------------- LAN ---------------------^
I looked into batctl o on Gluon2 which showed that most links had the indicating star at mesh-vpn
I then set batctl hardif mesh-vpn hop_penalty 100000 on Gluon2
all routes to originators are turning towards the mesh0 except for the route to the supernode (which still shows a TP of 372 -> which is impossible as the test uplink has 40/5)
on the map the link is still shown as "connected to supernode"
the download speed is still as slow as Gluon2 can do (about 1MB/s) instead of >4MB/s of gluon1
I don't know if i need to tweak more, but that was just a quick test.
I just retested this with BATMAN_IV and had the same result -> the TQ is reduced (from 255 to 14 using a hop_penalty of 240) in batctl o, yet its own mesh-vpn is still preferred even though it is slower (batctl gwl still shows the supernode as next-hop).
Thats also in line with the expected speed.
I had the same result if the WIFI-Mesh in aboves schematic outline is replaced with a wire.
@ecsv do you have a clue or can hint me into a direction?
It worked using BATMAN_IV after having the setup running for a few hours.
Now I am asking myself if I did not wait long enough in BATMAN_V
As a result of #1942
gluon.mesh_batman_adv.hop_penalty
was implemented. This allows setting the hop penealty for the meshif (the complete node).Apparently it's also possible to set an hop penealty for the hardif. Those are the interfaces where bat0 is the master interface:
Currently the hop penealty for all of those hardifs is 0:
I haven't yet played with this but could imagine scenarios where it could be helpful to set an higher hop penealty on an interface.
The text was updated successfully, but these errors were encountered: