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

Martin Garbe (spam-protected)
Wed Mar 30 07:19:59 CEST 2016


On 03/29/2016 11:26 PM, Martin Garbe wrote:
>> it looks to me that node C does not have a valid IPv4 configuration,
>> it only sees IPv6 neighbors.
>>
>> This is also the reason that the IPv4 link from B to C and from D to C
>> is only "heard" (asymmetric).
> 
> Does that mean that nodes nead always a valid IPv4 configuration?
> I am asking because we want to build an IPv6 only network with OLSRv2.
> 
> I have the same problem here that in TC messages only the IP of the
> sender is included. I think my AP configuration is similar to Lars' config.
> 

Let me send more information of my setup here. I have three nodes A-B-C.
Output of the following commands
- echo /olsrv2info route | nc ::1 2009
- echo /nhdpinfo link_twohop | nc ::1 2009
- ifconfig
is included in the text file.
A cannot ping C and vice versa because of missing routes. But all IPs
are available in twohop neighbor information.

Thanks,
Martin



-------------- next part --------------

###Node A####

(spam-protected):~# echo /olsrv2info route | nc ::1 2009
10.2.2.30	192.168.2.30	192.168.33.127	0.0.0.0/0	2	254	100	wlan0	8	192.168.33.127	0	ff_dat_metric	136.533 Mbit/s (1 hops)	15	1
2001:67c:1400:2431::2030	fe80::c24a:ff:fe40:adc2	-	::/0	2	254	100	wlan0	8	2001:67c:1400:2431::2001	0	ff_dat_metric	136.533 Mbit/s (1 hops)	15	1
192.168.2.30	-	192.168.33.127	0.0.0.0/0	2	254	100	wlan0	8	192.168.33.127	0	ff_dat_metric	136.533 Mbit/s (1 hops)	15	1

(spam-protected):~# echo /nhdpinfo link_twohop | nc ::1 2009
wlan0	fe80::c24a:ff:fe40:adc2	2001:67c:1400:2431::2030	2001:67c:1400:2431::245	false	18	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
wlan0	fe80::c24a:ff:fe40:adc2	2001:67c:1400:2431::2030	fd00::245	false	18	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
wlan0	fe80::c24a:ff:fe40:adc2	2001:67c:1400:2431::2030	fe80::e832:9cff:fee4:5da7	false	18	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088

ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: 2001:67c:1400:2431::2001/64 Scope:Global
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6144 (6.0 KiB)  TX bytes:6144 (6.0 KiB)

wlan0     Link encap:Ethernet  HWaddr C4:E9:84:7D:E4:49  
          inet addr:192.168.33.127  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::c6e9:84ff:fe7d:e449/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3382 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3362 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1496134 (1.4 MiB)  TX bytes:1549045 (1.4 MiB)


###Node B####

(spam-protected):~# echo /olsrv2info route | nc ::1 2009
::/0	fe80::e832:9cff:fee4:5da7	-	::/0	2	254	100	tap0	8	2001:67c:1400:2431::245	0	ff_dat_metric	1020  bit/s (1 hops)	2105089	1
2001:67c:1400:2431::245	fe80::e832:9cff:fee4:5da7	-	::/0	2	254	100	tap0	8	2001:67c:1400:2431::2030	0	ff_dat_metric	1020  bit/s (1 hops)	2105088	1
2001:67c:1400:2431::2001	fe80::c6e9:84ff:fe7d:e449	-	::/0	2	254	100	wlan0	6	2001:67c:1400:2431::2030	0	ff_dat_metric	136.533 Mbit/s (1 hops)	15	1
192.168.33.127	-	192.168.2.30	0.0.0.0/0	2	254	100	wlan0	6	192.168.2.30	0	ff_dat_metric	136.533 Mbit/s (1 hops)	15	1
fd00::245	fe80::e832:9cff:fee4:5da7	-	::/0	2	254	100	tap0	8	2001:67c:1400:2431::2030	0	ff_dat_metric	1020  bit/s (1 hops)	2105088	1

(spam-protected):~# echo /nhdpinfo link_twohop | nc ::1 2009
tap0	fe80::e832:9cff:fee4:5da7	2001:67c:1400:2431::245	2001:67c:1400:2432:15:6dff:fec5:c2b2	false	19	ff_dat_metric	128  bit/s	16776960	128  bit/s16776960
tap0	fe80::e832:9cff:fee4:5da7	2001:67c:1400:2431::245	fe80::15:6dff:fec5:c2b2	false	19	ff_dat_metric	128  bit/s	16776960	128  bit/s	16776960
tap0	fe80::e832:9cff:fee4:5da7	2001:67c:1400:2431::245	fe80::215:6dff:fec5:c2b2	false	19	ff_dat_metric	128  bit/s	16776960	128  bit/s	16776960
tap0	fe80::e832:9cff:fee4:5da7	2001:67c:1400:2431::245	fe80::1ce1:d1ff:fefa:992a	true	19	ff_dat_metric	128  bit/s	16776960	128  bit/s	16776960
tap0	fe80::e832:9cff:fee4:5da7	2001:67c:1400:2431::245	fe80::7046:74ff:fe4b:1bfe	false	19	ff_dat_metric	128  bit/s	16776960	128  bit/s	16776960
tap0	fe80::e832:9cff:fee4:5da7	2001:67c:1400:2431::245	fe80::a0cb:b2ff:fef5:a302	false	19	ff_dat_metric	128  bit/s	16776960	128  bit/s	16776960

ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          inet6 addr: 2001:67c:1400:2431::2030/64 Scope:Global
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:17095 (16.6 KiB)  TX bytes:17095 (16.6 KiB)

