Em Qui, 2005-04-07 às 10:22 -0700, Corey Hickey escreveu: > Paulo Ricardo Bruck wrote: > > > > > <--- 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?? > > Yes. That's the way to do it. Don't forget to add some filters (tc > filter add ...) to send traffic into those queues. > Yes I'll not forget 8) thanks for quickly answer Corey Just another question related w/ shapping at some documents it's describe the use of IMQ and some other the use of dummy device. What's the best method ? From what I've read we use dummy to shape both lan and wan using dummy device. It's correct? If it's correct why does we use dummy insted shape at LAn and Wan Interfaces ? I intend use TC + iptables + debian sarge, but I'm not sure about using dummy device.... thanks in advance > -Corey -- Paulo Ricardo Bruck - consultor
Attachment:
signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc