it should be possible to prevent a change of the interface names with, for example, a custom .link file, see here: https://wiki.debian.org/NetworkInterfaceNames#custom
Regards, kalpesh sejpal On Tue, 2 Aug, 2022, 3:30 pm , <[email protected]> wrote: > Send pve-user mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pve-user digest..." > > > Today's Topics: > > 1. PVE 6 to 7 BCM57412 devices name change (Eneko Lacunza) > 2. Re: PVE 6 to 7 BCM57412 devices name change (Stephan Leemburg) > 3. Re: PVE 6 to 7 BCM57412 devices name change (Arjen) > 4. Re: PVE 6 to 7 BCM57412 devices name change (Bastian Sebode) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 1 Aug 2022 14:27:04 +0200 > From: Eneko Lacunza <[email protected]> > To: Proxmox VE user list <[email protected]> > Subject: PVE 6 to 7 BCM57412 devices name change > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi all, > > I have noticed that when upgrading from PVE 6.4 to 7.2, BCM57412 network > devices change name, i.e.: > > ens2f0np0 -> enp101s0f0np0 > > Devices are seen like: > 65:00.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM57412 > NetXtreme-E 10Gb RDMA Ethernet Controller (rev 01) > 65:00.1 Ethernet controller: Broadcom Inc. and subsidiaries BCM57412 > NetXtreme-E 10Gb RDMA Ethernet Controller (rev 01) > > I have seen this in 3 different servers until now (all Dell PowerEdge). > > This can be an issue if upgrading remotely (I was today, had to resort > to? iDRAC virtual console). > > Has anyone seen this? Is there a way to know what the new name will be, > so that /etc/network/interfaces can be changed accordingly? > > Shall I suggest a change in 6to7 wiki? > > Thanks! > > Eneko Lacunza > Zuzendari teknikoa | Director t?cnico > Binovo IT Human Project > > Tel. +34 943 569 206 |https://www.binovo.es > Astigarragako Bidea, 2 - 2? izda. Oficina 10-11, 20180 Oiartzun > > https://www.youtube.com/user/CANALBINOVO > https://www.linkedin.com/company/37269706/ > > > ------------------------------ > > Message: 2 > Date: Mon, 1 Aug 2022 19:45:19 +0200 > From: Stephan Leemburg <[email protected]> > To: [email protected] > Subject: Re: [PVE-User] PVE 6 to 7 BCM57412 devices name change > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi Eneko, > > We used to use net.ifnames=0 but where getting very unpredictable results. > > So we switched to using /etc/systemd/network/*.link files with logical > naming. > > You can use > > ?udevadm test-builtin net_id /sys/class/net/$INTERFACENAME > > where INTERFACENAME is the interface you want to have the attributes of. > > Then you can - for example - use: > > ?cat /etc/systemd/network/10-management.link > > ?[Match] > ?Property=ID_NET_NAME_PATH=enp130s0f3 > > ?[Link] > ?AlternativeNamesPolicy=onboard path > ?Name=management > > For logically naming the devices. Do remember to run > > ?update-initramfs -u -k $(uname -r) > > or > > ?update-initramfs -u -k all > > Hope that helps. > > Best regards, > > Stephan > > On 01-08-2022 14:27, Eneko Lacunza via pve-user wrote: > > _______________________________________________ > > pve-user mailing list > > [email protected] > > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > > > > ------------------------------ > > Message: 3 > Date: Mon, 01 Aug 2022 18:16:40 +0000 > From: Arjen <[email protected]> > To: Proxmox VE user list <[email protected]> > Subject: Re: [PVE-User] PVE 6 to 7 BCM57412 devices name change > Message-ID: > > <nn3ih7cwTT0vMCVMpxOFFR-GFv-SASxDzEmhSA-udszq7VdsqZhXfx0iI1xtm4zKlLfxxwyIMqpjCzejIR0gpuGFw-HWdDrr-CXgpD35Gv4=@ > pm.me> > > Content-Type: text/plain; charset=utf-8 > > On Monday, August 1st, 2022 at 14:27, Eneko Lacunza via pve-user < > [email protected]> wrote: > > > Hi all, > > > > I have noticed that when upgrading from PVE 6.4 to 7.2, BCM57412 network > > devices change name, i.e.: > > > > ens2f0np0 -> enp101s0f0np0 > > > > Devices are seen like: > > 65:00.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM57412 > > NetXtreme-E 10Gb RDMA Ethernet Controller (rev 01) > > 65:00.1 Ethernet controller: Broadcom Inc. and subsidiaries BCM57412 > > NetXtreme-E 10Gb RDMA Ethernet Controller (rev 01) > > > > I have seen this in 3 different servers until now (all Dell PowerEdge). > > > > This can be an issue if upgrading remotely (I was today, had to resort > > to? iDRAC virtual console). > > > > Has anyone seen this? Is there a way to know what the new name will be, > > so that /etc/network/interfaces can be changed accordingly? > > Something like this is mentioned in the Changelog Overview of PVE 7.0: > https://pve.proxmox.com/wiki/Roadmap#7.0-known-issues > > > Shall I suggest a change in 6to7 wiki? > > It does not appear to be mentioned here: > https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Network > Which is unexpected, so yes please. > > > Thanks! > > > > Eneko Lacunza > > Zuzendari teknikoa | Director t?cnico > > Binovo IT Human Project > > > > Tel. +34 943 569 206 |https://www.binovo.es > > Astigarragako Bidea, 2 - 2? izda. Oficina 10-11, 20180 Oiartzun > > > > https://www.youtube.com/user/CANALBINOVO > > https://www.linkedin.com/company/37269706/ > > > > ------------------------------ > > Message: 4 > Date: Tue, 2 Aug 2022 00:42:45 +0200 > From: Bastian Sebode <[email protected]> > To: Eneko Lacunza <[email protected]>, Proxmox VE user list > <[email protected]> > Subject: Re: PVE 6 to 7 BCM57412 devices name change > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi Eneko, > > I had the same issue when doing that upgrade on a cluster. On the first > node I noticed the problem and fixed it over the virtual console. After > that I noted the changes and right before the reboot of the following > nodes I replaced the occurrences in /etc/network/interfaces accordingly > to have a functional system after the reboot. > > Unfortunately I'm not aware of how you could know these changes prior > updating/rebooting the first node or single server. > > Peace > Bastian > > Am 01.08.2022 um 14:27 schrieb Eneko Lacunza: > > Hi all, > > > > I have noticed that when upgrading from PVE 6.4 to 7.2, BCM57412 > > network devices change name, i.e.: > > > > ens2f0np0 -> enp101s0f0np0 > > > > Devices are seen like: > > 65:00.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM57412 > > NetXtreme-E 10Gb RDMA Ethernet Controller (rev 01) > > 65:00.1 Ethernet controller: Broadcom Inc. and subsidiaries BCM57412 > > NetXtreme-E 10Gb RDMA Ethernet Controller (rev 01) > > > > I have seen this in 3 different servers until now (all Dell PowerEdge). > > > > This can be an issue if upgrading remotely (I was today, had to resort > > to? iDRAC virtual console). > > > > Has anyone seen this? Is there a way to know what the new name will > > be, so that /etc/network/interfaces can be changed accordingly? > > > > Shall I suggest a change in 6to7 wiki? > > > > Thanks! > > > > Eneko Lacunza > > Zuzendari teknikoa | Director t?cnico > > Binovo IT Human Project > > > > Tel. +34 943 569 206 |https://www.binovo.es > > Astigarragako Bidea, 2 - 2? izda. Oficina 10-11, 20180 Oiartzun > > > > https://www.youtube.com/user/CANALBINOVO > > https://www.linkedin.com/company/37269706/ > > -- > Bastian Sebode > Fachinformatiker Systemintegration > > LINET Services GmbH | Cyriaksring 10a | 38118 Braunschweig > Tel. 0531-180508-0 | Fax 0531-180508-29 | http://www.linet-services.de > > LINET in den sozialen Netzwerken: > www.twitter.com/linetservices | www.facebook.com/linetservices > Wissenswertes aus der IT-Welt: www.linet-services.de/blog/ > > Gesch?ftsf?hrung: Timo Springmann, Mirko Savic und Moritz Bunkus > HR B 9170 Amtsgericht Braunschweig > > USt-IdNr. DE 259 526 516 > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > pve-user mailing list > [email protected] > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > > > ------------------------------ > > End of pve-user Digest, Vol 173, Issue 1 > **************************************** > > _______________________________________________ pve-user mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
