[Olsr-users] OLSRd2 : some config problems in OpenWRT

Chaojie Yu (spam-protected)
Tue May 10 10:07:53 CEST 2016


Henning Rogge <hrogge <at> gmail.com> writes:

> "Adhoc0" is the Linux name of the wifi interface... so it is "wrong"
> to be used here...
> 
> *sigh* have to start working on an OpenWRT page for Olsrd2, you are
> right. Thank you for mentioning it.
> 
> There are two other bugs I am aware of that exists at the moment...
> 
> 1.) a problem with VLANs... this one should be fixed in the master
> branch. I will release an OpenWRT package SOON (maybe today).
> 
> 2.) a strange problem with MTU (I think)... still working on this one.
> 
> You could use the OONF git repository as a package feed for OpenWRT
> and compile a "git" package to see if the VLAN is relevant for your
> case.
> 
> I will need a few more days to work on the second problem (it doesn't
> help to have an important project meeting three days this week).
> 
> Henning
> 

Hi, Henning

I have used OONF git repository as the package feed and it works, Thanks!
But there is still some problem in the mesh network. Below attached the my
network topology:

               2---
              /    \ 
             /      \
            7--------6--------5--------1 
           /
          /
         8
There is 6 nodes in the network, but only node 1,5,6,7 will be discussed
here. Node 1,5,6,7 are in different neighboring rooms, and the problem is
that node 1 cannot ping node 7 due to the route selection by olsrd2. The
best route selection should be 1->5->6->7, and node 1 can ping node 7 with
this route. However, at most time olsrd2 will select the route 1->5->7. This
should also be fine since node 5 is directly linked to node 7, but the fact
is node 5 cannot ping node 7, maybe due to the interference of node 6
(because when i shutdown node 6, node 5 can ping node 7).

So i wonder if there is any method or any metrics that i can set to make the
olsrd2 choose the route 1->5->6->7 instead of 1->5->7?

And following is some infomation about these four nodes if you need:
- ip addr
- echo /olsrv2info originator | nc 127.0.0.1 2009
- echo /nhdpinfo link | nc 127.0.0.1 2009
- echo /nhdpinfo link_twohop | nc 127.0.0.1 2009
- echo /olsrv2info route | nc 127.0.0.1 2009


***********************************
NODE 1 
***********************************

(spam-protected):~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
    link/ether 22:4e:7f:85:bb:90 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::204e:7fff:fe85:bb90/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
    link/ether 20:4e:7f:85:bb:91 brd ff:ff:ff:ff:ff:ff
    inet 210.45.76.1/24 brd 210.45.76.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::224e:7fff:fe85:bb91/64 scope link 
       valid_lft forever preferred_lft forever
4: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether 66:93:bb:69:87:b9 brd ff:ff:ff:ff:ff:ff
5: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether de:4b:fd:d6:8d:00 brd ff:ff:ff:ff:ff:ff
7: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
qlen 1000
    link/ether 20:4e:7f:85:bb:92 brd ff:ff:ff:ff:ff:ff
8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default 
    link/ether 22:4e:7f:85:bb:90 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fe80::204e:7fff:fe85:bb90/64 scope link 
       valid_lft forever preferred_lft forever
9: (spam-protected): <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
master br-lan state UP group default 
    link/ether 22:4e:7f:85:bb:90 brd ff:ff:ff:ff:ff:ff
10: adhoc0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
    link/ether 20:4e:7f:85:bb:90 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/24 brd 10.0.0.255 scope global adhoc0
       valid_lft forever preferred_lft forever
    inet6 fe80::224e:7fff:fe85:bb90/64 scope link 
       valid_lft forever preferred_lft forever
11: wlan0-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
br-lan state UP group default qlen 1000
    link/ether 22:4e:7f:85:bb:90 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::204e:7fff:fe85:bb90/64 scope link 
       valid_lft forever preferred_lft forever

(spam-protected):~# echo /olsrv2info originator | nc 127.0.0.1 2009
10.0.0.1
fe80::224e:7fff:fe85:bb90

