* [LARTC] tc class htb
@ 2004-04-29 8:42 derbel hajer
2004-04-29 23:43 ` Damion de Soto
2004-05-02 23:58 ` Andreas Klauer
0 siblings, 2 replies; 3+ messages in thread
From: derbel hajer @ 2004-04-29 8:42 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 797 bytes --]
Hi,
I am new to this group.
I use this script
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 500kbit ceil 500kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 300Kbit ceil 500kbit
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 200kbit ceil 500kbit
I like to know:
If two customers of the same class (for example 1:2) work simultaneously, what is that every customer is going to have the rate of this class (300Kbit for the example class 1:2) or they share this debit?
Thank you for your help
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
[-- Attachment #2: Type: text/html, Size: 2767 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] tc class htb
2004-04-29 8:42 [LARTC] tc class htb derbel hajer
@ 2004-04-29 23:43 ` Damion de Soto
2004-05-02 23:58 ` Andreas Klauer
1 sibling, 0 replies; 3+ messages in thread
From: Damion de Soto @ 2004-04-29 23:43 UTC (permalink / raw)
To: lartc
Hi,
> tc qdisc add dev eth0 root handle 1: htb
> tc class add dev eth0 parent 1:0 classid 1:1 htb rate 500kbit ceil 500kbit
> tc class add dev eth0 parent 1:1 classid 1:2 htb rate 300Kbit ceil 500kbit
> tc class add dev eth0 parent 1:1 classid 1:3 htb rate 200kbit ceil 500kbit
>
> I like to know:
> If two customers of the same class (for example 1:2) work
> simultaneously, what is that every customer is going to have the rate
> of this class (300Kbit for the example class 1:2) or they share this
> debit?
Everyone in the same class (1:2) shares the same rate and ceiling.
regards,
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] tc class htb
2004-04-29 8:42 [LARTC] tc class htb derbel hajer
2004-04-29 23:43 ` Damion de Soto
@ 2004-05-02 23:58 ` Andreas Klauer
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Klauer @ 2004-05-02 23:58 UTC (permalink / raw)
To: lartc
Am Thursday 29 April 2004 10:42 schrieb derbel hajer:
> If two customers of the same class (for example 1:2) work
> simultaneously, what is that every customer is going to have
They will both use the bandwidth the class provides. If the class is at
it's limit, they'll steal each others bandwidth, since HTB doesn't care
where the traffic comes from. If you want fair sharing between the two
customers, you have to give each of them their own class.
Andreas
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-02 23:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-29 8:42 [LARTC] tc class htb derbel hajer
2004-04-29 23:43 ` Damion de Soto
2004-05-02 23:58 ` Andreas Klauer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.