22.03.2011 22:01, Harald Dunkel wrote: > Package: qemu-kvm > Version: 0.14.0+dfsg-1~tls > > Using 2.6.38 it seems that "ip route ls" lists several default route > devices, e.g. > > 10.42.100.0/24 dev br0 proto kernel scope link src 10.42.100.3 > 10.42.100.0/24 dev eth0 proto kernel scope link src 10.42.100.3 > default via 10.42.100.1 dev eth0 > default via 10.42.100.1 dev br0
Actually this is operator error. When using bridge, try keeping the component devices IP-less (and route-less). Usual advice is to _move_ IP configuration from eth0 to br0 in such cases, so that eth0 without any configuration. > This breaks /etc/kvm/kvm-ifup. eth0 is not a bridge, and br0 is never > tried. > > Attached you can find a better version. This one is somewhat better, maybe. But I'm not convinced: this script supposed to be used for "simple" cases, while more than one default route is definitely not simple. On the other hand, modifying a conffile should bring us a strong benefit to warrant a debconf question and .dpkg-new file floating around. Thanks! /mjt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org