(spam-protected):~# echo /nhdpinfo link | nc 127.0.0.1 2009
adhoc0	fe80::861b:5eff:fe7a:7a22	20	2	19.825	19.925	39.925	symmetric
10.0.0.5	84:1b:5e:7a:7a:22	fe80::861b:5eff:fe7a:7a22	10.0.0.5	0
ff_dat_metric	894bit/s	2400000	894bit/s	2400000
p_recv=76,p_total=79,speed=1024,success=7,missed_hello=0,lastseq=53296,lneigh=4
adhoc0	10.0.0.5	20	2	17.825	17.925	37.925	symmetric
fe80::861b:5eff:fe7a:7a22	84:1b:5e:7a:7a:22	10.0.0.5
fe80::861b:5eff:fe7a:7a22	0	ff_dat_metric	894bit/s	2400000	894bit/s	2400000
p_recv=31,p_total=33,speed=1024,success=7,missed_hello=0,lastseq=57108,lneigh=4
adhoc0	fe80::861b:5eff:fe7a:78c0	20	2	1.325	20.025	40.025	symmetric
10.0.0.6	84:1b:5e:7a:78:c0	-	-	0ff_dat_metric	383bit/s	5603072	infinite
16777215
p_recv=30,p_total=84,speed=1024,success=3,missed_hello=0,lastseq=28142,lneigh=5
adhoc0	10.0.0.6	20	2	-1320.375	13.925	33.925	heard
fe80::861b:5eff:fe7a:78c0	84:1b:5e:7a:78:c0	10.0.0.6
fe80::861b:5eff:fe7a:78c0	0	ff_dat_metric	233bit/s	9207552	infinite
16777215
p_recv=9,p_total=34,speed=1024,success=1,missed_hello=2,lastseq=28275,lneigh=4

(spam-protected):~#  echo /nhdpinfo link_twohop | nc 127.0.0.1 2009 
adhoc0	fe80::861b:5eff:fe7a:7a22	fe80::861b:5eff:fe7a:7a22
fe80::861b:5eff:fe7a:78c0	true	19.268	ff_dat_metric	766bit/s	2801408
993bit/s	2162432
adhoc0	fe80::861b:5eff:fe7a:7a22	fe80::861b:5eff:fe7a:7a22
fe80::861b:5eff:fe7a:8dde	true	19.268	ff_dat_metric	128bit/s	16776960
894bit/s	2400000
adhoc0	10.0.0.5	10.0.0.5	10.0.0.6	true	19.268	ff_dat_metric	639bit/s
3358464	894bit/s	2400000
adhoc0	10.0.0.5	10.0.0.5	10.0.0.7	true	19.268	ff_dat_metric	128bit/s
16776960	766bit/s	2801408
adhoc0	fe80::861b:5eff:fe7a:78c0	-	fe80::7644:1ff:fe71:b246	true	11.168
ff_dat_metric	128bit/s	16776960	128bit/s	16776960
adhoc0	fe80::861b:5eff:fe7a:78c0	-	fe80::861b:5eff:fe7a:7a22	true	11.168
ff_dat_metric	993bit/s	2162432	766bit/s	2801408
adhoc0	fe80::861b:5eff:fe7a:78c0	-	fe80::861b:5eff:fe7a:8dde	true	11.168
ff_dat_metric	766bit/s	2801408	894bit/s	2400000
adhoc0	10.0.0.6	10.0.0.6	10.0.0.2	true	19.568	ff_dat_metric	128bit/s
16776960	128bit/s	16776960
adhoc0	10.0.0.6	10.0.0.6	10.0.0.5	true	19.568	ff_dat_metric	894bit/s
2400000	639bit/s	3358464
adhoc0	10.0.0.6	10.0.0.6	10.0.0.7	true	19.568	ff_dat_metric	894bit/s
2400000	894bit/s	2400000

(spam-protected):~# echo /olsrv2info route | nc 127.0.0.1 2009
10.0.0.2	10.0.0.5	10.0.0.1	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.7	0
ff_dat_metric	813bit/s (4 hops)	10558464	4
10.0.0.5	-	10.0.0.1	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.1	0	ff_dat_metric
894bit/s (1 hops)	2400000	1
10.0.0.6	10.0.0.5	10.0.0.1	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.5	0
ff_dat_metric	894bit/s (2 hops)	4800000	2
10.0.0.7	10.0.0.5	10.0.0.1	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.6	0
ff_dat_metric	894bit/s (3 hops)	7200000	3

*********************************
NODE 5
*********************************

