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

Bernd Naumann (spam-protected)
Tue May 26 11:55:04 CEST 2015


On 05/26/2015 10:59 AM, 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.
> 
> Henning
> 

Yes, that's right. Even it is possible to find the subnet from
192.168.1.231/24 [1] but yes it seams more correctly to use 192.168.1.0/24.

And yes, that was how I got the routes distributed.


[1]
$ ipcalc 192.168.1.231/24
Address:   192.168.1.231        11000000.10101000.00000001. 11100111
Netmask:   255.255.255.0 = 24   11111111.11111111.11111111. 00000000
Wildcard:  0.0.0.255            00000000.00000000.00000000. 11111111
=>
Network:   192.168.1.0/24       11000000.10101000.00000001. 00000000
HostMin:   192.168.1.1          11000000.10101000.00000001. 00000001
HostMax:   192.168.1.254        11000000.10101000.00000001. 11111110
Broadcast: 192.168.1.255        11000000.10101000.00000001. 11111111
Hosts/Net: 254                   Class C, Private Internet

Bernd
-- 
Bernd Naumann <(spam-protected)>

PGP:   0xA150A04F via pool.sks-keyservers.net
XMPP:  (spam-protected)





More information about the Olsr-users mailing list