From owner-freebsd-net Fri Dec 6 7:51:33 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 0A74A37B401 for ; Fri, 6 Dec 2002 07:51:32 -0800 (PST) Received: from shell.dragondata.com (shell.dragondata.com [66.250.147.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2729C43EA9 for ; Fri, 6 Dec 2002 07:51:31 -0800 (PST) (envelope-from toasty@dragondata.com) Received: (from root@localhost) by shell.dragondata.com (8.11.4/8.11.3) id gB6FpUJ02420; Fri, 6 Dec 2002 09:51:30 -0600 (CST) (envelope-from toasty@dragondata.com) Received: from KEVIN-AW.dragondata.com (dsl092-133-143.chi1.dsl.speakeasy.net [66.92.133.143]) by shell.dragondata.com (8.11.4/8.11.3av) with ESMTP id gB6FpT702340; Fri, 6 Dec 2002 09:51:29 -0600 (CST) (envelope-from toasty@dragondata.com) Message-Id: <5.1.1.5.2.20021206095103.034102f8@127.0.0.1> X-Sender: toasty@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Fri, 06 Dec 2002 09:51:22 -0600 To: Bartlomiej Butyn , freebsd-net@freebsd.org From: Kevin Day Subject: Re: FreeBSD 4.7 and shapeing bridge In-Reply-To: <20021206164524.A13690@artemis.wszib.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by dragondata.com virus scanner 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 At 09:45 AM 12/6/2002, Bartlomiej Butyn wrote: >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. Have you turned on ipfw for bridging? Try this: sysctl -w net.link.ether.bridge_ipfw=1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message