From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darryl Cording Date: Thu, 18 Nov 2004 20:09:46 +0000 Subject: Re: [LARTC] Bandwidth throttling/limiting for all traffic Message-Id: <419D018A.9040707@ascend.net.au> List-Id: References: <419C172A.2050009@ascend.net.au> In-Reply-To: <419C172A.2050009@ascend.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Andy Furniss wrote: > Darryl Cording wrote: > >>> >> I guess I could match by ip addresses but I hoping for a simpler way >> to match everthing. > > > You were close - default refers to the number after the : I guess I am still struggling with the syntax of tc. > > 10: is short for 10:0 . Thanks for that clue. > > tc qdisc add dev eth0 root handle 10: htb default 1 > tc class add dev eth0 parent 10: classid 10:1 htb rate 64kbit ceil 64kbit > > should shape everything. And in fact it does. :-D Thanks for the help. > > Andy. > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > -- Ascend Business Solutions Pty Ltd Level 3, 232 Adelaide St, Brisbane, Qld, 4000 Phone (07) 3223 5555 Fax (07) 3223 5500 www.ascend.net.au This email is from the offices of Ascend Business Solutions Pty Ltd, Software Testing Specialists, Brisbane, Queensland, Australia. This email contains privileged and confidential information. It is intended for the recipient only. Should this email be received in error please notify this office immediately by reply email and delete this email from your inbox. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/