(spam-protected):~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
    link/ether 86:1b:5e:7a:7a:22 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::841b:5eff:fe7a:7a22/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
    link/ether 84:1b:5e:7a:7a:23 brd ff:ff:ff:ff:ff:ff
    inet 210.45.76.5/24 brd 210.45.76.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::861b:5eff:fe7a:7a23/64 scope link 
       valid_lft forever preferred_lft forever
4: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether 52:7d:49:5b:10:fd brd ff:ff:ff:ff:ff:ff
5: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether 46:e0:55:30:fc:ec brd ff:ff:ff:ff:ff:ff
7: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
qlen 1000
    link/ether 84:1b:5e:7a:7a:24 brd ff:ff:ff:ff:ff:ff
8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default 
    link/ether 86:1b:5e:7a:7a:22 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.5/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fe80::841b:5eff:fe7a:7a22/64 scope link 
       valid_lft forever preferred_lft forever
9: (spam-protected): <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
master br-lan state UP group default 
    link/ether 86:1b:5e:7a:7a:22 brd ff:ff:ff:ff:ff:ff
10: adhoc0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
    link/ether 84:1b:5e:7a:7a:22 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.5/24 brd 10.0.0.255 scope global adhoc0
       valid_lft forever preferred_lft forever
    inet6 fe80::861b:5eff:fe7a:7a22/64 scope link 
       valid_lft forever preferred_lft forever
11: wlan0-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
br-lan state UP group default qlen 1000
    link/ether 86:1b:5e:7a:7a:22 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::841b:5eff:fe7a:7a22/64 scope link 
       valid_lft forever preferred_lft forever

(spam-protected):~# echo /olsrv2info originator | nc 127.0.0.1 2009
10.0.0.5
fe80::861b:5eff:fe7a:7a22

(spam-protected):~# echo /nhdpinfo link | nc 127.0.0.1 2009
adhoc0	10.0.0.1	20	2	19.693	19.793	39.793	symmetric
fe80::224e:7fff:fe85:bb90	20:4e:7f:85:bb:90	10.0.0.1
fe80::224e:7fff:fe85:bb90	0	ff_dat_metric	894bit/s	2400000	894bit/s	2400000
p_recv=30,p_total=33,speed=1024,success=7,missed_hello=0,lastseq=14677,lneigh=8
adhoc0	fe80::224e:7fff:fe85:bb90	20	2	19.593	19.693	39.693	symmetric
10.0.0.1	20:4e:7f:85:bb:90	fe80::224e:7fff:fe85:bb90	10.0.0.1	0
ff_dat_metric	894bit/s	2400000	894bit/s	2400000
p_recv=68,p_total=75,speed=1024,success=7,missed_hello=0,lastseq=23094,lneigh=8
adhoc0	fe80::861b:5eff:fe7a:78c0	20	2	19.193	19.293	39.293	symmetric
10.0.0.6	84:1b:5e:7a:78:c0	fe80::861b:5eff:fe7a:78c0	10.0.0.6	0
ff_dat_metric	766bit/s	2801408	894bit/s	2400000
p_recv=54,p_total=70,speed=1024,success=6,missed_hello=0,lastseq=28265,lneigh=8
adhoc0	10.0.0.6	20	2	12.893	12.993	32.993	symmetric
fe80::861b:5eff:fe7a:78c0	84:1b:5e:7a:78:c0	10.0.0.6
fe80::861b:5eff:fe7a:78c0	0	ff_dat_metric	639bit/s	3358464	894bit/s	2400000
p_recv=30,p_total=43,speed=1024,success=5,missed_hello=2,lastseq=28341,lneigh=8
adhoc0	10.0.0.7	20	2	-1389.507	-1389.507	9.793	lost
fe80::861b:5eff:fe7a:8dde	84:1b:5e:7a:8d:de	10.0.0.7
fe80::861b:5eff:fe7a:8dde	0	ff_dat_metric	128bit/s	16776960	894bit/s
2400000
p_recv=3,p_total=21,speed=1024,success=1,missed_hello=4,lastseq=16637,lneigh=8
adhoc0	fe80::861b:5eff:fe7a:8dde	20	2	8.593	8.693	28.693	symmetric
10.0.0.7	84:1b:5e:7a:8d:de	fe80::861b:5eff:fe7a:8dde	10.0.0.7	0
ff_dat_metric	128bit/s	16776960	894bit/s	2400000
p_recv=13,p_total=89,speed=1024,success=1,missed_hello=1,lastseq=59481,lneigh=8
adhoc0	10.0.0.2	20	2	-1389.507	-1389.507	9.093	lost
fe80::7644:1ff:fe71:b246	74:44:01:71:b2:46	10.0.0.2
fe80::7644:1ff:fe71:b246	0	ff_dat_metric	128bit/s	16776960	255bit/s	8421120
p_recv=0,p_total=64,speed=1024,success=0,missed_hello=0,lastseq=0,lneigh=0
adhoc0	fe80::7644:1ff:fe71:b246	20	2	-1389.507	-1389.507	11.193	lost
10.0.0.2	74:44:01:71:b2:46	fe80::7644:1ff:fe71:b246	10.0.0.2	0
ff_dat_metric	128bit/s	16776960	128bit/s	16776960
p_recv=1,p_total=64,speed=1024,success=0,missed_hello=0,lastseq=44173,lneigh=0

