All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] question about correct way of shapping
@ 2005-04-07 15:06 Paulo Ricardo Bruck
  2005-04-07 17:22 ` Corey Hickey
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Paulo Ricardo Bruck @ 2005-04-07 15:06 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 1092 bytes --]

Hi Guys

After reading
http://lartc.org/lartc.html#LARTC.QDISC
http://www.docum.org/docum.org/
http://tldp.org/HOWTO/Traffic-Control-HOWTO/
http://www.opalsoft.net/qos/DS-21.htm

and a wonderful figure from:  http://www.opalsoft.net/qos/ds-lb-214.gif


I have a newbie question. Suposse next figure:

		   <--- up 128K      
internet ----- dsl ---------------------eth1 -Linux Qos- eth0 ------ LAN
		   ---> down 450k	


If I want "shape" traffic to my LAN ( sharing equally download for all
users) I have to insert a rule like this

tc qdisc add dev eth0 root handle 1:0 htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 400kbit
and ....other rules

and If I want "shape" traffic to Internet ( not allowing a single user
to destroy upload) I have to insert a rule like this:

tc qdisc add dev eth1 root handle 1:0 htb
tc class add dev eth1 parent 1:0 classid 1:1 htb rate 100kbit
and ...other rules


Is it correct?? or it is  better to use IMQ or dummy to shape in both
directions ?? 

thanks in advanced

-- 
Paulo Ricardo Bruck - consultor

[-- Attachment #1.2: Esta é uma parte de mensagem assinada digitalmente --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-10 21:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-07 15:06 [LARTC] question about correct way of shapping Paulo Ricardo Bruck
2005-04-07 17:22 ` Corey Hickey
2005-04-07 18:45 ` Paulo Ricardo Bruck
2005-04-07 22:35 ` Corey Hickey
2005-04-08 12:14 ` Paulo Ricardo Bruck
2005-04-10 21:36 ` Corey Hickey

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.