From owner-freebsd-questions@FreeBSD.ORG Tue May 9 22:54:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7C0C16A400 for ; Tue, 9 May 2006 22:54:55 +0000 (UTC) (envelope-from dunc@lemonia.org) Received: from zest.lemonia.org (zest.lemonia.org [213.129.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 532C043D49 for ; Tue, 9 May 2006 22:54:55 +0000 (GMT) (envelope-from dunc@lemonia.org) Received: from ps2.jfk.braddon.org.uk ([84.92.193.244] helo=[192.168.1.148]) by zest.lemonia.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1Fdb84-000ORq-Qa for freebsd-questions@freebsd.org; Tue, 09 May 2006 23:56:33 +0100 Message-ID: <44611D4B.6030708@lemonia.org> Date: Tue, 09 May 2006 23:52:59 +0100 From: Dunc User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 84.92.193.244 X-SA-Exim-Mail-From: dunc@lemonia.org X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on zest.lemonia.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=disabled version=3.1.1 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on zest.lemonia.org) Subject: dummynet on vlan parent interfaces X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 22:54:55 -0000 Hi, I am attempting to set up contended bandwidth of varying levels, using vlans and dummynet. I have 3 nics, one for each level of service, and am simply setting the parent interface of each vlan device to the correct nic for required level. I was then hoping to limit the whole real nic as a whole, to produce contention. Initially I tried:- pipe 300 ip from any to any in via ste0 pipe 1300 ip from any to any out via ste0 But saw no packets hitting these rules. After a read of the ipfw manpage i thought enabling the sysctl variable "net.link.ether.ipfw" might help, which did indeed get me hits in one direction, but I still get no hits in the outbound direction. I'm guessing this is something to do with where dummynet sits in the whole scheme of things, but basically just want to know if there is a way to do what I'm trying or am I going about this the wrong way? Cheers, Dunc