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

Bug#810247: Hyper-V network adapters are mapped to a different interface (ethN) on every boot



Control: reassign -1 udev

On Thu, 2016-01-07 at 15:59 +0000, Fernando Soto wrote:
> Package: linux-image-3.16.0-4-amd64
> Version: 3.16.7-ckt20-1+deb8u2
> 
> On a Hyper-V VM with more than one network adapter, the NIC devices
> are being mapped to different ethN on every boot.

The kernel cannot guarantee to enumerate devices in fixed order.

> If you are using dhcp reservation or static IPs, you will likely lose
> connectivity to the VM.
> 
> Expected behavior is that the NICs are always detected in the same
> order and consistently mapped to the same interface.
> The udev persistent rules could be a workaround, but they are created
> for virtual environment.
[...]

That is where I think this should be handled.

Ben.

-- 
Ben Hutchings
Life would be so much easier if we could look at the source code.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: