适用于 Red Hat OpenShift 的 Dell APEX 云平台:更换绑定接口中的网卡后,MAC 地址保持不变

Summary: 更换绑定接口中的网卡后,MAC 地址保持不变

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

更换物理网络接口卡(NIC)后,相应网络接口(例如,eno12399np0)或绑定接口(bond0)的MAC地址与更换前相同。新 NIC 的物理 MAC 地址不同,但作系统仍显示旧地址。

Cause

当网络接口是绑定接口 (bond0) 的一部分时,此行为是正常的和预期的。在标准 Linux 绑定配置中:·绑定接口继承在创建绑定时添加到它的第一个从属接口的 MAC 地址。然后,将所选的MAC地址应用于同一绑定中的所有其他从接口,以实现作一致性。即使在替换物理 NIC 之后,绑定驱动程序仍会继续使用最初为逻辑绑定接口及其从属设备分配的 MAC 地址。

 

示例场景·

绑定接口:

 bond0· First Slave: eno12399np0 (Integrated 1, Port 1)· Original MAC of eno12399np0: XX:XX:XX:XX:XX:XX

 

更换集成式 1 端口 1 中的物理 NIC 后: 

New NIC's Permanent MAC: YY:YY:YY:YY:YY:YY·

Active/Displayed MAC of eno12399np0: XX:XX:XX:XX:XX:XX (Remains unchanged, inherited from bond0)

 

Resolution

如果接口正常工作,则无需采取任何措施。这是设计的行为。

要验证系统状态:1.检查接口是否正常运行以及部分绑定: 

  ip link show eno12399np0     => Look for state UP and master bond0 in the output.

您可以观察永久(老化)和活动(绑定分配)MAC 地址:   

  ip link show eno12399np0    => The link/ether field shows the active MAC (belonging to the bond).  The permaddr field shows the physical MAC of the new card.

 

结论:

在硬件更换后保留原始 MAC 地址是有意为之,可确保绑定接口的网络稳定性。只要链路状态为 UP 且连接正常,系统就可以正常运行。

Affected Products

APEX Cloud Platform for Red Hat OpenShift, APEX MC-660, APEX MC-760
Article Properties
Article Number: 000395604
Article Type: Solution
Last Modified: 16 Dec 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.