[Olsr-dev] Short netmask lenghts

Henning Rogge (spam-protected)
Tue Aug 10 07:56:08 CEST 2010


On Mon August 9 2010 18:55:46 Teco Boot wrote:
> Hi Henning,
> 
> I used also the /1 for a while.
> Now I want to add /2. So I'll have 3 def.gw prio's (/0, /1 and /2).
> 
> Linux has problems with multiple, independent same routes (0/0 to different
> next_hops, maintained independently). Now I use different metrics:
>  metric=0    # DHCP from eth1
>  metric=1    # from ppp ip-up / ip-down scripts
>  metric=2    # from olsrd
Is the routing metric not enough to create multiple 0/0 routes ?

> We run daemon promoting the def.gw to /1 or /2, with some policies (satcom,
> adsl or 3G, signal quality). The dyn_gw is adjusted for handling metrics 0
> _and_ 1.
> 
> But since this update, we experience problems with the functions in ipcalc.
> I guess the limitation was there for a long time.
> (I can't decode this piece of C myself, Caspar told me the functions don't
> work for shorter than /8)
Are you talking about the stable or the master branch ? The stable one should 
work, but I can look at it again.

If the master branch version does not work, I can port the stable version to 
it.

Henning Rogge
-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100810/0beb0aa8/attachment.sig>


More information about the Olsr-dev mailing list