Intermittent packet drops and bidirectional communication failures occur between virtual machines running a third-party virtual network appliance (for example, F5 BIG-IP VE) configured with guest-level Layer 2 Trunking (IP Hash) over SR-IOV Virtual Functions (VFs) on VMware vSphere ESXi.
Observed Symptoms and Behavior:
Connectivity succeeds for the first 2 to 3 packets (such as ICMP pings) before freezing and dropping all subsequent traffic bidirectionally.
Single-interface configurations (untagged, tagged, multiple VLANs on one NIC, or a 1-NIC trunk) work normally. The issue begins as soon as a second active SR-IOV NIC is added to the guest-level L2 Trunk bundle with multiple tagged VLANs.
Within the virtual network appliance trunk bundle, the non-working interface shows continuously incrementing outbound packet counters with zero inbound packet counters, while inbound counters increment on the opposite trunk member.
The issue occurs in both direct point-to-point topologies and environments with upstream physical switches, as physical switches cannot override local host SR-IOV driver rejections.
Uplink packet captures (pktcap-uw / tcpdump) show outbound ARP requests with no corresponding replies returning on the same uplink. Depending on the NIC hardware vendor, firmware, and whether traffic flows through the Physical Function (PF) driver or bypasses via direct VF DMA mapping, raw line-rate frames for active VF streams may not register cleanly in ESXi kernel uplink hooks (vmnic#).
Modifying standard vSwitch or vDS security and teaming settings (Promiscuous Mode, MAC Address Changes, Forged Transmits) has no effect because SR-IOV traffic bypasses the ESXi VMkernel network stack.
Log Events (/var/log/vmkernel.log / dmesg): The physical NIC driver (for example, Intel icen on E810 adapters) logs untrusted VF rejections, MAC/VLAN filter cap exhaustion, unsupported passthrough opcodes, and Virtual Function Level Resets (VFLR):
WARNING: icen: indrv_ConfigPromiscuousModeReq: VF 0: Cannot configure promiscuous mode when the Virtual Function is not trusted
WARNING: icen: indrv_CheckVfPermission: VF 0: Attempted to override administratively set MAC address
WARNING: icen: indrv_SendMsgToVf: VF 0: Failed opcode 20, Error -1
WARNING: icen: indrv_CanVfAddMacOrVlan: VF 0: Cannot add 5 MAC filters. Virtual Function is not trusted and maximum allowed number of filters is limited to 16
WARNING: icen: indrv_PassthruOps: Operation code 0x0000000e is not supported
icen: indrv_ProcessVflrEvent: VF 0: VFLR event receivedVMware vSphere ESXi
An architectural conflict exists between guest-level Layer 2 Link Aggregation (which asserts a shared MAC address and multiple VLAN filters across independent interfaces) and the default security and resource enforcement of untrusted SR-IOV Virtual Functions in the physical NIC driver and firmware. Because untrusted VFs block MAC overrides, promiscuous mode, and dynamic MAC/VLAN filter additions beyond the hardware limit (16 filters), the PF driver rejects the guest requests and triggers VFLR resets, resulting in dropped frames at the physical NIC layer.
Align the guest network design with the physical SR-IOV hardware constraints using one of the following options:
Option A: Maintain SR-IOV Performance (Layer 3 Isolation - Recommended)
Remove the guest-level Layer 2 Trunk/Bundle configuration inside the virtual network appliance.
Configure each SR-IOV link as an independent Layer 3 path with its own isolated IP subnet and static, unique MAC address. This eliminates shared-MAC overrides, filter cap exhaustion, and asymmetric L2 hashing without weakening VF security.
Option B: Maintain Guest-Level L2 Aggregation (Revert to VMXNET3)
Disable SR-IOV pass-through on the ESXi host for the affected VM adapters and convert the vNICs to standard VMXNET3 adapters.
Delegate uplink teaming, failover, and MAC coordination to the ESXi Distributed Switch (vDS), shielding the physical NIC ASIC from guest-driven VF resets.
Option C: Enable Trusted Mode on SR-IOV Virtual Functions (If Both SR-IOV and L2 Trunking Are Required)
WARNING:
Security Impact: Enabling Trusted Mode removes default hardware anti-spoofing, promiscuous mode blocks, and the 16-filter cap for the guest VM, reducing host-level network isolation.
Maintenance Window & Reboot: Persisting
trust_all_vfs=1via ESXi module parameters requires a host reboot to take effect. Place the ESXi host into Maintenance Mode before rebooting.ESXi 8.x Plugin Requirement: The
esxcli intnetnamespace is not native to ESXi 8.x and requires the IntelintnetESXCLI plugin VIB to be installed. Runtime changes made viaesxcli intnetdo not persist across host reboots.Physical Switch Coordination: If upstream physical switches are present, ensure matching port-channel/vPC/LACP configuration is in place to handle the guest trunking mode.
Apply Runtime Change (Intel intnet plugin required, non-persistent):
esxcli intnet sriovnic vf set -t true -v <VF_ID> -n <vmnic>
Apply Persistent Change (Native ESXi 8.x, applies to all VFs on the driver, requires host reboot):
esxcli system module parameters set -a -m <driver> -p "trust_all_vfs=1"
Verify VF Trust State (Intel intnet plugin required):
esxcli intnet sriovnic vf get -v <VF_ID> -n <vmnic>
Validate Fix: Power on the virtual network appliance and monitor /var/log/vmkernel.log to confirm that the untrusted VF MAC override, filter limit, and unsupported opcode errors no longer appear.
Revert / Rollback Commands:
Revert runtime change (non-persistent):
esxcli intnet sriovnic vf set -t false -v <VF_ID> -n <vmnic>
Revert persistent change (requires ESXi host reboot to take effect):
esxcli system module parameters set -a -m <driver> -p "trust_all_vfs=0"