Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 18:00:50 +0200
From:      "lycanthrope" <lycanthrope@post.htnet.hr>
To:        "lycanthrope" <lycanthrope@post.htnet.hr>, <freebsd-net@freebsd.org>
Subject:   Re: QoS
Message-ID:  <002801c46829$6748d230$1205a8c0@jkhahhytncost7>
References:  <001501c46826$ea0f1740$1205a8c0@jkhahhytncost7>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: "lycanthrope" <lycanthrope@post.htnet.hr>
To: <freebsd-net@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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c46829$6748d230$1205a8c0>