gluon-radv-filterd: improve documentation of selected router
This commit is contained in:
parent
32c191892d
commit
1c7ce32e6f
@ -7,22 +7,29 @@ default router with the best metric according to B.A.T.M.A.N. advanced.
|
|||||||
Note that advertisements originating from the node itself (for example
|
Note that advertisements originating from the node itself (for example
|
||||||
via gluon-radvd) are not affected and considered at all.
|
via gluon-radvd) are not affected and considered at all.
|
||||||
|
|
||||||
"Best" router
|
Selected router
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
The best router is determined by the TQ that is reported for its originator by
|
The router selection mechanism is independent from the batman-adv gateway mode.
|
||||||
B.A.T.M.A.N. advanced. If, for some reason, another gateway with a better TQ
|
In contrast, the device originating the router advertisment could be any router
|
||||||
appears or an existing gateway increases its TQ above that of the chosen
|
or client connected to the mesh, as radv-filterd captures all router
|
||||||
gateway, the chosen gateway will remain selected until the better gateway has a
|
advertisements originating from it. All nodes announcing router advertisement
|
||||||
TQ value at least X higher than the selected gateway. This is called
|
**with** a default lifetime greater than 0 are being considered as candidates.
|
||||||
hysteresis, and X can be specified on the commandline/via UCI/the site.conf and
|
|
||||||
defaults to 20 (just as for the IPv4 gateway selection feature built into
|
In case a router is not a batman-adv originator itself, its TQ is defined by
|
||||||
B.A.T.M.A.N. advanced).
|
the originator it is connected to. This lookup uses the batman-adv global
|
||||||
|
translation table.
|
||||||
|
|
||||||
|
Initially the router is the selected by choosing the candidate with the
|
||||||
|
strongest TQ. When another candidate can provide a better TQ metric it is not
|
||||||
|
picked up as the selected router until it will outperform the currently
|
||||||
|
selected router by X metric units. The hysteresis threshold is configurable
|
||||||
|
and prevents excessive flapping of the gateway.
|
||||||
|
|
||||||
"Local" routers
|
"Local" routers
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
The package has functionality to assign "local" routers, i.e. those connected
|
The package has functionality to select "local" routers, i.e. those connected
|
||||||
via cable or WLAN instead of via the mesh (technically: appearing in the
|
via cable or WLAN instead of via the mesh (technically: appearing in the
|
||||||
``transtable_local``), a fake TQ of 512 so that they are always preferred.
|
``transtable_local``), a fake TQ of 512 so that they are always preferred.
|
||||||
However, if used together with the :doc:`package/gluon-ebtables-filter-ra-dhcp`
|
However, if used together with the :doc:`package/gluon-ebtables-filter-ra-dhcp`
|
||||||
|
Loading…
Reference in New Issue
Block a user