[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian and QEMU virtio-net-device



On 08/11/16 09:30, Ian Campbell wrote:
On Tue, 2016-11-08 at 08:42 +0000, Mark Morgan Lloyd wrote:
Does "ifconfig -a" (as root) show the virtio device with some name
other than eth0? If so then you might need to edit
/etc/udev/rules.d/70-persistent-net.rules to cause it to forget the
old
device.

Is that file still valid on Jessie?

I'm not entirely sure to be honest, but I have it on a system installed
from Stretch around Easter this year, so maybe?

https://lists.debian.org/debian-user/2015/08/msg01083.html seems to
suggest that other factors may be at play these days though.

Yes, the device naming scheme changes on Stretch, AIUI following other distreaux. Suffixes indicating aliases and VLANs still appear to work as expected.

By and large it's an improvement, with interfaces being fixed according to the external connector on the computer (and with this applying to both Ethernet and USB connectors). Note there that I've not explored the situation when an external USB hub is interposed, this could get messy particularly if a hub is replaced with another which has a different number of ports.

I suspect that Jessie is somewhere in between, and I don't believe I've seen a 70-persistent-net.rules on any system here irrespective of whether it's got a static population of interfaces or is being used heavily testing hotplugged Ethernet and tethered 'phones.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


Reply to: