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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to