[PVE-User] Network interfaces renaming strangeness...

Marco Gaiarin gaio at sv.lnf.it
Thu Feb 13 11:47:47 CET 2020


I've setup a little 'home' PVE server: proxmox6 (debian buster, kernel
5.3.18-1-pve).

Bultin network card get detected and renamed:

 root at ino:~# grep tg3 /var/log/kern.log
 Feb 11 09:16:42 ino kernel: [    3.449190] tg3.c:v3.137 (May 11, 2014)
 Feb 11 09:16:42 ino kernel: [    3.468877] tg3 0000:1e:00.0 eth0: Tigon3 [partno(BCM95723) rev 5784100] (PCI Express) MAC address 9c:8e:99:7b:86:d9
 Feb 11 09:16:42 ino kernel: [    3.468879] tg3 0000:1e:00.0 eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0])
 Feb 11 09:16:42 ino kernel: [    3.468881] tg3 0000:1e:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
 Feb 11 09:16:42 ino kernel: [    3.468883] tg3 0000:1e:00.0 eth0: dma_rwctrl[76180000] dma_mask[64-bit]
 Feb 11 09:16:42 ino kernel: [    3.485088] tg3 0000:1e:00.0 ens1: renamed from eth0
 Feb 11 09:16:44 ino kernel: [  101.292206] tg3 0000:1e:00.0 ens1: Link is up at 100 Mbps, full duplex
 Feb 11 09:16:44 ino kernel: [  101.292208] tg3 0000:1e:00.0 ens1: Flow control is on for TX and on for RX

After that, i've addedd a second nic, pcie slot, that get detected but
'strangely' renamed:

 root at ino:~# grep e1000e /var/log/kern.log
 Feb 11 09:16:42 ino kernel: [    3.451250] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
 Feb 11 09:16:42 ino kernel: [    3.451251] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
 Feb 11 09:16:42 ino kernel: [    3.451430] e1000e 0000:20:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
 Feb 11 09:16:42 ino kernel: [    3.502028] e1000e 0000:20:00.0 0000:20:00.0 (uninitialized): registered PHC clock
 Feb 11 09:16:42 ino kernel: [    3.556137] e1000e 0000:20:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 2c:27:d7:14:9b:67
 Feb 11 09:16:42 ino kernel: [    3.556139] e1000e 0000:20:00.0 eth0: Intel(R) PRO/1000 Network Connection
 Feb 11 09:16:42 ino kernel: [    3.556182] e1000e 0000:20:00.0 eth0: MAC: 3, PHY: 8, PBA No: G17305-003
 Feb 11 09:16:42 ino kernel: [    3.557393] e1000e 0000:20:00.0 rename3: renamed from eth0

Looking at:

	https://wiki.debian.org/NetworkInterfaceNames

Strangeness remain, look at:

 root at ino:~# udevadm test-builtin net_id /sys/class/net/ens1 
 Load module index
 Parsed configuration file /usr/lib/systemd/network/99-default.link
 Created link configuration context.
 Using default interface naming scheme 'v240'.
 ID_NET_NAMING_SCHEME=v240
 ID_NET_NAME_MAC=enx9c8e997b86d9
 ID_OUI_FROM_DATABASE=Hewlett Packard
 ID_NET_NAME_PATH=enp30s0
 ID_NET_NAME_SLOT=ens1
 Unload module index
 Unloaded link configuration context.

 root at ino:~# udevadm test-builtin net_id /sys/class/net/rename3 
 Load module index
 Parsed configuration file /usr/lib/systemd/network/99-default.link
 Created link configuration context.
 Using default interface naming scheme 'v240'.
 ID_NET_NAMING_SCHEME=v240
 ID_NET_NAME_MAC=enx2c27d7149b67
 ID_OUI_FROM_DATABASE=Hewlett Packard
 ID_NET_NAME_PATH=enp32s0
 ID_NET_NAME_SLOT=ens1
 Unload module index
 Unloaded link configuration context.

AFAI've understood network names would have to be 'enp30s0' and
'enp32s0' respectively, not 'ens1' and 'rename3'...


Why?! Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the pve-user mailing list