Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: HTB configuration


  • Subject: Re: lug-bg: HTB configuration
  • From: mano@email.domain.hidden (Marian Popov)
  • Date: Wed, 23 Jul 2003 01:05:05 +0200


I dokumentaciata chetoh i tova syshto no ne mi pobira akylo samo edno.
Zashto kato root class mi e zadaden s RATE i CEIL na 128Kbit
negovite podchineni klasove izobshto ne go ebavat za jiv i ako sa
3 po 64 i trite si dyrpat s 64 bez da gi e grija che roditelia im
e zadaden tvyrdo na 128. Tova e syshtnosta na vyprosa mi.

Prilagam konfgiruraciata, s koiato se boria v momenta:

<p>tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1 htb default 300 r2q 1

tc class add dev eth0 parent 1: classid 1:2 htb rate 128Kbit ceil 128Kbit
burst 2k

tc class add dev eth0 parent 1:2 classid 1:12 htb rate 32Kbit ceil 128Kbit
burst 2k prio 5
tc qdisc add dev eth0 parent 1:12 handle 12 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
213.145.125.12 classid 1:12

tc class add dev eth0 parent 1:2 classid 1:300 htb rate 10Kbit burst 2k
tc qdisc add dev eth0 parent 1:300 handle 300 sfq perturb 10

tc class add dev eth0 parent 1:2 classid 1:44 htb rate 32Kbit ceil 128Kbit
burst 2k prio 5
tc qdisc add dev eth0 parent 1:44 handle 44 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
213.145.125.44 classid 1:44

tc class add dev eth0 parent 1:2 classid 1:6 htb rate 96Kbit ceil 128Kbit
burst 2k prio 5
tc qdisc add dev eth0 parent 1:6 handle 6 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
213.145.125.6 classid 1:6

tc class add dev eth0 parent 1:2 classid 1:63 htb rate 32Kbit ceil 128Kbit
burst 2k prio 5
tc qdisc add dev eth0 parent 1:63 handle 63 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
213.145.125.63 classid 1:63

tc class add dev eth0 parent 1:2 classid 1:8 htb rate 96Kbit ceil 128Kbit
burst 2k prio 5
tc qdisc add dev eth0 parent 1:8 handle 8 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
213.145.125.8 classid 1:8

Smeia da tvyrdia che pri tazi konfiguracia vseki edin ot klientite si tegli
na tochno opredelenata
mu skorost s RATE v negovia class kato obshtata skorost dalech nadvishava
skorostta zadadena na parent class-a.

A kajete mi kyde mi e greshkata.

<p><em class="quotelev1">> RTFAQ.
<em class="quotelev1">>
<em class="quotelev1">> http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm
<em class="quotelev1">>
.
.
.
<em class="quotelev1">> Best Regards,
<em class="quotelev1">> Hristo Erinin


--
Marian Popov
mano_at_pazardjik.com.NOSPAM
--
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.