Date: Mon, 18 Dec 2000 09:23:57 -0800 (PST) From: Luigi Rizzo <rizzo@aciri.org> To: nicolai@petri.cc (Nicolai Petri) Cc: term@rmci.net, freebsd-ipfw@FreeBSD.ORG Subject: Re: Bandwith limitation (Is it possible to...) Message-ID: <200012181723.eBIHNvZ58950@iguana.aciri.org> In-Reply-To: <014101c06914$3ef79810$8632a8c0@atomic.dk> from Nicolai Petri at "Dec 18, 2000 6: 2: 3 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> > > Why would you ever want to do that? That would be the same as no bandwidth > > limit > > Not exactly. I wish to allow almost unlimited http access to everyone but > limit the amount of news/ftp traffic used. But it would be fair to allow > possible free bandwith to be used for those who run news/ftp. you can use the WF2Q+ feature in dummynet in 4.2 and CURRENT. See http://www.iet.unipi.it/~luigi/ip_dummynet/ for more detailed instructions. The way to act would be to pass news/ftp traffic through a queue with low weight (say 1..5) and the rest of the traffic through a queue with a weight which is 20 times larger. Then you link the queues to a pipe with a bw of 25-30 Mbit (to account for packet headers overhead). cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- 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?200012181723.eBIHNvZ58950>