From owner-freebsd-net Fri Dec 6 7:45:31 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0A6137B401 for ; Fri, 6 Dec 2002 07:45:29 -0800 (PST) Received: from artemis.wszib.edu.pl (artemis.wszib.edu.pl [217.96.89.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2216443EC5 for ; Fri, 6 Dec 2002 07:45:27 -0800 (PST) (envelope-from butyn@wszib.edu.pl) Received: (from butyn@localhost) by artemis.wszib.edu.pl (8.11.6/8.11.6) id gB6FjOG13742 for freebsd-net@freebsd.org; Fri, 6 Dec 2002 16:45:24 +0100 Date: Fri, 6 Dec 2002 16:45:24 +0100 From: Bartlomiej Butyn To: freebsd-net@freebsd.org Subject: FreeBSD 4.7 and shapeing bridge Message-ID: <20021206164524.A13690@artemis.wszib.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi. I'm trying to configure shapeing bridge on FreeBSD and I have problems with putting packets to pipe with ipfw. My configuration is: %uname -a FreeBSD bridge1.milc.com.pl 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Fri Dec 6 13:31:37 CET 2002 root@bridge1.milc.com.pl:/usr/obj/usr/src/sys/MYKERNEL i386 cvsuped about 2 hours ago. I'm configuring test pipes with: bridge1# ipfw pipe 1 config bw 64Kbit/s bridge1# ipfw pipe 2 config bw 64Kbit/s bridge1# ipfw add pipe 1 ip from any to any out recv rl0 xmit vr0 bridge1# ipfw add pipe 2 ip from any to any out recv vr0 xmit rl0 then, I make some nettwork traffic going throught that bridge, and: bridge1# ipfw show 00100 0 0 pipe 1 ip from any to any out recv rl0 xmit vr0 00200 0 0 pipe 2 ip from any to any out recv vr0 xmit rl0 65535 2626 283073 allow ip from any to any Can you explain me why didn't any packet match rules 100 and 200? Measured network traffic is about 7Mbit/s. (that's because there is HUB between vr0 and test host), but why this bridge does not shapeing any traffic? Because I'm new on this list I don't know that I gave you all informations needed to answer to me. If not, tell me and I'll give you more with plaesure. TIA. -- Bartłomiej Butyn aka Yoss Nie ma tego złego co by na gorsze nie wyszło. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message