[Olsr-users] How to test DLEP?

Vigneswaran R (spam-protected)
Wed Dec 3 13:07:05 CET 2014


On 12/03/2014 01:57 PM, Henning Rogge wrote:
> Hi,
>
> look into the DLEP_RADIO_README and DLEP_ROUTER_README (in the dlep
> plugin directory for an example) and/or run
>
> /usr/local/bin/olsrd2_static --set global.plugin=dlep_router --set
> global.plugin_path=/opt/git-root/oonf/build tap0 --schema=dlep_router
>
> to get a list of parameters of the plugin.
>
> I am in the process writing more "readme" files for OONF, which will
> also include DLEP... but it will take more time.

Ok, it helped.

FYI, I am able to run OLSRv2 with DLEP router plugin, by using the 
following command.

     /usr/local/bin/olsrd2_static tap15 --set global.plugin=dlep_router 
--set global.plugin_path=/opt/git-root/oonf/build --set 
dlep_router[tap15].discovery_mc_v4=224.0.0.110 --set 
dlep_router[tap15].discovery_port=270 --set 
dlep_router[tap15].discovery_bindto=0.0.0.0/0

I could see the following additional entries with 'netstat -nlpu|grep 
olsr' command,

     udp    0    0 15.0.0.1:35038     0.0.0.0:* 29302/olsrd2_static
     udp    0    0 224.0.0.110:270    0.0.0.0:* 29302/olsrd2_static

tcpdump shows the following packets (however, don't know what they are, 
as I don't have any dlep_radio running),

     17:30:58.643168 IP 15.0.0.1.35038 > 224.0.0.110.270: UDP, length 7
     17:30:59.743133 IP 15.0.0.1.35038 > 224.0.0.110.270: UDP, length 7

Thanks.

vignesh

>
> Henning
>
> On Wed, Dec 3, 2014 at 7:39 AM, Vigneswaran R <(spam-protected)> wrote:
>> On 11/27/2014 06:15 PM, Henning Rogge wrote:
>>> On Thu, Nov 27, 2014 at 1:43 PM, Vigneswaran R <(spam-protected)>
>>> wrote:
>>>> Ok. So, both dlep_radio, dlep_router are meant to be run on routers, and
>>>> nothing for radio device (assuming that the radio device has support for
>>>> DLEP already)?
>>> DLEP-router is the DLEP "receiver" component that (as the name
>>> suggests) runs on the router.
>>>
>>> DLEP-radio is the DLEP "transmitter" component that (see above) runs
>>> on the radio.
>>>
>>> On 802.11 radios you run a combination of nl80211_listener (to gather
>>> linklayer data) and dlep_radio (to transmit them on the router). For
>>> an emulated network you need something different than
>>> nl80211_listener.
>>
>> I just tried running olsrd2 with the dlep_router plugin using the following
>> command.
>>
>>      /usr/local/bin/olsrd2_static --set global.plugin=dlep_router --set
>> global.plugin_path=/opt/git-root/oonf/build tap0
>>
>> It ran without any errors. However, I expected it to listen on some TCP port
>> (DLEP port), but it didn't. Do, I need to do any additional configuration
>> for the dlep_router plugin? Thanks.
>>
>> Vignesh





More information about the Olsr-users mailing list