On Tuesday, 2014-01-07 at 09:41:48 -0800, Farid Farid wrote: > metric NUMBER > preference NUMBER > the preference value of the route. NUMBER is an arbitrary 32bit number.
> I still don't understand how it gets used and if we don't set it what will > happen? In olden times, this used to be the number of hops between sender and recipient, zero meaning "on the same network", one meaning "there is one router between us", etc. The first two are still generally used. Now, if you have two routes to the same destination, where should a packet be sent? The answer is that the lowest metric is preferred. If there is more than one route with the lowest metric, I believe the packets are load balanced between those routes. That's why there is the old name "metric" and the better name "preference" for this value. HTH, Lupe Christoph -- | It is a well-known fact in any organisation that, if you want a job | | done, you should give it to someone who is already very busy. | | Terry Pratchett, "Unseen Academicals" | _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
