On Fre, 2007-10-05 at 11:01 +0200, Sven-Ola Tuecke wrote:
[...]
> changing that olsrd-hops-to-kernel-metrics in the routing code works well 
> for me. The linux kernel automatically completes with the correct metric 
> value if this value is ommited while removing a route. Checked with "ip 
> monitor". Yes I understand the "doing fake metrics saves a lot of 
> route-add/route-del" thing as well. If we add a config parameter, it may 
> make sense to have it three-fold, e.g
> 
> 0 = use dummy metric=1 for hostroutes, metric=2 for via routes
> 1 = use real metric but do not constantly update kernel routes (== my patch)
> 2 = use real metric and update kernel routes to reflect olsrd calculations

I'm all for it if someone implements it in the routing core.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




