QoS

lycanthrope lycanthrope at post.htnet.hr
Mon Jul 12 09:02:30 PDT 2004


----- Original Message -----
From: "lycanthrope" <lycanthrope at post.htnet.hr>
To: <freebsd-net at freebsd.org>
Sent: Monday, July 12, 2004 5:43 PM
Subject: QoS


> hello
> how to setup QoS on FreeBSD 5.2CURRENT? all I need is to split the
outgoing adsl connection to 5 users on LAN

I forgot some details.
I want i to be dynamic. that is, 1 user, 100% usage, 2 users 50-50 etc.
I see that ipfw2 has RED included,and that RED can do this, but I really
can't seem to make it work
I tried:

ipfw add pipe 1 ip from any to 192.168.2.0/24
ipfw add queue 1 ip from any to 192.168.2.0/24
ipfw queue 1 config weight 5 pipe 1 mask dst-ip 0x000000ff
ipfw pipe1 config bw 360Kbit/s

ipfw add pipe 2 ip from 192.168.2.0/24 to any
ipfw add queue 2 ip from 192.168.2.0/24 to any
ipfw queue 2 config weight 4 pipe 2 mask dst-ip 0x000000ff
ipfw pipe 2 config bw 360Kbit/s

full speed of adsl is 384Kbit. what am I missing/doing wrong? AFAIK what I
did should split connection dinamically for any 2.x user connecting to net?
or?

thanks!



More information about the freebsd-net mailing list