Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2002 16:27:56 +0000
From:      lewiz <purple@lewiz.info>
To:        FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   Re: QoS and jails.
Message-ID:  <20021215162756.GA31268@lewiz.org>
In-Reply-To: <20021215145309.GA27454@lewiz.org>
References:  <20021215145309.GA27454@lewiz.org>

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

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021215162756.GA31268>