tap0      Link encap:Ethernet  HWaddr 0E:1C:7E:D1:E7:97  
          inet addr:10.2.2.30  Bcast:10.2.255.255  Mask:255.255.0.0
          inet6 addr: fe80::c1c:7eff:fed1:e797/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:587 errors:0 dropped:0 overruns:0 frame:0
          TX packets:510 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:148778 (145.2 KiB)  TX bytes:111433 (108.8 KiB)

wlan0     Link encap:Ethernet  HWaddr C0:4A:00:40:AD:C2  
          inet addr:192.168.2.30  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::c24a:ff:fe40:adc2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3876 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5028 errors:0 dropped:0 overruns:0 carrier:0

#####Node C#####

(spam-protected):~# echo /olsrv2info route | nc localhost 2009
2001:67c:1400:2431::2030	fe80::c1c:7eff:fed1:e797	-	::/0	2	254	100	tap-mesh	3	2001:67c:1400:2431::245	0	ff_dat_metric	1020  bit/s (1 hops)	(spam-protected):~# echo /nhdpinfo link_twohop | nc localhost 2009
tap-mesh	fe80::c1c:7eff:fed1:e797	2001:67c:1400:2431::2030	2001:67c:1400:2431::2001	false	19	ff_dat_metric	136.533 Mbit/s	15	146.285 Mbit/s	14
tap-mesh	fe80::c1c:7eff:fed1:e797	2001:67c:1400:2431::2030	fe80::c6e9:84ff:fe7d:e449	false	19	ff_dat_metric	136.533 Mbit/s	15	146.285 Mbit/s	14
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	2001:67c:1400:2432:27:22ff:fe44:c1aa	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	2001:67c:1400:2432:dc9f:dbff:fef4:34a9	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::227:22ff:fe44:c1aa	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::227:22ff:fe45:c1aa	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::dc9f:dbff:fef5:34a9	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::de9f:dbff:fef4:34a9	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::de9f:dbff:fef5:34a9	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
(spam-protected):~# 
2105088	1

(spam-protected):~# echo /nhdpinfo link_twohop | nc localhost 2009
tap-mesh	fe80::c1c:7eff:fed1:e797	2001:67c:1400:2431::2030	2001:67c:1400:2431::2001	false	19	ff_dat_metric	136.533 Mbit/s	15	146.285 Mbit/s	14
tap-mesh	fe80::c1c:7eff:fed1:e797	2001:67c:1400:2431::2030	fe80::c6e9:84ff:fe7d:e449	false	19	ff_dat_metric	136.533 Mbit/s	15	146.285 Mbit/s	14
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	2001:67c:1400:2432:27:22ff:fe44:c1aa	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	2001:67c:1400:2432:dc9f:dbff:fef4:34a9	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::227:22ff:fe44:c1aa	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::227:22ff:fe45:c1aa	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::dc9f:dbff:fef5:34a9	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::de9f:dbff:fef4:34a9	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088
tap-mesh	fe80::1ce1:d1ff:fefa:992a	2001:67c:1400:2432:15:6dff:fec5:c2b2	fe80::de9f:dbff:fef5:34a9	false	19	ff_dat_metric	1020  bit/s	2105088	1020  bit/s	2105088

ifconfig
lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          inet6-Adresse: 2001:67c:1400:2431::245/64 Gültigkeitsbereich:Global
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1
          RX packets:2927115 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2927115 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:459059271 (437.7 MiB)  TX bytes:459059271 (437.7 MiB)

lo:0      Link encap:Lokale Schleife  
          inet Adresse:192.168.0.245  Maske:255.255.255.255
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1

tap-mesh  Link encap:Ethernet  Hardware Adresse ea:32:9c:e4:5d:a7  
          inet Adresse:10.2.0.245  Bcast:10.2.255.255  Maske:255.255.0.0
          inet6-Adresse: fe80::e832:9cff:fee4:5da7/64 Gültigkeitsbereich:Verbindung
          inet6-Adresse: fd00::245/64 Gültigkeitsbereich:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:6534172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9233306070 errors:0 dropped:9190593159 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:100 
          RX bytes:7322377781 (6.8 GiB)  TX bytes:13949189270774 (12.6 TiB)



More information about the Olsr-users mailing list