I had several folks ask me about an updated USB 3.0 Ethernet Driver for ESXi 6.5, similar to what I had created for ESXi 5.5 and 6.0. There were some changes that came with ESXi 6.5 and thanks to Songtao, I was able to build a new driver. For those of you who are not familiar with this particular driver, I highly recommend you give this article here a read before proceeding any further. If you are interested in Realtek driver for ESXi 6.5, be sure to check out Jose's blog here for more info.
UPDATE (02/12/19) - A new VMware Native Driver for USB-based NICs has just been released for ESXi 6.5/6.7, please use this driver going forward. If you are still on ESXi 5.5/6.0, you can continue using the existing driver but please note there will be no additional development in the existing vmklinux-based driver.
UPDATE (04/23/18) - For folks who plan to upgrade or install ESXi 6.7, you can continue using the 6.5 driver. I've had several folks reach out and share there have not been any issues and upgrades will preserver the USB NIC driver or you can perform a fresh install and follow the steps below.
To use this new driver for ESXi 6.5, there are some additional steps that is required. Below are the instructions on how to install this on an ESXi 6.5 host.
Step 0 - Download the ESXi 6.5 USB Ethernet Adapter Driver VIB or ESXi 6.5 USB Ethernet Adapter Driver Offline Bundle and upload it to your ESXi host.
Step 1 - If you are upgrading from an existing ESXi 5.5 or 6.0 environment, the first thing you will want to do is uninstall the old driver by running the following command (specify the correct name of the driver):
esxcli software vib remove -n vghetto-ax88179-esxi60u2
Step 2 - Install the VIB by running the following ESXCLI command to install:
esxcli software vib install -v /vghetto-ax88179-esxi65.vib -f
Step 3 - Next, you will need to disable the USB native driver to be able to use this driver. To do so, run the following command:
esxcli system module set -m=vmkusb -e=FALSE
Step 4 - Lastly, for the changes to go into effect, you will need to reboot your ESXi host. Once your system has rebooted, it should now automatically load the USB Ethernet driver and you should see your USB Ethernet Adapter as shown in the screenshot below.
Step 5 - ESXi does not natively support USB NIC and upon a reboot, the USB NICs are not picked up until much later in the boot process which prevents them from being associated with VSS/VDS and their respective portgroups. To ensure things are connected properly after a reboot, you will need to add something like the following in /etc/rc.local.d/local.sh which re-links the USB NIC along with the individual portgroups as shown in the example below.
esxcfg-vswitch -L vusb0 vSwitch0
esxcfg-vswitch -M vusb0 -p "Management Network" vSwitch0
esxcfg-vswitch -M vusb0 -p "VM Network" vSwitch0
You will also need to run /sbin/auto-backup.sh to ensure the configuration changes are saved and then you can issue a reboot to verify that everything is working as expected.