From owner-freebsd-questions Tue Jun 25 11:39:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from bugs.elitsat.net (bugs.elitsat.net [213.208.10.19]) by hub.freebsd.org (Postfix) with ESMTP id 1E94137B400; Tue, 25 Jun 2002 11:39:12 -0700 (PDT) Received: from bugs.elitsat.net (amour@localhost.elitsat.net [127.0.0.1]) by bugs.elitsat.net (8.12.3/8.12.3) with ESMTP id g5PId3pi004455; Tue, 25 Jun 2002 21:39:03 +0300 (EEST) (envelope-from amour@bugs.elitsat.net) Received: from localhost (amour@localhost) by bugs.elitsat.net (8.12.3/8.12.3/Submit) with ESMTP id g5PId0dC004452; Tue, 25 Jun 2002 21:39:02 +0300 (EEST) Date: Tue, 25 Jun 2002 21:38:59 +0300 (EEST) From: Alexander To: Cc: Subject: ipfw question Message-ID: <20020625212231.U4383-100000@bugs.elitsat.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have few clients which should share 1 channel of 256Kbit/s and each one of them should have max 64Kbit/s. The idea is like 5-6 clients to share 256Kbit/s I do the following pipe configs ipfw pipe 1 config bw 64Kbit/s queue 5 ... ipfw pipe 6 config bw 64Kbit/s queue 5 ipfw pipe 7 config bw 256Kbit/s queue 5 ipfw add pipe 1 all from any to any via tun0 ipfw add pipe 7 all from any to any via tun0 ... ... ipfw add pipe 6 all from any to any via tun5 ipfw add pipe 7 all from any to any via tun5 (Each client has a tunnel) And what happens is that packets only go to the first rule and everyone have 64k but they don't share one 256k/s channel Is there a way doing this without using sysctl variable net.inet.ip.fw.one_pass ? thanks P.S. I'll be glad if someone responds as quick as possible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message