[Pkg-xen-devel] Bug#1042842: Bug#1042842: Acknowledgement (network interface names wrong in domU (>10 interfaces))

zithro slack at rabbit.lu
Wed Aug 2 11:48:57 BST 2023


On 02 Aug 2023 10:22, Valentin Kleibel wrote:
> Hi,
> 
>> the bug has been mentionned on #xen-devel, will keep you posted.
> 
> Thanks. I wasn't able to find such a report, could you link the archive 
> or post the threads subject so i can find it?

#xen-devel is the IRC Xen channel. I just pinged them, I'll wait.
Depending on their answers, I'll post on the xen-devel mailing list.

>> Meanwhile, you may try to force the domU vif names with a letter
> 
> The sorting with letters doesn't work out as renaming the interface is a 
> secondary step.
> ...
> [53408.899507] vif vif-5-0 sort-a: renamed from vif5.0

Yeah I just tried with vifnames, no more luck, sorry.
Running "xenstore-ls /local/domain/DOMU_ID/device/vif" shows that vif10+ 
are sorted before vif10- (ie. vif1, vif10, vif11, vif2, ...).

> Our current workaround is to edit the interface names in the domUs 
> config to match the wrong sorting. And be extra careful that the domUs 
> MACs match the ones we expect on that network.

Via udev (MAC matching) or /etc/network/interfaces ?
I ask because it may help others, while this gets resolved.


--
zithro / Cyril



More information about the Pkg-xen-devel mailing list