Update ESXi iSCSI Network Drivers – A Quick Guide
If you want to upgrade the network drivers within ESXi 5 follow these simple steps.
First off you need the name of the vmnic that you want to upgrade. Run this to display a list of installed network adapters currently in use.
# esxcfg-nics -l
You then need to discover which drivers you have installed. You can find this out by running this command
# ethtool -i nameofnic
As you can see my driver is the be2net version 188.8.131.52.
Now go and download the most recent, supported driver version. The VMware website is a good place to start, however always check with your hardware manufacturer for their lastest supported version.
Once the driver is downloaded you can either use esxcli (esxupdate/vihostupdate is available for pre vSphere 5 only) or VMware Update Manager.
I would strongly recommend using Update Manager. It makes patch management so simple.
If however you don’t have update manager installed in your environment (why not?) or you are eager to learn how to install drivers from the command line the you can use the following.
- Upload the driver to a datastore accessible to the ESXi host, either using the datastore browser in the vSphere Client or using something like WinSCP to upload to the
/vmfs/volumes/datastore(replacing datastore with the appropriate name of your datastore)
- Enter maintenance mode
esxcli software vib install –d /vmfs/volumes/datastore/offline-bundle.zip
- Once complete reboot the host and exit maintenance mode
If you would like to know which drivers you have installed already you can run
# software vib list – Lists the installed VIB packages
# software vib get – Displays detailed information about one or more installed VIBs. You can also use
--vibname to just display information about the specified vib.