ALTQ, pf and VLANs

Max Laier max at
Thu Mar 31 07:46:25 PST 2005

On Thursday 31 March 2005 04:38, Marko Čuk wrote:
> Max, that solution works fine. I have tried it and it works fine for me.
> Thanks.
> Anyway, do you know some issues with dropping traffic on em0 vlan
> enabled interfaces and  tcpdump-ing ? The average traffic, that we
> tcpdump is cca 10-20mbit/s and when tcpdump-ing, we get allmost 90%
> packet loss on interfaces. Any clue ?

Ugh, I know of such an issue, but was thinking that it should be fixed by now.  
Can you make sure that you have your kernel/em(4) built with if_em.c 
or later?  The effect should simply be that it disables VLAN hardware support 
which doesn't seem to work with promiscuous mode.  You could also try to 
disable it manually (ifconfig) to see if that improves on the packet loss.

> Marko
> Max Laier wrote:
> >On Tuesday 29 March 2005 20:28, Marko Čuk wrote:
> >>Will that be fixed in 5.4 ? Right now, today it won't work without a
> >> patch.
> >>
> >>pfctl: vlan0: driver does not support altq
> >
> >Please see:
> >
> >ml
> >
> >If you still can't live without ALTQ rate-limitting on VLAN submit a PR
> > and throw it my way.

/"\  Best regards,                      | mlaier at
\ /  Max Laier                          | ICQ #67774661
 X  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list