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

Re: Debian and QEMU virtio-net-device



On Tue, Nov 8, 2016 at 3:20 AM, Ian Campbell <ijc@debian.org> wrote:
> On Mon, 2016-11-07 at 22:57 -0500, Jerry Stuckle wrote:
>> The only odd thing I see in the syslog at startup are lines indicating
>> eth0 is not found.
>
> Wild stab in the dark: Perhaps things have remembered the mac address
> of the original (automatically added) device as eth0 and so the virtio
> device has been renamed out of the way, meaning that
> /etc/network/interfaces's references to eth0 don't work?
>
> 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.

Another possibility for troubleshooting is to boot with
'biosdevname=0' to avoid the stable name that munges things up on
occasion. Also see "Consistent Network Device Naming in Linux"
(http://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_linux.pdf).

I've found biosdevname=0 is hit or miss. It worked for a while, but
then later 4.x kernels stopped honoring it.

Jeff


Reply to: