外观
给 Esxi6.7 U3 换 R8125b 网卡驱动
EsxiEsxi6.7R8125b螃蟹网卡
2024-04-25
ESXi 6.7 U3 上的 R8125b 网卡出现断连时,可以先从驱动版本查起。
断连时先看什么
- 先确认系统用的是否是
9.007.01驱动,并检查网卡的链路状态。 - 链路中断后,可查看重启主机能否恢复。
- 下方以
9.011.00-10作为要安装的版本。
驱动仓库 https://github.com/mcr-ksh/r8125-esxi
更换驱动的步骤
列出当前安装的驱动
esxcli software vib list输出示例
Name Version Vendor Acceptance Level Install Date
---------- ----------- ------- ------------------ ------------
net-r8125 9.007.01-1 Realtek CommunitySupported 2023-04-29检查网卡与链路状态
esxcli network nic get -n vmnic0输出中的关键字段
Driver: r8125
Version: 9.007.01-NAPI
Link Status: Down准备新的驱动文件
- 从驱动仓库获取
9.011.00-10的 VIB 包。 - 选一个 ESXi 目录上传,例如放到
/networkup/net-r8125-9.011.00-10.vib。
调整主机的软件包接受级别
esxcli software acceptance set --level=CommunitySupported输出示例
Host acceptance level changed to 'CommunitySupported'.安装上传的 VIB
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:按安装提示重启 ESXi
reboot核对驱动及链路
esxcli network nic get -n vmnic0用于核对版本的字段
Driver: r8125
Version: 9.011.00