From owner-freebsd-pf@FreeBSD.ORG Fri Dec 16 13:41:40 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69B4316A41F for ; Fri, 16 Dec 2005 13:41:40 +0000 (GMT) (envelope-from nikky@mnet.bg) Received: from home.mnet.bg (home.mnet.bg [193.110.223.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 972A343D53 for ; Fri, 16 Dec 2005 13:41:39 +0000 (GMT) (envelope-from nikky@mnet.bg) Received: from localhost (home [127.0.0.1]) by home.mnet.bg (Postfix) with ESMTP id 3DF963B302 for ; Fri, 16 Dec 2005 15:41:38 +0200 (EET) Received: from home.mnet.bg ([127.0.0.1]) by localhost (home [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16556-01-9 for ; Fri, 16 Dec 2005 15:41:37 +0200 (EET) Received: from orange.mnet.bg (orange.mnet.bg [193.110.223.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by home.mnet.bg (Postfix) with ESMTP id 84D413B2F7 for ; Fri, 16 Dec 2005 15:41:37 +0200 (EET) Date: Fri, 16 Dec 2005 15:41:33 +0200 From: Nickola Kolev To: freebsd-pf@freebsd.org Message-Id: <20051216154133.182bab4f.nikky@mnet.bg> Organization: MNET X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__16_Dec_2005_15_41_33_+0200_55.pIXSF4flscp/M" X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mnet.bg Subject: altq and max number of classes on xBSD X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 13:41:40 -0000 --Signature=_Fri__16_Dec_2005_15_41_33_+0200_55.pIXSF4flscp/M Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Currently I have a GNU/Linux based router, which is serving as a traffic control gateway for a /19 network. Right now, there are about 6000 classes in a hierarchy, built upon the hierarchycal token bucket qdisc. I'd like to build a Free/Open/NetBSD router, utilizing ALTQ+pf, to replace the linux machine, but as far as I know, the maximum number of classes (at least in the FreeBSD implementation) is limited to 256 for CBQ and 64 for HSFC, which is absolutely insufficient for my needs. Finally, my question is is there a way to raise the maximum number of classes in a hierarchy (besides the artificial change in altq_hfsc.h and altq_cbq.h)? How stable would a system like that be? If you have any suggestions for a setup, which can do the job of traffic controlling /19 with a hierarchy of classes, each with different guaranteed and maximum rates, I'd be very grateful. Regards, Nickola --Signature=_Fri__16_Dec_2005_15_41_33_+0200_55.pIXSF4flscp/M Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDosQQ/g+8nwXNejkRAjZfAJ4j6sNpoN0bHvG9xT6w38QPROZN+gCfckaA ynhNr3DZUbGgQ1H9ST974Y4= =GLqo -----END PGP SIGNATURE----- --Signature=_Fri__16_Dec_2005_15_41_33_+0200_55.pIXSF4flscp/M--