From mboxrd@z Thu Jan 1 00:00:00 1970 From: "sun reflex4" Date: Wed, 14 May 2003 10:02:48 +0000 Subject: Re: [LARTC] why so fast? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi Stef, is class 1:1 really a non-leaf class? It doesn't have any children. I know your site, and actually it is the place, where I lerned all this=20 stuff :) > tc qdisc add dev eth0 root handle 1: htb default 19 > > tc class add dev eth0 parent 1: classid 1:1 htb rate 10bps ceil 10bps > tc class add dev eth0 parent 1: classid 1:19 htb rate 15bps ceil 15bps > > tc filter add dev eth0 parent 1: protocol ip handle 1 fw classid 1:1 > > iptables -t mangle -A OUTPUT -d 192.168.0.11 -j MARK --set-mark 1 >#Compter B has ip 192.168.0.11 >Your setup is good, but you put all packets coming from computer A (and=20 >marked with 1) in class 1:1. The problem is that this is not a leaf class= =20 >because it has a child class. And a non-leaf class can not transmit=20 >packets itself. So the packets are sended at link speed. _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* =20 http://join.msn.com/?page=FEatures/junkmail _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/