(spam-protected):~#  echo /nhdpinfo link_twohop | nc 127.0.0.1 2009 
adhoc0	10.0.0.1	10.0.0.1	10.0.0.6	true	17.412	ff_dat_metric	383bit/s
5603072	infinite	16777215
adhoc0	fe80::224e:7fff:fe85:bb90	fe80::224e:7fff:fe85:bb90
fe80::861b:5eff:fe7a:78c0	true	19.612	ff_dat_metric	infinite	16777215
infinite	16777215
adhoc0	fe80::861b:5eff:fe7a:78c0	fe80::861b:5eff:fe7a:78c0
fe80::224e:7fff:fe85:bb90	true	19.012	ff_dat_metric	255bit/s	8421120
383bit/s	5603072
adhoc0	fe80::861b:5eff:fe7a:78c0	fe80::861b:5eff:fe7a:78c0
fe80::7644:1ff:fe71:b246	true	19.012	ff_dat_metric	128bit/s	16776960
128bit/s	16776960
adhoc0	fe80::861b:5eff:fe7a:78c0	fe80::861b:5eff:fe7a:78c0
fe80::861b:5eff:fe7a:8dde	true	19.012	ff_dat_metric	766bit/s	2801408
894bit/s	2400000
adhoc0	10.0.0.6	10.0.0.6	10.0.0.1	true	19.012	ff_dat_metric	128bit/s
16776960	383bit/s	5603072
adhoc0	10.0.0.6	10.0.0.6	10.0.0.2	true	19.012	ff_dat_metric	128bit/s
16776960	128bit/s	16776960
adhoc0	10.0.0.6	10.0.0.6	10.0.0.7	true	19.012	ff_dat_metric	894bit/s
2400000	894bit/s	2400000
adhoc0	10.0.0.7	10.0.0.7	10.0.0.2	true	14.712	ff_dat_metric	766bit/s
2801408	751bit/s	2858752
adhoc0	10.0.0.7	10.0.0.7	10.0.0.6	true	14.712	ff_dat_metric	894bit/s
2400000	894bit/s	2400000
adhoc0	fe80::861b:5eff:fe7a:8dde	fe80::861b:5eff:fe7a:8dde
fe80::7644:1ff:fe71:b246	true	6.312	ff_dat_metric	766bit/s	2801408	639bit/s
3358464
adhoc0	fe80::861b:5eff:fe7a:8dde	fe80::861b:5eff:fe7a:8dde
fe80::861b:5eff:fe7a:78c0	true	6.312	ff_dat_metric	894bit/s	2400000
766bit/s	2801408

(spam-protected):~# echo /olsrv2info route | nc 127.0.0.1 2009
10.0.0.1	-	10.0.0.5	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.5	0	ff_dat_metric
1020bit/s (1 hops)	2105088	1
10.0.0.2	10.0.0.7	10.0.0.5	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.7	0
ff_dat_metric	736bit/s (2 hops)	5832192	2
10.0.0.6	-	10.0.0.5	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.5	0	ff_dat_metric
894bit/s (1 hops)	2400000	1
10.0.0.7	-	10.0.0.5	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.5	0	ff_dat_metric
868bit/s (1 hops)	2473728	1

**************************************
NODE 6
**************************************

