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

Marco Moock <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
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 [email protected]
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpXefSZn9R6zNZtTQE76RLz2tRfAFAml7eu8ACgkQE76RLz2t
RfAalw//SuegsDc/PnXxd8V8H+ND2+EqXNpJv0MKBvjAfa8RP25eWxP3bcPIbwcn
1Jsa26ZX8vJh0xVfyaGMHifKIWHOpfMUfrdlRO7PRsdDsWsUOReV7wuBUVVOEwbr
nqfoEt2cmOTVLD9hv5dwM64H6otdURk25kvQAQxzgbqSc0RGkive8XUT3DU2GbtU
x6aXfX2pFHP8jNaXhxI7dL+cYczPwEUwvYSBtzACEQHgUe9jwpdjfiyqdc2OLs2N
kHT11cEryglQ6TwRqZRfB509mNgmGVBypswmrmc+heGqeKUsiAjyEGK2wpbEOW4e
1XywHcm4PBrQXjjStwOIpoktQrGbkk1SUjqdn7/Lsi5j7CWhR52Zba5ScS9RAJaJ
cVsIo4p7wBIQb3Xw79mg9RHxXbTfLW5TEKVlvw6qYNkxK6jjnu7u39YPQBAcvh1H
SpL1/QS4xb7R1phVdBsSkj64em0bSxCf3quh6NC4bdTUUKJRC2hou+w8KbhUnMSQ
SnqeLJW7t2k5FbX8McnErmrbeDM5w5QnMsVjv9FZZXdPZZpSN6VNy/Ytt2aek/dM
VlHtdMTNtJeS5uVwf75QNywdLlGNl8yMoTtrKQkvOJnEXqFIvypn3ckPornyQo3p
ni1izhwe5MkiLqV2boI3LNgwyTUrC9z//hJ/xmH949U5pZTOAFY=
=uaYQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.