From owner-freebsd-questions Wed Apr 24 2:49:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp02.smtphost.com (smtp02.smtphost.com [196.38.110.4]) by hub.freebsd.org (Postfix) with ESMTP id 3F01837B426 for ; Wed, 24 Apr 2002 02:49:04 -0700 (PDT) Received: from [196.38.110.24] (HELO mail01.infosat.net) by smtp02.smtphost.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 13285965 for freebsd-questions@freebsd.org; Wed, 24 Apr 2002 11:47:42 +0200 Received: from [66.8.23.235] (account ) by mail01.infosat.net (CommuniGate Pro WebUser 3.5.9) with HTTP id 60525283 for ; Wed, 24 Apr 2002 11:47:42 +0200 From: "mark pearce" Subject: IPFW Traffic shaping To: freebsd-questions@FreeBSD.ORG X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Wed, 24 Apr 2002 11:47:42 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit 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 Hi All I seem to have difficulty doing the traffic shaping for my clients. I am using 4.5-STABLE. My firewall rules are as follows: /sbin/ipfw pipe 1 config bw 32Kbit/s queue 50KBytes delay 300ms /sbin/ipfw pipe 2 config bw 32Kbit/s queue 50KBytes delay 300ms /sbin/ipfw pipe 3 config bw 32Kbit/s queue 50KBytes delay 300ms /sbin/ipfw pipe 4 config bw 32Kbit/s queue 50KBytes delay 300ms /sbin/ipfw pipe 5 config bw 32Kbit/s queue 50KBytes delay 300ms /sbin/ipfw pipe 6 config bw 32Kbit/s queue 50KBytes delay 300ms /sbin/ipfw add 101 pipe 1 ip from 192.168.150.12 to any in /sbin/ipfw add 102 pipe 2 ip from any to 192.168.150.12 out /sbin/ipfw add 103 pipe 3 ip from 192.168.150.13 to any in /sbin/ipfw add 104 pipe 4 ip from any to 192.168.150.13 out /sbin/ipfw add 105 pipe 5 ip from 192.168.150.90 to any in /sbin/ipfw add 106 pipe 6 ip from any to 192.168.150.90 out My problem is that the ip's that I mention in my rules are getting more than the 32K that I am allowing them. How do I alter these rules to enforce my limits on my clients. Thanks Mark == Brought to you by Ananzi Shopping for specials, competitions and free goodies! [http://www.ananzishopping.co.za] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message