(spam-protected):~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
    link/ether 86:1b:5e:7a:78:c0 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::841b:5eff:fe7a:78c0/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
    link/ether 84:1b:5e:7a:78:c1 brd ff:ff:ff:ff:ff:ff
    inet 210.45.76.6/24 brd 210.45.76.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::861b:5eff:fe7a:78c1/64 scope link 
       valid_lft forever preferred_lft forever
4: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether a6:f2:ec:81:1f:63 brd ff:ff:ff:ff:ff:ff
5: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether 5a:7f:9b:14:02:7f brd ff:ff:ff:ff:ff:ff
7: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
qlen 1000
    link/ether 84:1b:5e:7a:78:c2 brd ff:ff:ff:ff:ff:ff
8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default 
    link/ether 86:1b:5e:7a:78:c0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.6/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fe80::841b:5eff:fe7a:78c0/64 scope link 
       valid_lft forever preferred_lft forever
9: (spam-protected): <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
master br-lan state UP group default 
    link/ether 86:1b:5e:7a:78:c0 brd ff:ff:ff:ff:ff:ff
10: adhoc0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
    link/ether 84:1b:5e:7a:78:c0 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.6/24 brd 10.0.0.255 scope global adhoc0
       valid_lft forever preferred_lft forever
    inet6 fe80::861b:5eff:fe7a:78c0/64 scope link 
       valid_lft forever preferred_lft forever
11: wlan0-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
br-lan state UP group default qlen 1000
    link/ether 86:1b:5e:7a:78:c0 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::841b:5eff:fe7a:78c0/64 scope link 
       valid_lft forever preferred_lft forever

(spam-protected):~# echo /olsrv2info originator | nc 127.0.0.1 2009
10.0.0.6
fe80::861b:5eff:fe7a:78c0

(spam-protected):~# echo /nhdpinfo link | nc 127.0.0.1 2009
adhoc0	10.0.0.5	20	2	19.561	19.661	39.661	symmetric
fe80::861b:5eff:fe7a:7a22	84:1b:5e:7a:7a:22	10.0.0.5
fe80::861b:5eff:fe7a:7a22	0	ff_dat_metric	894bit/s	2400000	639bit/s	3358464
p_recv=31,p_total=35,speed=1024,success=7,missed_hello=0,lastseq=57170,lneigh=10
adhoc0	fe80::861b:5eff:fe7a:7a22	20	2	19.561	19.661	39.661	symmetric
10.0.0.5	84:1b:5e:7a:7a:22	fe80::861b:5eff:fe7a:7a22	10.0.0.5	0
ff_dat_metric	894bit/s	2400000	766bit/s	2801408
p_recv=70,p_total=74,speed=1024,success=7,missed_hello=0,lastseq=53416,lneigh=10
adhoc0	fe80::861b:5eff:fe7a:8dde	20	2	19.761	19.861	39.861	symmetric
10.0.0.7	84:1b:5e:7a:8d:de	fe80::861b:5eff:fe7a:8dde	10.0.0.7	0
ff_dat_metric	766bit/s	2801408	894bit/s	2400000
p_recv=65,p_total=90,speed=1024,success=6,missed_hello=0,lastseq=59491,lneigh=10
adhoc0	10.0.0.7	20	2	19.861	19.961	39.961	symmetric
fe80::861b:5eff:fe7a:8dde	84:1b:5e:7a:8d:de	10.0.0.7
fe80::861b:5eff:fe7a:8dde	0	ff_dat_metric	894bit/s	2400000	894bit/s	2400000
p_recv=28,p_total=34,speed=1024,success=7,missed_hello=0,lastseq=16653,lneigh=10
adhoc0	fe80::7644:1ff:fe71:b246	20	2	-1386.339	16.961	36.961	heard
10.0.0.2	74:44:01:71:b2:46	fe80::7644:1ff:fe71:b246	10.0.0.2	0
ff_dat_metric	128bit/s	16776960	infinite	16777215
p_recv=8,p_total=68,speed=1024,success=1,missed_hello=1,lastseq=44174,lneigh=8
adhoc0	10.0.0.2	20	2	16.961	17.061	37.061	symmetric
fe80::7644:1ff:fe71:b246	74:44:01:71:b2:46	10.0.0.2
fe80::7644:1ff:fe71:b246	0	ff_dat_metric	128bit/s	16776960	128bit/s
16776960
p_recv=7,p_total=33,speed=1024,success=1,missed_hello=1,lastseq=43126,lneigh=10
adhoc0	10.0.0.1	20	2	14.161	14.261	34.261	symmetric
fe80::224e:7fff:fe85:bb90	20:4e:7f:85:bb:90	10.0.0.1
fe80::224e:7fff:fe85:bb90	0	ff_dat_metric	128bit/s	16776960	383bit/s
5603072
p_recv=5,p_total=49,speed=1024,success=0,missed_hello=2,lastseq=14676,lneigh=0
adhoc0	fe80::224e:7fff:fe85:bb90	20	2	14.161	14.261	34.261	symmetric
10.0.0.1	20:4e:7f:85:bb:90	fe80::224e:7fff:fe85:bb90	10.0.0.1	0
ff_dat_metric	128bit/s	16776960	383bit/s	5603072
p_recv=14,p_total=63,speed=1024,success=1,missed_hello=2,lastseq=23092,lneigh=10
adhoc0	fe80::2eb0:5dff:fe9c:44ed	20	2	-1386.339	7.861	27.861	heard	-
2c:b0:5d:9c:44:ed	fe80::2eb0:5dff:fe9c:44ed	-	0	ff_dat_metric	128bit/s
16776960	infinite	16777215
p_recv=0,p_total=64,speed=1024,success=0,missed_hello=0,lastseq=0,lneigh=0
adhoc0	10.0.0.8	20	2	-1386.339	16.261	36.261	heard	-	2c:b0:5d:9c:44:ed
10.0.0.8	-	0	ff_dat_metric	128bit/s	16776960	infinite	16777215
p_recv=0,p_total=64,speed=1024,success=0,missed_hello=0,lastseq=0,lneigh=0

