From owner-freebsd-questions@FreeBSD.ORG Sat Apr 16 15:07:25 2005 Return-Path: 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 9608A16A4CE for ; Sat, 16 Apr 2005 15:07:25 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 459DE43D41 for ; Sat, 16 Apr 2005 15:07:25 +0000 (GMT) (envelope-from budiyt@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so1102037nzf for ; Sat, 16 Apr 2005 08:07:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=llufYJCHcJGSWHAmhwxebz7j4+1pCfWv4wp+JTu53Bef6eMolPJ+Ku67vvx8T39Vix1EGA4AZbLpub2cxAoMRutvZRdZst1VKT0EAZaf/2/yn+junTJDT8ZxjA8htXX0q4rJM8btHkc6LJwW1yW3JvJy+cTVb58YRfW6J1wZIEk= Received: by 10.36.74.9 with SMTP id w9mr257263nza; Sat, 16 Apr 2005 08:07:23 -0700 (PDT) Received: by 10.36.79.4 with HTTP; Sat, 16 Apr 2005 08:07:23 -0700 (PDT) Message-ID: <4d4dc36405041608072c2eb6c@mail.gmail.com> Date: Sat, 16 Apr 2005 22:07:23 +0700 From: budsz To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Rule dummynet. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: budsz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 15:07:25 -0000 Hi, I use FreeBSD 4.X using traffic shapper with dummynet, I've some questions about implementation rule for my box, for example: I've 4 client computer let's say A, B, C, and D. I've total bandwith 1 Mbps. If client A online and the other offline (B, C, D), client A should get 100% bandwidht (In this case 1 Mbps), if client A & B online then A should get =3D 50% (500 kbps), B =3D 50% (500 kbps). If client A, B, C online then they should get 33,33% of 1 Mbps, If all user online they should get 25% of 1 Mbps. Dummynet can do this?, Would you give me an example rule? =20 Thank You. --=20 budsz