在 VMware ESXi 5.0 上安装网卡驱动
2012年02月28日 | 标签: vmware esxi | 作者:vpsee
昨天刚发现新购的 Dell PowerEdge R710 服务器上配的 Intel Ethernet Server Adapter X520-T2 万兆网卡居然在 VMware ESXi 里找不到,查了一下有 VMware 的官方驱动,不过需要另外安装。
到 VMWare 官方网站下载网卡驱动,然后上传到 VMware ESXi 服务器的一个临时目录 /tmp(用 scp 上传的话当然首先要开启 VMware ESXi 的 SSH 服务):
$ scp ixgbe-3.4.23-458775.zip [email protected]:/tmp
ssh 登陆到 VMware ESXi 服务器后解压驱动包,解压后会得到后缀为 .vib 的驱动文件:
$ ssh [email protected] Password: The time and date of this login have been sent to the system logs. VMware offers supported, powerful system administration tools. Please see www.vmware.com/go/sysadmintools for details. The ESXi Shell can be disabled by an administrative user. See the vSphere Security documentation for more information. ~ # cd /tmp/ /tmp # unzip ixgbe-3.4.23-458775.zip Archive: ixgbe-3.4.23-458775.zip inflating: ixgbe-3.4.23-offline_bundle-458775.zip inflating: net-ixgbe-3.4.23-1OEM.500.0.0.406165.x86_64.vib inflating: doc/README.txt inflating: source/driver_source_net-ixgbe_3.4.23-1OEM.500.0.0.406165.tgz inflating: doc/open_source_licenses_net-ixgbe_3.4.23-1OEM.500.0.0.406165.txt inflating: doc/release_note_net-ixgbe_3.4.23-1OEM.500.0.0.406165.txt
使用 esxcli 命令行安装 vib 驱动并检查是否安装成功:
/tmp # esxcli software vib install -v /tmp/net-ixgbe-3.4.23-1OEM.500.0.0.406165.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-ixgbe_3.4.23-1OEM.500.0.0.406165 VIBs Removed: VIBs Skipped: /tmp # esxcli software vib list Name Version Vendor Acceptance Level Install Date -------------------- ---------------------------------- ------ ---------------- ------------ net-ixgbe 3.4.23-1OEM.500.0.0.406165 Intel VMwareCertified 2012-02-24 ...
安装成功后重启 VMware ESXi,然后查看一下 Intel Corporation 10-Gigabit 网卡驱动是否能被正确识别出来:
/tmp # lspci | grep 'Network controller' 000:001:00.0 Network controller: Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T [vmnic0] 000:001:00.1 Network controller: Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T [vmnic1] 000:002:00.0 Network controller: Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T [vmnic2] 000:002:00.1 Network controller: Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T [vmnic3] 000:007:00.0 Network controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [vmnic4] 000:007:00.1 Network controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [vmnic5] 000:008:00.0 Network controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [vmnic6] 000:008:00.1 Network controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [vmnic7]
使用 vSphere Client 客户端登入 VMware ESXi 以后,进入 Configuration 页面的 Network Adapters 应该会看到新安装的 vmnic4, vmnic5, vmnic6, vmnic7 4个网卡接口了,或者直接在 ESXi 上用命令行界面:
~ # esxcfg-nics -l Name PCI Driver Link Speed Duplex MAC Address MTU Description ... vmnic4 0000:07:00.00 ixgbe Up 10000Mbps Full 90:e2:ba:05:2d:fc 1500 Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection vmnic5 0000:07:00.01 ixgbe Down 0Mbps Half 90:e2:ba:05:2d:fd 1500 Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection vmnic6 0000:08:00.00 ixgbe Down 0Mbps Half 90:e2:ba:05:29:98 1500 Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection vmnic7 0000:08:00.01 ixgbe Up 10000Mbps Full 90:e2:ba:05:29:99 1500 Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection
使用虚拟机的时候,会需要
哥们,我有个疑问,如果网卡不支持,应该连安装ESXi都不能安装,你是怎么安装完了ESXi再安装驱动的?我这里有台服务器用的华硕主板,网卡是MARVELL的,连安装都不让安装
@罗哥
这台服务器上有8个网卡,4个 Broadcom NetXtreme II 的,4个 Intel Corporation 82599EB,其中 Broadcom 的网卡不需要驱动。
@vpsee
那也就是说,如果我这台服务器的两块网卡找不到对应的驱动,是如何都不能安装esxi的对吧?
@vpsee
搞定了,自己定制了一下安装盘,谢谢
请问,ESXI里面的虚拟机怎么才能虚拟出万M的网卡,在物理机已经使用万M网卡的情况下。
请问罗哥是怎么搞定Marvell网卡的,能否指点一下,我快被搞死了。
罗哥我的邮箱[email protected] skype:kern_atom qq:554594254
感谢 已经成功添加 螃蟹 8111e驱动