(spam-protected):~#  echo /nhdpinfo link_twohop | nc 127.0.0.1 2009 
adhoc0	10.0.0.5	10.0.0.5	10.0.0.1	true	19.964	ff_dat_metric	894bit/s
2400000	993bit/s	2162432
adhoc0	10.0.0.5	10.0.0.5	10.0.0.7	true	19.964	ff_dat_metric	128bit/s
16776960	766bit/s	2801408
adhoc0	fe80::861b:5eff:fe7a:7a22	fe80::861b:5eff:fe7a:7a22
fe80::224e:7fff:fe85:bb90	true	19.964	ff_dat_metric	894bit/s	2400000
894bit/s	2400000
adhoc0	fe80::861b:5eff:fe7a:7a22	fe80::861b:5eff:fe7a:7a22
fe80::861b:5eff:fe7a:8dde	true	19.964	ff_dat_metric	128bit/s	16776960
894bit/s	2400000
adhoc0	fe80::861b:5eff:fe7a:8dde	fe80::861b:5eff:fe7a:8dde
fe80::7644:1ff:fe71:b246	true	18.164	ff_dat_metric	766bit/s	2801408
766bit/s	2801408
adhoc0	fe80::861b:5eff:fe7a:8dde	fe80::861b:5eff:fe7a:8dde
fe80::861b:5eff:fe7a:7a22	true	18.164	ff_dat_metric	894bit/s	2400000
128bit/s	16776960
adhoc0	10.0.0.7	10.0.0.7	10.0.0.2	true	18.164	ff_dat_metric	766bit/s
2801408	639bit/s	3358464
adhoc0	10.0.0.7	10.0.0.7	10.0.0.5	true	18.164	ff_dat_metric	766bit/s
2801408	128bit/s	16776960
adhoc0	fe80::7644:1ff:fe71:b246	fe80::7644:1ff:fe71:b246
fe80::861b:5eff:fe7a:8dde	true	0.564	ff_dat_metric	639bit/s	3358464
766bit/s	2801408
adhoc0	10.0.0.2	10.0.0.2	10.0.0.7	true	17.364	ff_dat_metric	639bit/s
3358464	766bit/s	2801408
adhoc0	10.0.0.1	10.0.0.1	10.0.0.5	true	18.764	ff_dat_metric	993bit/s
2162432	894bit/s	2400000
adhoc0	fe80::224e:7fff:fe85:bb90	fe80::224e:7fff:fe85:bb90
fe80::861b:5eff:fe7a:7a22	true	1.964	ff_dat_metric	894bit/s	2400000
894bit/s	2400000

