[Olsr-users] OLSRv2: routing table contains only direct neighbours

Lars Kruse (spam-protected)
Fri Mar 4 02:56:06 CET 2016


Hi,

I am running OLSRDv2 on openwrt:
 oonf-init-scripts - 0.9.1-r3
 oonf-olsrd2 - 0.9.2

Currently five nodes are connected:

  A
   \
    B---C---D
   /
  E

Here is the routing table of node B:

(spam-protected):~# ip route show table olsrd2
192.168.2.38 via 192.168.2.38 dev wlan0  proto 100  src 192.168.11.96
192.168.2.76 via 192.168.2.76 dev eth1.10  proto 100  src 192.168.11.96
192.168.1.120 via 192.168.1.120 dev eth0.10 proto 100  src 192.168.11.96

The above target routes belong to A, C and E - the direct neighbors of B.
The route for node D is missing in the routing table. 

The same goes for the routing tables of all other nodes: only the direct
neighbors are visible.

Nevertheless node B is aware of node D, as seen in the telnet interface:

  echo /nhdpinfo link_twohop | nc localhost 2009


I am slightly confused that the route to node D is not visible in the routing
table. I am used to the behaviour of OLSRDv1: here all routes for all known
nodes independent of their distance are visible in the routing table.

Was the concept for populating routing tables changed somehow between OLSRv1 and
v2?

Thank you for your time!

Cheers,
Lars



More information about the Olsr-users mailing list