Dear Friends, I am using HTB version 0.85 in CENTOS 4.4 and I configurated to limit bandwidth port 80 (hhtp) and 25 (smtp), but HTB don't work. Below , show files. [root at srv001 htb]# ls -la total 36 drwxrwxrwx 2 root root 4096 Set 11 21:46 . drwxr-xr-x 11 root root 4096 Set 11 00:11 .. -rw-r--r-- 1 root root 19 Fev 12 2002 eth0 -rw-r--r-- 1 root root 89 Set 11 01:01 eth0-2:10.www -rw-r--r-- 1 root root 89 Set 11 21:40 eth0-2:20.smtp -rw-r--r-- 1 root root 84 Set 11 21:45 eth0-2:30.dfl -rw-r--r-- 1 root root 89 Set 11 21:46 eth0-2:40.www-out -rw-r--r-- 1 root root 63 Set 11 00:13 eth0-2.root [root at srv001 htb]# cat eth0 DEFAULT=30 R2Q=100 [root at srv001 htb]# cat eth0-2.root # root class containing total bandwidth RATE=512kbit BURST=15k # class for outgoing WWW traffic RATE=100kbit CEIL=100kbit BURST=15k LEAF=sfq RULE=*:80 [root at srv001 htb]# cat eth0-2:30.dfl # default class for unclassified traffic RATE=1Kbit CEIL=100kbit BURST=15k LEAF=sfq [root at srv001 htb]# cat eth0-2:20.smtp # class for outgoing SMTP traffic RATE=100kbit CEIL=100kbit BURST=15k LEAF=sfq RULE=*:25 Thanks for help. Adriano
On Tuesday 12 September 2006 08:16, Adriano Frare wrote:> Dear Friends, > > I am using HTB version 0.85 in CENTOS 4.4 and I configurated to limit > bandwidth port 80 (hhtp) and 25 (smtp), but HTB don't work.Hi Adriano, Have you managed to solve the problem? Thanks. -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 6:43pm up 9:34, 2.6.18.2-34-default GNU/Linux Let's use OpenOffice. http://www.openoffice.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070504/9c1cca1a/attachment-0001.sig>
It solved, thanks for all. Fajar Priyanto wrote:> On Tuesday 12 September 2006 08:16, Adriano Frare wrote: >> Dear Friends, >> >> I am using HTB version 0.85 in CENTOS 4.4 and I configurated to limit >> bandwidth port 80 (hhtp) and 25 (smtp), but HTB don't work. > > Hi Adriano, > Have you managed to solve the problem? > Thanks. > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos