Description of problem: Sometimes, a system administrator knows positively that a given interface has a better or worse preference as a default route. For instance, my laptop has a wireless card, and 2 onboard ethernet, and a docking station ethernet. Thus, the desired effect is that we want any hard-wired interface to get a default route, and a wireless to get a default route - at a higher metric. That way, if the wireless is the only connection, it will take the default, but if a wired interface comes up as well, that will take the load. The attached patch allows the sysadmin to add a 'METRIC=n' to the interface's /etc/sysconfig/network-scripts/ifcfg-foo file, to manually configure the preference for the interface. This functionality is already supported by 'ifup' for non-DHCP interfaces. Version-Release number of selected component (if applicable): dhclient-3.0.4-8 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 129961 [details] Patch to support per-interface METRIC= for dhcp.
Thanks - patch applied in dhcp-3.0.4-10, in FC-6 / rawhide-2006-05-27 .