Difference between revisions of "Ifmetric"
Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
ifmetric is a tool to set different route metrics for different network interfaces. Sometimes two network interfaces of different speeds with equal routes are available at the same time. (e.g. a laptop with both a wireless and a copper LAN card) The one with the greater througput should be preferred over the other. To achieve this, you may use the route's metric field. Routes with lower metrics are preferred over those with higher. Unfortunately many network configurators (like DHCP clients) do not support to set the metric for a route. ifmetric may be used to manipulate the metrics of routes a posteriori. The default metric for a route in the Linux kernel is 0, meaning the highest priority. | ifmetric is a tool to set different route metrics for different network interfaces. Sometimes two network interfaces of different speeds with equal routes are available at the same time. (e.g. a laptop with both a wireless and a copper LAN card) The one with the greater througput should be preferred over the other. To achieve this, you may use the route's metric field. Routes with lower metrics are preferred over those with higher. Unfortunately many network configurators (like DHCP clients) do not support to set the metric for a route. ifmetric may be used to manipulate the metrics of routes a posteriori. The default metric for a route in the Linux kernel is 0, meaning the highest priority. | ||
+ | |||
+ | === Project Homepage / Availability === | ||
+ | *Homepage: http://0pointer.de/lennart/projects/ifmetric/ |
Revision as of 14:34, 18 October 2005
Contents
ifmetric is a tool to set different route metrics for different network interfaces. Sometimes two network interfaces of different speeds with equal routes are available at the same time. (e.g. a laptop with both a wireless and a copper LAN card) The one with the greater througput should be preferred over the other. To achieve this, you may use the route's metric field. Routes with lower metrics are preferred over those with higher. Unfortunately many network configurators (like DHCP clients) do not support to set the metric for a route. ifmetric may be used to manipulate the metrics of routes a posteriori. The default metric for a route in the Linux kernel is 0, meaning the highest priority.