[Olsr-dev] brainstorming for new feature - HNA routes read from the kernel
Teco Boot
(spam-protected)
Wed Mar 20 15:26:21 CET 2013
Op 20 mrt. 2013, om 13:24 heeft Henning Rogge <(spam-protected)> het volgende geschreven:
> On 03/20/2013 06:53 AM, Teco Boot wrote:
>> Maybe add a (set of) prefix filters?
>> Something like:
>> PlParam "PrefixFilter" "10.0.0.0 255.0.0.0 255.255.255.0 0.0.0.0"
>> PlParam "PrefixFilter" "172.16.0.0 255.240.0.0 255.255.255.0 0.0.0.0"
>> PlParam "PrefixFilter" "192.168.0.0 255.255.0.0 255.255.255.0 0.0.0.0"
>> This would permit only redistribute /24 subnets from private address space.
>
> Can we maybe use a "prefix length" instead of a subnet mask?
>
> "10.0.0.0/8" is much more readable than "10.0.0.0 255.0.0.0".
OK, but then using two items:
PlParam "PrefixFilter" "10.0.0.0/8 /24"
PlParam "PrefixFilter" "172.16.0.0/12 /24"
PlParam "PrefixFilter" "192.168.0.0/16 /24"
Looks strange, reads better.
Or more flexible IOS prefix-list style:
PlParam "PrefixFilter" "10.0.0.0/8 ge 24 le 24"
PlParam "PrefixFilter" "172.16.0.0/12 ge 24 le 24"
PlParam "PrefixFilter" "192.168.0.0/16 ge 24 le 24"
Teco
>
> Just my 2 cents...
>
> Henning Rogge
>
>> Question is having filters for each protocol number / table number, when set of these are provided.
>>
>> Teco
>>
>>
>> Op 19 mrt. 2013, om 17:01 heeft Clauz <(spam-protected)> het volgende geschreven:
>>
>>> On 03/19/2013 09:09 AM, Saverio Proto wrote:
>>>> We have this in production now in the Ninux network. Comments ?
>>>>
>>>> https://github.com/ninuxorg/olsrd/commits/proto_plugin_rc1
>>>
>>> This branch is better:
>>> https://github.com/ninuxorg/olsrd/commits/proto_plugin_rc2
>>>
>>> cheers,
>>> Clauz
>>>
>>>
>>>
>>
>>
>
>
> --
> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> Kommunikationssysteme (KOM)
> Fraunhofer Straße 20, 53343 Wachtberg, Germany
> Telefon +49 228 9435-961, Fax +49 228 9435 685
> mailto:(spam-protected) http://www.fkie.fraunhofer.de
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev
More information about the Olsr-dev
mailing list