[Olsr-users] How to test DLEP?
Henning Rogge
(spam-protected)
Wed Dec 3 13:21:21 CET 2014
On Wed, Dec 3, 2014 at 1:07 PM, Vigneswaran R <(spam-protected)> wrote:
> Ok, it helped.
Good :)
> 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
that would be the equivalent of the following configuration file:
[global]
plugin dlep_router
plugin_path /opt/git-root/oonf/build
[dlep_router]
discovery_mc_v4 224.0.0.110
discovery_port 270
discovery_bindto 0.0.0.0/0
Normally you should attach the DLEP discovery to a single interface
which you use to communicate with the DLEP radio. Otherwise you will
have trouble to interpret the DLEP data because you don't know for
which interface they are.
> 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
That is the DLEP-router trying to discover the DLEP-radio.
Henning Rogge
More information about the Olsr-users
mailing list