Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 14:01:50 -0500
From:      "Jon Noack" <noackjr@compgeek.com>
To:        "Alexander" <amour@bugs.elitsat.net>, <freebsd-ipfw@freebsd.org>
Cc:        <freebsd-isp@freebsd.org>, <freebsd-questions@freebsd.org>
Subject:   RE: ipfw question
Message-ID:  <NFBBIJDHKLKEJHKFMLBHEEPDCBAA.noackjr@compgeek.com>
In-Reply-To: <20020625212231.U4383-100000@bugs.elitsat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Not that I know of (isn't that the point of fw.one_pass -- it only matches
one rule).  Why don't you want to use fw.one_pass?  (If it's because you're
using bridging I may be able to help)

Jon

Use the freebsd-ipfw list.  I've sent them this message as well.

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Alexander
Sent: Tuesday, June 25, 2002 1:39 PM
To: freebsd-questions@freebsd.org
Cc: freebsd-isp@freebsd.org
Subject: ipfw question


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




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