From owner-freebsd-stable@FreeBSD.ORG Thu Mar 31 17:26:55 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 712B916A4CE; Thu, 31 Mar 2005 17:26:55 +0000 (GMT) Received: from viharnik.xenya.net (viharnik.xenya.si [213.143.80.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98CE243D5F; Thu, 31 Mar 2005 17:26:54 +0000 (GMT) (envelope-from cuk@cuk.nu) Received: from localhost (tabla.xenya.si [213.143.80.70]) by viharnik.xenya.net (Postfix) with ESMTP id D1FCB238B2; Thu, 31 Mar 2005 19:26:55 +0200 (CEST) Received: from viharnik.xenya.net ([213.143.80.85]) by localhost (tabla.xenya.si [213.143.80.70]) (amavisd-new, port 10024) with ESMTP id 17393-09; Thu, 31 Mar 2005 19:26:58 +0200 (CEST) Received: from [192.168.6.60] (unknown [192.168.6.60]) by viharnik.xenya.net (Postfix) with ESMTP id EE9BD238AF; Thu, 31 Mar 2005 19:26:54 +0200 (CEST) Message-ID: <424C3363.5010406@cuk.nu> Date: Thu, 31 Mar 2005 19:29:07 +0200 From: =?UTF-8?B?TWFya28gxIx1aw==?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Max Laier References: <8eea040805010512321bf5b953@mail.gmail.com> <200503292325.38904.max@love2party.net> <424B62C3.5090107@cuk.nu> <200503311746.07844.max@love2party.net> In-Reply-To: <200503311746.07844.max@love2party.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at xenya.si 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 17:26:55 -0000 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 . 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 Č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 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 Č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: >>>http://lists.freebsd.org/mailman/htdig/freebsd-net/2005-February/006456.ht >>>ml >>> >>>If you still can't live without ALTQ rate-limitting on VLAN submit a PR >>>and throw it my way. >>> >>> > > > -- Private: http://cuk.nu Sports: http://www.cuk.nu Slovenian FreeBSD mirror admin http://www2.si.freebsd.org Work @ http://www.xenya.si