为什么 systemd 网络接口名称在 RHEL7 和 RHEL8 中是不同的?
Issue
- 为什么 systemd 网络接口名称在 RHEL7 和 RHEL8 中是不同的?
- 为什么 NIC 命名在 RHEL 7 和 RHEL 8 中是不同的?
- 在 RH7 中,NIC 的名称是
enp#,但在 RH8 中,NIC 的名称是ens#。 - RHEL7 和 RHEL8 中的网络命名不同
- 在 RHEL8 服务器上,接口名称中会带有
ens3f0/1。在 RHEL7 服务器上,接口名称中会带有p3p1/2。 - 我想进一步了解为什么同一物理服务器机箱和同一插槽中的网卡在 RHEL7 和 RHEL8 中的命名有所区别。
Environment
- Red Hat Enterprise Linux 7 及更新版本
- systemd Predictable Network Interface Names (
net.ifnames=1)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.