On Saturday, January 05, 2013 07:28:20 NicoEchániz wrote:
One other change that might be interesting would be the addition of a setting for how much the advertised throughput affects gw selection. I've seen Jan uses 96/96Mbit as advertised throughput on one router; I do the same on our "main gateway", but maybe it would be better if we could actually advertise the real throughput and have a setting to control how much the bandwidth difference affects the selection.
Again, feel free to propose something which can be discussed.
It could just be implemented as a new setting like: gw_bw_weight
which would regulate how much gw bandwidth/throughput affects best gw calculation.
I don't know what's the current algorithm but I guess there would be no problem with backwards compatibility here; if the value is not set, the default should produce the same result we get now.
[..]
I like this better than gateway classes that Jan proposed, as it is less implementation specific.
How about you and Jan discuss the matter to come up with a combined proposal which solves both your problems ?
PS: Marek, there are mismatched parenthesis in the new man page text in this paragraph:
The parenthesis is ok but groff has problems compiling that section. I re- posted a cleaned up version of Pau's proposed fix. In the future don't hesitate to post a patch for such trivial things otherwise you will have to wait until somebody comes around and does the work for you.
Cheers, Marek