[OLSR-users] Multichannel mesh + calculate routes with weight parameters?

Benjamin Henrion (spam-protected)
Sun Dec 25 18:19:17 CET 2005


Hi,

I would like to know how OLSR calculates routes with the weight
parameter. I was not able to find precise documentation online.

Would it be possible to patch olsr so that it supports negative value on
interfaces (so as to force one route over an other)?

My goal is to do such thing:

A---10---B---10---C
|        |        |
-2      -2       -2
|        |        |
D+++10+++E+++10+++F

where:
--- chan11
+++ chan1
 |  ethernet

And the fastest way to go from A to C is either ADEBC or ABEFC (by
fixing the routes manualy).

If I use OLSR, then it does ABC, which I don't want (reuse the same
channel, thus decreasing the throughput).

If OLSR supports negative values on weights, then if I am correct:

ABEFC gives a weight of 10-2+10-2=16
ADEBC gives a weight of -2+10-2+10=16

How to force packets to be routed by ABEFC or ADEBC?

--
Benjamin Henrion <(spam-protected)>
http://bh.udev.org
<<<                   European Community Patent will bring            >>>
<<<                     Software patents by the backdoor              >>>
<<<                      http://wiki.ffii.org/ComPatEn                >>>




More information about the Olsr-users mailing list