From owner-freebsd-questions Mon Dec 16 11:14:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13A3537B404 for ; Mon, 16 Dec 2002 11:14:32 -0800 (PST) Received: from angelfish.lewiz.org (dialup.212-50-182-121.karoo.KCOM.COM [212.50.182.121]) by mx1.FreeBSD.org (Postfix) with SMTP id 9308043EA9 for ; Mon, 16 Dec 2002 11:14:23 -0800 (PST) (envelope-from lewiz@turtle.lewiz.org) Received: (qmail 11212 invoked by uid 85); 16 Dec 2002 19:14:07 -0000 Received: from lewiz@turtle.lewiz.org by angelfish by uid 0 with qmail-scanner-1.14 (sophie: 2.10/3.62. spamassassin: 2.43. Clear:SA:0(-3.0/5.0):. Processed in 3.098274 secs); 16 Dec 2002 19:14:07 -0000 X-Spam-Status: No, hits=-3.0 required=5.0 Received: from turtle.lewiz.org (192.168.0.9) by angelfish.lewiz.org with SMTP; 16 Dec 2002 19:14:00 -0000 Received: (nullmailer pid 31301 invoked by uid 1001); Sun, 15 Dec 2002 16:27:56 -0000 Date: Sun, 15 Dec 2002 16:27:56 +0000 From: lewiz To: FreeBSD-questions Subject: Re: QoS and jails. Message-ID: <20021215162756.GA31268@lewiz.org> Mail-Followup-To: lewiz , FreeBSD-questions References: <20021215145309.GA27454@lewiz.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <20021215145309.GA27454@lewiz.org> X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 15, 2002 at 02:53:09PM +0000, lewiz wrote: > I've not really much (any) knowledge of QoS. I am wondering whether > it would be possible to de-prioritize bandwidth from a certain ip > address? > Ideally I want a jail on my gateway for setting up downloads (using > wget). Since I am only on 56k this kills web browsing speeds for the > other workstations -- if the jail were deprioritized it would kick in > only if there was no other traffic. >=20 > Is this possible with QoS (or anything else) and if so, how? I've done a bit of hunting myself and I've come to the conclusion that this _is_ possible through using DUMMYNET and IPFW (the controller for dummynet). However, having read the DUMMYNET and IPFW man pages and searched Google for tutorials I have turned up very little. What I am trying to do: 192.168.0.1 is a gateway w/ nat. 192.168.0.4 is a downloading machine. 192.168.0.10-20 are workstations. I only have a 56k modem, so if somebody is downloading something from 192.168.0.4 the Internet access effectively stops for the workstations. Therefore I want to deprioritize Internet access from the downloading machine so it only utilizes ``free'' bandwidth. I guess this is almost like setting the nice of a process to 20. Any ideas? One useful page I've found is http://info.iet.unipi.it/~luigi/ip_dummynet/ but I still don't think it has quite what I want to do. -lewiz. --=20 "Life would be much simpler and things would get done much faster if it weren't for other people" -- Blore ------------------------------------------------------------------------ --|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||-- --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9/K2MItq0KFQv7T8RAhT+AJ42w+AYAFQiPa2PXk+Ws58SH/jnjgCZAbeb 3hCkEAlC6w6TTkyKn8qj3Dc= =wsF3 -----END PGP SIGNATURE----- --liOOAslEiF7prFVr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message