[Olsr-dev] some thinking about the constant metric

Henning Rogge (spam-protected)
Tue Sep 29 19:55:28 CEST 2015


Hmm...

you are right, the description of the plugin in the wiki is somehow
of... I will try to fix it and add an example.

On Tue, Sep 29, 2015 at 5:43 PM, work_xl <(spam-protected)> wrote:
> Hi,
> I am now reading the constant metric plugin code and have got a question
> about the way to use it.A constant metric is bound to a link which is
> indexed with a neighbour address and an interface name.The doc said the  we
> can use 'any' to  as a wildcard(I didn't check it carefully in the source
> code),but it seems that the neighbor address must not be 'any'.
> Here is my thought, in many adhoc networks,we don't know the neighbors'
> addresses before we "neighbor" them . The olsrd2 would be easier to use if
> we could just use 'any' to map all the neighbors which is linked through one
> interface.In heterogeneous adhoc networks, a router often links different
> radios through different interfaces.So interfaces have their own metrics
> instead of globe metric is understandable.Is there any reason we don't use
> 'any' neighbor address? Or Do I misunderstand the source code ?

I will have a look at it...

> BTW, as a rookie,I have spent a few days in the oonf and learned a lot from
> it .Thanks for your great job.

Thank you... hopefully you will find the source useful, the idea
behind the whole modularization was that other people could use it to
build other apps.

Henning Rogge




More information about the Olsr-dev mailing list