There is a trick for doing this:
-> Make 2 pipes with webgui
pipe 1 bw 200kbps
pipe 2 bw 100kbps mask scr-ip 0xffffffffff
->Then, attach the same network/hosts to these pipes.
if m0n0wall implemented with kernel_oid "one_pass=0"
in ipfw settings (someone to correct me if not), this has the
-when any single host is alone , gets 100Kbps at max
(pipe 2 delays them, because is slower than pipe#1)
- All hosts/network summarises at 200Kbps at max
(when a 3th host tries to get 100kbps as pipe#2 permits,
pipe#1 becomes the slower pipe and slows the whole
Be carefull, while the same packet goes thru 2 pipes and this
is a good reason to mess the whole configuration .
----- Original Message -----
From: "Michal" <michal at vracov dash private dot net>
To: "M0n0wall" <m0n0wall at lists dot m0n0 dot ch>
Sent: Wednesday, January 12, 2005 10:43 PM
Subject: [m0n0wall] Traffic shaping question
I'm still struggling to convert my previous debian based router to
m0n0wall and I ran into another problem I am unable to solve myself.
Sorry for keeping spamming the list with questions :-)
My current problem is related to the traffic shaping. I previously used
htb and was used to create stuff like this (just an example):
class 200kbit --> host1 100kbit, host2 100kbit, host3 100kbit
where all these 3 hosts share 200kbit of the bw. The total speed of
these hosts can't exceed the total 200kbit speed (it gets split between
the three of them) and one single host also can't exceed the 100kbit
The previous traffic shaping was more complicated, but the problem is
just how to accomplish these 2 things - 1 host has a limit he can't
exceed, but all of them can't exceed the total bw.
Any help would be really appreciated,
Michal <michal at vracov dash private dot net>
http://www.freemail.gr - free email service for the Greek-speaking.