Errors Out on VLANs in non-Passive mode

Started by flushell, January 08, 2021, 12:12:29 PM

Previous topic - Next topic
I noticed Interface Out errors (Atachment) on my VLANS when they where very active dowloading. Tracked it down to Sensei. The errors only occur in non-Passive mode (both L3 native and generic). So, the errors stop occuring in Passive mode.

I have two VLANS and the errors do not occur on the parent LAN. Only the Parrent LAN is selected in Protected Interfaces. Everything is still in default mode (I'm testing this out), I have nothing blocked.

I tried to Enable and Disable VLAN Hardening in Interface settings, that did not help. Hardware CRC, TSO en LRO are disabled.

Opnsense is running in a qemu VM in Proxmox on a Dell Poweredge T330. The VM has two network cards assigned that are Linux Bridges of the original network cards, which are Broadcom Gigabit Ethernet BCM 5720.

Any ideas why the errors are occuring?

Hi,

Your interface is vtnet? if yes, have you ever tried with em?

January 08, 2021, 09:16:34 PM #2 Last Edit: January 08, 2021, 09:20:29 PM by flushell
Quote from: sy on January 08, 2021, 04:02:22 PM
Hi,

Your interface is vtnet? if yes, have you ever tried with em?

Yes interface is vtnet (LAN and WAN)
I have mutiple interfaces as shown in the attachment.
The VLANS (The ones beginning with VL_) give Out Errors. The LAN Interface gives NO errors.
The LAN is the Parent of those VLANS.

Quote from: sy on January 08, 2021, 04:02:22 PM
Hi,

Your interface is vtnet? if yes, have you ever tried with em?

What do you mean?

July 16, 2021, 06:06:39 PM #4 Last Edit: July 16, 2021, 06:10:30 PM by Gcon
He means have you tried to emulate a different ethernet NIC type.

Anyway how did you go with this? I am seeing "errors out" on a VLAN interface on a virtualised firewall. Wondering if you found a solution? I noticed that the original post was prior to the release of 21.1 which contained a fix of "Fix stability and reliability issues with regard to vmx(4), vtnet(4), ixl(4), ix(4) and em(4) ethernet drivers."

Did you upgrade to 21.1, and did that fix your issue?

Good luck finding a solution. I have the same exact issue. I tried baremetal install and virtual on proxmox. Same result.

Hi,

Please can you try the new patched kernel? There is an issue with VLANs with netmap.

https://forum.opnsense.org/index.php?topic=32114.0

> Any ideas why the errors are occuring?

Drops due to missing free mbufs. Does it have any operational impact?

The test kernel makes this slightly better but drops will always occur in emulated mode as it has no fixed guarantees.


Cheers,
Franco