Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 21:38:59 +0300 (EEST)
From:      Alexander <amour@bugs.elitsat.net>
To:        <freebsd-questions@freebsd.org>
Cc:        <freebsd-isp@freebsd.org>
Subject:   ipfw question
Message-ID:  <20020625212231.U4383-100000@bugs.elitsat.net>

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




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