Re: vtnet with vlan doesn't work without promiscuous mode

From: Marco Moock <mm_at_dorfdsl.de>
Date: Thu, 29 Jan 2026 15:21:19 UTC
Am 29.01.2026 um 10:34:47 Uhr schrieb Vladimir Grebenshchikov:

> Please take a look at
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292759 it sounds
> similar probably, command below will solve the issue

> ifconfig vtnet0 -vlanhwfilter
> 
> also, you can try the patch from issue above.

That affects another driver and I assume I cannot directly use this
patch.

I tried to remove vlangwfilter, this changed the interface, but the
issue persists. Enabling promisc fixes it, so I assume the issue is at
a different place.

[m@test ~]$ ifconfig vtnet0 |grep --color -i vlan
        options=ed07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS>
[m@test ~]$ sudo ifconfig vtnet0 -vlanhwfilter
[m@test ~]$ ifconfig vtnet0 |grep --color -i vlan
        options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS>

I will also ask on the virtualbox list if the virtio interface supports
VLAN filtering.

-- 
Gruß
Marco

Send unsolicited bulk mail to 1769679287muell@cartoonies.org