From owner-freebsd-stable@FreeBSD.ORG Thu Mar 31 18:42:38 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D03FE16A4CE; Thu, 31 Mar 2005 18:42:38 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 174FA43D2D; Thu, 31 Mar 2005 18:42:38 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DH4cm-0006J6-00; Thu, 31 Mar 2005 20:42:36 +0200 Received: from [84.128.137.221] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1DH4cm-0004nm-00; Thu, 31 Mar 2005 20:42:36 +0200 From: Max Laier To: Marko =?utf-8?q?=C4=8Cuk?= Date: Thu, 31 Mar 2005 20:42:10 +0200 User-Agent: KMail/1.7.2 References: <8eea040805010512321bf5b953@mail.gmail.com> <200503311746.07844.max@love2party.net> <424C3363.5010406@cuk.nu> In-Reply-To: <424C3363.5010406@cuk.nu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2159663.LE7JmoFcCV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503312042.20436.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: rwatson@freebsd.org cc: yar@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: ALTQ, pf and VLANs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 18:42:39 -0000 --nextPart2159663.LE7JmoFcCV Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 31 March 2005 19:29, Marko =C4=8Cuk wrote: > I am still running 5.3-RELEASE-p5 and there is > > /*$FreeBSD: src/sys/dev/em/if_em.c,v 1.44.2.2 2004/10/15 22:12:59 > tackerman Exp $*/ > > , obviously unpatched and bad driver. I'll try to cvsup to 5.4-PRE, but > I'm a little worried with stability, as this is my main firewall for > whole network. > > 2nd thing... try to disable it manually ? What :) ? I don't quite > understand you on that . Whoops, sorry - work blindness. I meant to say: Try to disable the hardwar= e=20 supported VLAN tagging manually $ifconfig em0 -vlanhwtag > ifconfig em1 disable ? :) I have traffic on it :) ( I'll be running > carp as soon and pfsync as I'll learn how to and if it will work fine > > :) , to have redaudant firewall ) > > Cuk > > Max Laier wrote: > >On Thursday 31 March 2005 04:38, Marko =C4=8Cuk 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= =2Ec > > 1.44.2.6 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 =C4=8Cuk 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: > >>>http://lists.freebsd.org/mailman/htdig/freebsd-net/2005-February/00645= 6. > >>>ht ml > >>> > >>>If you still can't live without ALTQ rate-limitting on VLAN submit a PR > >>>and throw it my way. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart2159663.LE7JmoFcCV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCTESMXyyEoT62BG0RAo8uAJ9s13YWfs/2924yb6YgPq10/HIw7gCeK62z XWurfpcc9JVZlqjT60LB8jg= =rjZP -----END PGP SIGNATURE----- --nextPart2159663.LE7JmoFcCV--