温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

VMware ESXi 5上如何安装网卡驱动

发布时间:2021-11-12 13:49:59 来源:亿速云 阅读:871 作者:小新 栏目:云计算

小编给大家分享一下VMware ESXi 5上如何安装网卡驱动,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!

ESXI5服务器上新增了一块Intel 82580千兆网卡,重启服务器后在网络适配器里居然没自动发现这块网卡,查了一下VMware 的官方网站,说是需要另外安装驱动。

一、VMWare 官方网站下载网卡驱动
VMware ESXi 5上如何安装网卡驱动

进入VMWARE官方网站,输入要查找的驱动名称,点击SEARCH查找.

VMware ESXi 5上如何安装网卡驱动

点击MANUALLY  DOWNLOAD进行下载即可.

二、通过SCP上传驱动到VMware ESXi服务器的/vmfs/volumes一个目录下
使用ssh登陆到VMware ESXi服务器后,用unzip命令解压驱动包,解压后会得到一个后缀为.vib 的驱动文件:

# unzip internh82580eb.zip
Archive:  internh82580eb.zip
  inflating: index.xml
  inflating: vendor-index.xml
  inflating: metadata.zip
  inflating: vib20/net-igb/Intel_bootbank_net-igb_3.2.10-1OEM.500.0.0.472560.vib

为确保服务器稳定, 注意要进入ESXI维护模式来做如下安装网卡驱动的操作
进入维护模式的两种方法:
1 界面方法
 
退出维护模式时,可在这个菜单里点击"退出维护模式"

2 命令方式
进入维护模式
# vim-cmd hostsvc/maintenance_mode_enter
退出维护模式
# vim-cmd hostsvc/maintenance_mode_exit
 

然后使用esxcli命令行安装 vib 驱动并检查是否安装成功:

# cd  /vmfs/volumes/datastore1
/vmfs/volumes/5061ce54-5696f0d2-084e-000c29c4a7c6 # ls
internh82580eb.zip                             net-igb-3.2.10-1OEM.500.0.0.472560.x86_64.vib
win2008                                             linux5
/vmfs/volumes/5061ce54-5696f0d2-084e-000c29c4a7c6 # esxcli software vib install -v /vmfs/volumes/5061ce54-
5696f0d2-084e-000c29c4a7c6/net-igb-3.2.10-1OEM.500.0.0.472560.x86_64.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: Intel_bootbank_net-igb_3.2.10-1OEM.500.0.0.472560
   VIBs Removed: VMware_bootbank_net-igb_2.1.11.1-3vmw.500.0.0.469512

# esxcli software vib list
Name                  Version                             Vendor  Acceptance Level  Install Date
--------------------  ----------------------------------  ------  ----------------  ------------
net-igb               3.2.10-1OEM.500.0.0.472560          Intel   VMwareCertified   2012-09-25 
ata-pata-amd          0.3.10-3vmw.500.0.0.469512          VMware  VMwareCertified   2012-09-25 
ata-pata-atiixp       0.4.6-3vmw.500.0.0.469512           VMware  VMwareCertified   2012-09-25 
ata-pata-cmd64x       0.2.5-3vmw.500.0.0.469512           VMware  VMwareCertified   2012-09-25 
ata-pata-hpt3x2n      0.3.4-3vmw.500.0.0.469512           VMware  VMwareCertified   2012-09-25 
ata-pata-pdc2027x     1.0-3vmw.500.0.0.469512             VMware  VMwareCertified   2012-09-25 
ata-pata-serverworks  0.4.3-3vmw.500.0.0.469512           VMware  VMwareCertified   2012-09-25 
ata-pata-sil680       0.4.8-3vmw.500.0.0.469512           VMware  VMwareCertified   2012-09-25 
ata-pata-via          0.3.3-2vmw.500.0.0.469512           VMware  VMwareCertified   2012-09-25 
block-cciss           3.6.14-10vmw.500.0.0.469512         VMware  VMwareCertified   2012-09-25 
...........


# reboot


安装成功后重启 VMware ESXi,然后用LSPCI命令查看一下网卡驱动是否能被正确识别出来:

# lspci | grep 'Network controller'
000:004:00.0 Network controller: Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T [vmnic0]
000:004:00.1 Network controller: Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T [vmnic1]
000:024:00.0 Network controller: Intel Corporation 82580 Gigabit Network Connection [vmnic2]
000:024:00.1 Network controller: Intel Corporation 82580 Gigabit Network Connection [vmnic3]
000:024:00.0 Network controller: Intel Corporation 82580 Gigabit Network Connection [vmnic4]
000:024:00.1 Network controller: Intel Corporation 82580 Gigabit Network Connection [vmnic5]
使用vSphere Client客户端登入VMware ESXi以后,进入Configuration 页面的Network Adapters应该会看到新安装的vmnic4, vmnic5  2个网卡接口了.


或者直接在 ESXi 上用命令行界面:

# esxcfg-nics -l
Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description                  
vmnic0  0000:04:00.00 bnx2        Up   1000Mbps   Full   34:40:b5:b0:ba:2c 1500   Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T
vmnic1  0000:04:00.01 bnx2        Up   1000Mbps   Full   34:40:b5:b0:ba:2e 1500   Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T
vmnic2  0000:18:00.00 igb         Up   1000Mbps   Full   00:1b:21:d1:78:de 1500   Intel Corporation 82580 Gigabit Network Connection
vmnic3  0000:18:00.01 igb         Up   1000Mbps   Full   00:1b:21:d1:78:df 1500   Intel Corporation 82580 Gigabit Network Connection
vmnic4  0000:18:00.00 igb         Up   1000Mbps   Full   00:1b:21:d4:83:dj 1500   Intel Corporation 82580 Gigabit Network Connection
vmnic5  0000:18:00.01 igb         Up   1000Mbps   Full   00:1b:21:d5:83:dk 1500   Intel Corporation 82580 Gigabit Network Connection

 从这里我们看到新增网卡接口已正常显示出来了.

看完了这篇文章,相信你对“VMware ESXi 5上如何安装网卡驱动”有了一定的了解,如果想了解更多相关知识,欢迎关注亿速云行业资讯频道,感谢各位的阅读!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI