[Babel-users] Metrics

Juliusz Chroboczek jch at pps.jussieu.fr
Wed Jul 13 13:48:38 UTC 2011


> A question about the metrics in the route struct:

That's not a question ;-)

> - refmetric:	Holds the metric, which a neighbor announced for this route.
> - metric:	This is computed as metric=(cost + refmetric), the
>               metric that will be announced to the neighbors.

Yep.  In the next version of babeld, there will no longer be a metric
field, it will be computed on the fly.  (That's already the case in
babelz.)

> The cost is calculated for each neighbor as: txcost * rxcost / 256

That depends on the metric.  For links using ETX, that's the case, but
babeld uses the 3-out-of-2 metric for wired links.  See Appendix A.2.1
of RFC 6126, and grep for NET_LQ in neighbour.c.

-- Juliusz



More information about the Babel-users mailing list