(spam-protected):~# echo /olsrv2info route | nc 127.0.0.1 2009
10.0.0.1	10.0.0.5	10.0.0.6	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.5	0
ff_dat_metric	875bit/s (2 hops)	4906496	2
10.0.0.2	10.0.0.7	10.0.0.6	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.7	0
ff_dat_metric	745bit/s (2 hops)	5758464	2
10.0.0.5	-	10.0.0.6	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.6	0	ff_dat_metric
766bit/s (1 hops)	2801408	1
10.0.0.7	-	10.0.0.6	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.6	0	ff_dat_metric
894bit/s (1 hops)	2400000	1

**************************************
NODE 7
**************************************

(spam-protected):~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
    link/ether 86:1b:5e:7a:8d:de brd ff:ff:ff:ff:ff:ff
    inet6 fe80::841b:5eff:fe7a:8dde/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
    link/ether 84:1b:5e:7a:8d:df brd ff:ff:ff:ff:ff:ff
    inet 210.45.76.7/24 brd 210.45.76.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::861b:5eff:fe7a:8ddf/64 scope link 
       valid_lft forever preferred_lft forever
4: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether 82:22:29:ee:11:52 brd ff:ff:ff:ff:ff:ff
5: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether 1e:f3:93:e1:5b:e2 brd ff:ff:ff:ff:ff:ff
7: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
qlen 1000
    link/ether 84:1b:5e:7a:8d:e0 brd ff:ff:ff:ff:ff:ff
8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default 
    link/ether 86:1b:5e:7a:8d:de brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.7/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fe80::841b:5eff:fe7a:8dde/64 scope link 
       valid_lft forever preferred_lft forever
9: (spam-protected): <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
master br-lan state UP group default 
    link/ether 86:1b:5e:7a:8d:de brd ff:ff:ff:ff:ff:ff
10: adhoc0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
    link/ether 84:1b:5e:7a:8d:de brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.7/24 brd 10.0.0.255 scope global adhoc0
       valid_lft forever preferred_lft forever
    inet6 fe80::861b:5eff:fe7a:8dde/64 scope link 
       valid_lft forever preferred_lft forever
11: wlan0-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
br-lan state UP group default qlen 1000
    link/ether 86:1b:5e:7a:8d:de brd ff:ff:ff:ff:ff:ff
    inet6 fe80::841b:5eff:fe7a:8dde/64 scope link 
       valid_lft forever preferred_lft forever

(spam-protected):~# echo /olsrv2info originator | nc 127.0.0.1 2009
10.0.0.7
fe80::861b:5eff:fe7a:8dde

