USB Network Native Driver for ESXi – Fling Available

USB has become one the most widely adopted connection type in the world & USB network adapters are also popular among Edge computing platforms. In some platforms, there is either limited or no PCI/PCIe slots for I/O expansion & in some cases, an Ethernet port is not even available. Another advantage of a USB-based network adapter is that it can be hot-plugged into an system without a reboot which means no impact to the workload, same is true for hot-remove.

This Fling supports three of the most popular USB network adapter chipsets found in the market. The ASIX USB 2.0 gigabit network ASIX88178a, ASIX USB 3.0 gigabit network ASIX88179 & the Realtek USB 3.0 gigabit network RTL8153. These are relatively inexpensive devices that many of our existing vSphere customers are already using and are familiar with.

 

There are two versions available to download  , Try today  . Reference

Requirements

  • VMware ESXi 6.5 or 6.7
  • USB Network Adapter with AX88178a, AX88179 or RTL8153 Chipset

Any adapters using the following chipsets and with the following VID/PID are supported.

Instructions

Step 1 – Download the VIB for the specific version of your ESXi host and upload to ESXi host using SCP or Datastore Browser

Step 2 – Place the ESXi host into Maintenance Mode using the vSphere UI or CLI (e.g. esxcli system maintenanceMode set -e true)

Step 3 – Install the VIB by running the following command on ESXi Shell:

esxcli software vib install -v /path/to/vib

Step 4 – Plug-in the USB NIC and reboot for the change to go into effect. Once the host has rebooted, ESXi should automatically pickup and claim the USB NIC (e.g. vusb0)

Persisting USB NIC Bindings

Currently there is a limitation in ESXi where USB NIC bindings are picked up much later in the booth process and to ensure settings are preserved upon a reboot, the following needs to be added to /etc/rc.local.d/rc.local based on your configurations.

Below is an example which binds the physical USB NIC (vsub0) to vSwitch and the respective portgroups that are also attached on the VSS

vusb0_status=$(esxcli network nic get -n vusb0 | grep 'Link Status' | awk '{print $NF}')
count=0
while [[ $count -lt 20 && "${vusb0_status}" != "Up" ]] ]
do
    sleep 10
    count=$(( $count + 1 ))
    vusb0_status=$(esxcli network nic get -n vusb0 | grep 'Link Status' | awk '{print $NF}')
done

if [ "${vusb0_status}" = "Up" ]; then
    esxcfg-vswitch -L vusb0 vSwitch0
    esxcfg-vswitch -M vusb0 -p "Management Network" vSwitch0
    esxcfg-vswitch -M vusb0 -p "VM Network" vSwitch0
fi
Download