NIC 有错误的 MAC 地址和 "systemd-udevd: error changing net interface name ethX to ethY: File exists"
Issue
- 我们已在 ifcfg 文件中设置了
HWADDR,来为每个接口分配特定的名称,但无法正常工作。 - 尝试为每个接口指定特定名称,如 eth0 或 eth1。
-
查找这些错误消息以及在 ifconfig 中显示错误 MAC 的接口。
systemd-udevd: error changing net interface name eth0 to eth1: File exists
systemd-udevd: error changing net interface name eth1 to eth0: File exists -
在
IBM System z (s390x)系统中查找这些错误消息:systemd-udevd: Error changing net interface name 'hsi2' to 'hsi3': File exists
systemd-udevd: could not rename interface '5' from 'hsi2' to 'hsi3': File exists
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.