From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Huysmans Date: Mon, 03 Dec 2007 08:57:06 +0000 Subject: Re: [LARTC] tc doesn't shape correct Message-Id: <4753C4E2.4020701@inuits.be> List-Id: References: <474D4633.2070704@inuits.be> In-Reply-To: <474D4633.2070704@inuits.be> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Here is my tc config, maybe something is wrong with that config: /sbin/tc qdisc del dev bond1 root /sbin/tc qdisc add dev bond1 root handle 1: htb default 1 /sbin/tc class add dev bond1 parent 1: classid 1:1 htb rate 1000mbit burst 1310720 /sbin/tc class add dev bond1 parent 1: classid 1:2 htb rate 30mbit burst 39321 /sbin/tc class add dev bond1 parent 1: classid 1:3 htb rate 10mbit burst 13107 /sbin/tc filter add dev bond1 parent 1: protocol ip prio 0 handle 1 fw flowid 1:2 /sbin/tc filter add dev bond1 parent 1: protocol ip prio 0 handle 2 fw flowid 1:3 Any help appreciated! Johan Huysmans wrote: > Hi All, > > I'm configuring my natting-firewall to do some tc shaping. Some > traffic has to be shaped on 30mbit, some on 10mbit all the others are > unlimited. > The configuring and filtering works correctly. The traffic that is > shaped at 30mbit is correct, but the traffic that is shapped at 10mbit > only gets to 100KB/sec. > > It is on a device configured with bonding (both in and out interface). > > Any clue why shaped traffic at 10mbit only gets to 100KB/sec and not > faster? > > Thx for any response, > Johan Huysmans > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc