Package: ifupdown
Version: 0.6.7

I am trying to set different metrics to routes through different
interfaces. dhclient-script which comes along with dhcp3-client can
set the metric by examining the environment variable IF_METRIC. I am
setting a metric option in the interfaces file:

iface eth1 inet dhcp
        metric 10

ifup is not passing IF_METRIC to the dhclient3. By default dhclient3
starts with clean environment. environment variables can be passed
using the -e option.

I am using debian testing.

-harendra

Reply via email to