[Olsr-users] OLSRv2: default ethernet link speed

Martin Garbe (spam-protected)
Tue Jul 26 22:44:37 CEST 2016

On 06/25/2016 12:12 PM, Henning Rogge wrote:
> On Sun, Jun 19, 2016 at 6:06 PM, Lars Kruse <(spam-protected)> wrote:
>> Regarding this topic I went through a discussion of Bastian and Henning from
>> May 2014 [1]. The conclusion of this thread seems to indicate that the
>> "eth_listener" plugin is not conceived as a solution for the future but more as
>> an intermediate hack. The "link_config" plugin was suggested as an alternative
>> that allows static (configurable) bitrates for each interface [2].

I try to configure a tap0 device with link_config plugin to set speed
manually. I set some arbitrary values in OpenWRT config for testing:
config interface
        option ifname 'tap0'

        option rx_bitrate '20480000'
        option tx_bitrate '1000000'
        option rx_max_bitrate '20000000'
        option tx_max_bitrate '1000000'
        option rx_signal  '20480000'

But when listing olsrv2info route I always get 1020bit/s:

2001:67c:1400:2430:5054:ff:fea0:3100	fe80::1427:f0ff:fec3:e52c	-	::/0	2
14	100	tap0	9	2001:67c:1400:2432:c04a:ff:fe40:adc2	0	ff_dat_metric
1020bit/s (1 hops)	2105088	1

I checked that the link_config plugin is loaded.

Now I have two questions:
- Does anybody now what I am doing wrong?
- I want to set the speed for an vpn interface with speed of 50mbit/s
down and 10mbit/s up. What would be your advice to set the values for
the link_config plugin. It would be nice to have some example on the
documentation [1] page. I search for examples in the internet but
without success.


[1] http://www.olsr.org/mediawiki/index.php/Link_Config_Plugin

More information about the Olsr-users mailing list