[Olsr-users] OLSRd2: OLSRv2 Plugin 'lan' does not work?

Ferry Huberts (spam-protected)
Tue May 26 11:31:19 CEST 2015



On 26/05/15 11:27, Henning Rogge wrote:
> Yes,
>
> that would be another option... (with three possible "sub-options")
>
> filter the configured value
>
> a) while reading the configuration

here

> b) while generating the RFC5444 output
> c) when setting the route in the kernel

but I'd say: 'at any relevant place'.

IP address + mask --> socket address, which is always well-formed/masked

>
> Henning
>
>
>
> On Tue, May 26, 2015 at 11:23 AM, Ferry Huberts <(spam-protected)> wrote:
>>
>>
>> On 26/05/15 10:59, Henning Rogge wrote:
>>>
>>> On Thu, May 21, 2015 at 9:26 PM, Bernd Naumann <(spam-protected)> wrote:
>>>>
>>>> I may have found the reason!
>>>>
>>>> I have configured '192.168.102.1/24' but with '192.168.102.0/24' the
>>>> routes will be distributed!
>>>
>>>
>>> Just to be sure I understood you correctly.
>>>
>>> You changed the LAN entry from "192.168.102.1/24" to
>>> "192.168.102.0/24" and now it works?
>>>
>>> If yes I will add an additional validation which will throw an error
>>> in the first case.
>>>
>>
>> IMHO you should just use the mask (24) to mask out the relevant part of the
>> IP address.

-- 
Ferry Huberts




More information about the Olsr-users mailing list