Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Dec 2002 09:51:22 -0600
From:      Kevin Day <toasty@dragondata.com>
To:        Bartlomiej Butyn <butyn@milc.pl>, freebsd-net@freebsd.org
Subject:   Re: FreeBSD 4.7 and shapeing bridge
Message-ID:  <5.1.1.5.2.20021206095103.034102f8@127.0.0.1>
In-Reply-To: <20021206164524.A13690@artemis.wszib.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.5.2.20021206095103.034102f8>