From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Remus" Date: Thu, 16 Jan 2003 12:18:52 +0000 Subject: [LARTC] HTB classes, ceil and prio Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hello, I'm looking some recommendation how to configure htb. I have ADSL 512k/256k connection at my home for the 3 clients PCs and one Linux Box like firewall. Network looks like usual: ADSL connection (eth0) - | firewall | - (eth1) local network I would like to divide Internet connection like this: Download eth0 (512K) SSH/IPSec rate%6k, ceilQ2k and prio=3D0 (it can be used from the local PC1 or PC2) PC1 1.2.3.1(local ip) rate=170k, ceilQ2k and prio=3D1 PC2 1.2.3.2 (local ip) rate=170k, ceilQ2k and prio=3D1 PC3 1.2.3.3 (local ip) rate=170k, ceilQ2k and prio=3D1 SMTP server (exist on firewall) ratedk, ceil=128k and prio=3D2 or better 1 Do I understand right if some of PCs (PC1or PC2) use SSH/IPsec it gets speed from 256k up to 512k if it not in use. Two anothers PCs and SMTP server share 256k between them. Is that right? What speed they get each? Upload eth0 (256k) htb/imq SSH/IPSec rate=128k, ceil%6k and prio=3D0 (it can be used from the local PC1 or PC2) PC1 1.2.3.1(local ip) rate=80k, ceil%6k and prio=3D1 PC2 1.2.3.2 (local ip) rate=80k, ceil%6k and prio=3D1 PC3 1.2.3.3 (local ip) rate=80k, ceil%6k and prio=3D1 SMTP server (exist on firewall) ratedk, ceil=128k and prio=3D2 or better 1 If I'm not correct just correct me, please. Is it enough to have only one class or more? I know that running htb on external eth, htb cannot see local ip addresses. Can I mark them with the iptables and use it with the htb? Or do I have to make htb rules on my local eth1 as well? Thank you in advance for any help/ideas Remus _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/