(spam-protected):~# echo /nhdpinfo link | nc 127.0.0.1 2009
adhoc0	10.0.0.6	20	2	19.373	19.473	39.473	symmetric
fe80::861b:5eff:fe7a:78c0	84:1b:5e:7a:78:c0	10.0.0.6
fe80::861b:5eff:fe7a:78c0	0	ff_dat_metric	894bit/s	2400000	894bit/s	2400000
p_recv=41,p_total=47,speed=1024,success=7,missed_hello=0,lastseq=28347,lneigh=9
adhoc0	10.0.0.2	20	2	18.573	18.673	38.673	symmetric
fe80::7644:1ff:fe71:b246	74:44:01:71:b2:46	10.0.0.2
fe80::7644:1ff:fe71:b246	0	ff_dat_metric	766bit/s	2801408	766bit/s	2801408
p_recv=28,p_total=33,speed=1024,success=6,missed_hello=0,lastseq=43128,lneigh=8
adhoc0	fe80::7644:1ff:fe71:b246	20	2	18.573	18.673	38.673	symmetric
10.0.0.2	74:44:01:71:b2:46	fe80::7644:1ff:fe71:b246	10.0.0.2	0
ff_dat_metric	766bit/s	2801408	766bit/s	2801408
p_recv=52,p_total=68,speed=1024,success=6,missed_hello=0,lastseq=44178,lneigh=8
adhoc0	10.0.0.5	20	2	19.073	19.173	39.173	symmetric
fe80::861b:5eff:fe7a:7a22	84:1b:5e:7a:7a:22	10.0.0.5
fe80::861b:5eff:fe7a:7a22	0	ff_dat_metric	766bit/s	2801408	128bit/s
16776960
p_recv=27,p_total=35,speed=1024,success=6,missed_hello=0,lastseq=57171,lneigh=9
adhoc0	fe80::861b:5eff:fe7a:7a22	20	2	19.073	19.173	39.173	symmetric
10.0.0.5	84:1b:5e:7a:7a:22	fe80::861b:5eff:fe7a:7a22	10.0.0.5	0
ff_dat_metric	894bit/s	2400000	128bit/s	16776960
p_recv=65,p_total=75,speed=1024,success=7,missed_hello=0,lastseq=53418,lneigh=9
adhoc0	fe80::861b:5eff:fe7a:78c0	20	2	17.273	17.373	37.373	symmetric
10.0.0.6	84:1b:5e:7a:78:c0	fe80::861b:5eff:fe7a:78c0	10.0.0.6	0
ff_dat_metric	894bit/s	2400000	766bit/s	2801408
p_recv=67,p_total=71,speed=1024,success=7,missed_hello=0,lastseq=28271,lneigh=9
adhoc0	fe80::2eb0:5dff:fe9c:44ed	20	2	-1386.927	9.473	29.473	heard
10.0.0.8	2c:b0:5d:9c:44:ed	fe80::2eb0:5dff:fe9c:44ed	10.0.0.8	0
ff_dat_metric	255bit/s	8421120	infinite	16777215
p_recv=10,p_total=29,speed=1024,success=2,missed_hello=4,lastseq=39072,lneigh=8
adhoc0	10.0.0.8	20	2	-1386.927	5.273	25.273	heard
fe80::2eb0:5dff:fe9c:44ed	2c:b0:5d:9c:44:ed	10.0.0.8
fe80::2eb0:5dff:fe9c:44ed	0	ff_dat_metric	128bit/s	16776960	infinite
16777215
p_recv=5,p_total=27,speed=1024,success=1,missed_hello=6,lastseq=52203,lneigh=8

(spam-protected):~#  echo /nhdpinfo link_twohop | nc 127.0.0.1 2009 
adhoc0	10.0.0.6	10.0.0.6	10.0.0.5	true	18.034	ff_dat_metric	1020bit/s
2105088	639bit/s	3358464
adhoc0	10.0.0.2	10.0.0.2	10.0.0.5	true	17.234	ff_dat_metric	383bit/s
5603072	128bit/s	16776960
adhoc0	10.0.0.5	10.0.0.5	10.0.0.1	true	19.834	ff_dat_metric	894bit/s
2400000	894bit/s	2400000
adhoc0	10.0.0.5	10.0.0.5	10.0.0.6	true	19.834	ff_dat_metric	639bit/s
3358464	1020bit/s	2105088
adhoc0	fe80::861b:5eff:fe7a:7a22	fe80::861b:5eff:fe7a:7a22
fe80::224e:7fff:fe85:bb90	true	19.834	ff_dat_metric	766bit/s	2801408
894bit/s	2400000
adhoc0	fe80::861b:5eff:fe7a:7a22	fe80::861b:5eff:fe7a:7a22
fe80::861b:5eff:fe7a:78c0	true	19.834	ff_dat_metric	766bit/s	2801408
894bit/s	2400000
adhoc0	fe80::861b:5eff:fe7a:78c0	fe80::861b:5eff:fe7a:78c0
fe80::861b:5eff:fe7a:7a22	true	18.034	ff_dat_metric	894bit/s	2400000
766bit/s	2801408

(spam-protected):~# echo /olsrv2info route | nc 127.0.0.1 2009
10.0.0.1	10.0.0.6	10.0.0.7	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.5	0
ff_dat_metric	881bit/s (3 hops)	7306496	3
10.0.0.2	-	10.0.0.7	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.7	0	ff_dat_metric
766bit/s (1 hops)	2801408	1
10.0.0.5	10.0.0.6	10.0.0.7	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.6	0
ff_dat_metric	825bit/s (2 hops)	5201408	2
10.0.0.6	-	10.0.0.7	0.0.0.0/0	2	254	100	adhoc0	10	10.0.0.7	0	ff_dat_metric
894bit/s (1 hops)	2400000	1





More information about the Olsr-users mailing list