Esxi6.7 U3升级R8125b网卡驱动
本文记录 ESXi 6.7 U3 下 R8125b 网卡驱动的升级过程,用于解决旧驱动偶发断连问题。
一、问题说明
- 旧版驱动
9.007.01兼容性较差,网卡可能不定时断开。 - 断连后通常需要重启主机才能恢复。
- 实测
9.011.00-10版本相对更稳定。
驱动下载地址: https://github.com/mcr-ksh/r8125-esxi
二、升级步骤
1) 查看当前驱动版本
esxcli software vib list示例输出:
Name Version Vendor Acceptance Level Install Date
---------- ----------- ------- ------------------ ------------
net-r8125 9.007.01-1 Realtek CommunitySupported 2023-04-292) 查看网卡链路与驱动详情
esxcli network nic get -n vmnic0示例输出(节选):
Driver: r8125
Version: 9.007.01-NAPI
Link Status: Down3) 下载并上传新驱动
- 在上面的仓库下载
9.011.00-10对应 VIB 文件。 - 上传到 ESXi 任意目录,例如:
/networkup/net-r8125-9.011.00-10.vib。
4) 设置允许第三方安装级别
esxcli software acceptance set --level=CommunitySupported示例输出:
Host acceptance level changed to 'CommunitySupported'.5) 安装新驱动
esxcli software vib install -v /networkup/net-r8125-9.011.00-10.vib示例输出:
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: Realtek_bootbank_net-r8125_9.011.00-10
VIBs Removed: Realtek_bootbank_net-r8125_9.007.01-1
VIBs Skipped:6) 重启 ESXi
reboot7) 验证安装结果
esxcli network nic get -n vmnic0示例输出(节选):
Driver: r8125
Version: 9.011.00