Bug#205448: RFP: ifmetric -- ifmetric is a Linux tool for setting the metrics of all IPv4 routes attached to a given network interface at once.
Package: wnpp
Version: unavailable; reported 2003-08-14
Severity: wishlist
* Package name : ifmetric
Version : 0.1
Upstream Author : mzvszrgevp@itaparica.org (that's me, Lennart Poettering)
* URL : http://www.stud.uni-hamburg.de/~lennart/projects/ifmetric/
* License : GPL
Description : ifmetric is a Linux tool for setting the metrics of all IPv4 routes attached to a given network interface at once.
What is ifmetric for?
I have a laptop with an onboard ethernet and a PCMCIA WLAN card. I
never remove the latter. If both devices are connected to a network I
want to priorize the copper over the wireless connection: it is faster
and not subject to a restrictive firewall. Both network devices have
default routes, it is left to chance which route is the first one
created, thus the one used. ifmetric can be used to force the copper
route to be selected: it manipulates the metric field of all routes
connected to a certain interface, thus priorizing traffic over
interfaces. It is compatible with DHCP clients as it modifies the
routes a posteriori. A single line
up ifmetric $IFACE 1
on the WLAN configuration stanza in /etc/network/interfaces
priorizes all other interfaces.
The routes are modified by using the NETLINK API of Linux >= 2.2,
ifmetric is compatible with both iproute2 and traditional net-utils.
Only a single binary, autoconf/automake is used, manpage included.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux seth 2.4.21-3-686 #1 Sun Jul 20 16:11:09 EST 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Reply to: