[Bug 504407] [NEW] Option "metric" in /etc/network/interfaces broken

Bernhard Seibold bugs at e404.de
Thu Jan 7 18:58:42 GMT 2010


Public bug reported:

I'm not sure if this bug is in dhcp3-client or ifupdown.

My /etc/network/interfaces looks like this:

iface eth0 inet dhcp
        metric 10

When the interface is brought up automatically, the metric-line is
ignored, the default-route has metric 100.

But when issuing a manual ifdown,ifup, there are two default-routes, one
with metric 100, one with metric 10.

# ip route
# modprobe e1000e
# ip route
10.0.0.0/8 dev eth0  proto kernel  scope link  src 10.0.5.16 
default via 10.0.1.111 dev eth0  metric 100 
# (ifdown eth0 && ifup eth0) &>/dev/null
# ip route
10.0.0.0/8 dev eth0  proto kernel  scope link  src 10.0.5.16 
default via 10.0.1.111 dev eth0  metric 10 
default via 10.0.1.111 dev eth0  metric 100

** Affects: dhcp3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Option "metric" in /etc/network/interfaces broken
https://bugs.launchpad.net/bugs/504407
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list