[Olsr-users] OLSRv2: routing only for one hop neighbors

Martin Garbe (spam-protected)
Thu Apr 7 22:53:24 CEST 2016


On 04/07/2016 09:11 AM, Henning Rogge wrote:
> Okay,
> 
> something really strange is going on here...
> 
> could you show the output of the following two commands to the list?
> 
> echo /nhdpinfo link_twohop | nc 127.0.0.1 2009'
> echo /olsrv2info edge | nc 127.0.0.1 2009

Node A:
$ echo /nhdpinfo link_twohop | nc 127.0.0.1 2009
eth0	192.168.21.3	192.168.21.3	192.168.230.2	false	19	ff_dat_metric
136.533 Mbit/s	15	120.47 Mbit/s	17

$ echo /olsrv2info edge | nc 127.0.0.1 2009
 (empty string returned)


Node B:
# echo /nhdpinfo link_twohop | nc 127.0.0.1 2009
 (empty string returned)

# echo /olsrv2info edge | nc 127.0.0.1 2009
192.168.99.1	192.168.21.3	56445	0	ff_dat_metric	1020  bit/s	2105088


Node C:
# echo /nhdpinfo link_twohop | nc 127.0.0.1 2009
wlan0	192.168.21.2	192.168.21.3	192.168.99.1	false	18	ff_dat_metric
1020  bit/s	2105088	1020  bit/s	2105088

# echo /olsrv2info edge | nc 127.0.0.1 2009
 (empty string returned)


Martin

> 
> Henning
> 
> On Wed, Apr 6, 2016 at 10:58 PM, Martin Garbe
> <(spam-protected)> wrote:
>> On 04/06/2016 08:27 AM, Henning Rogge wrote:
>>> On Wed, Apr 6, 2016 at 12:02 AM, Martin Garbe
>>> <(spam-protected)> wrote:
>>>> Hello all,
>>>
>>> At first a good advise...
>>>
>>> forget that "ifconfig" ever existed and start using the "ip" command.
>>>
>>> "ifconfig" hides a lot about your configuration, especially for IPv6...
>>>
>>> try "ip addr" for getting a better picture.
>>
>> Good advice. I will do so.
>>
>>>
>>>> currently I try to connect three devices in a row via OLSRv2 and this
>>>> fails. I tried to choose a simple setup using IPv4. Node A is only
>>>> connected to node B. Node C is only connected to node B.
>>>>  A -- B -- C
>>>
>>> First something I noticed...
>>>
>>> Node A has no IPv6 at all... and a strange "broadcast" IP.
>>
>> I deactivated IPv6 now on all interfaces.
>> All nodes have a netmask of /16 now.
>>
>>>
>>>> My problem is that A has no routing information about C and vice versa.
>>>
>>> I see two routing entries in all of your text files.
>>>
>>> Could you add the output of "ip route" (in addition to "ip addr") for
>>> all three nodes?
>>
>> yes, see files attached with all information included.
>>
>> Regards,
>> Martin




More information about the Olsr-users mailing list