Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] newbie problem
Date: Sun, 13 Jan 2002 15:20:07 +0000	[thread overview]
Message-ID: <marc-lartc-101093527124430@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101093430823076@msgid-missing>

Please, kbps = k Bytes per second. You want to use kbit instead probably.

On 13 Jan 2002, Daniel Wittenberg wrote:

> Ok, I've got htb + iproute compiled and going, and tried to run this
> script, but doesn't seem to work.  I've got a 768k DSL that I was going
> to try and cut ssh (scp) down to 8k for testing, but doesn't seem to do
> any good...ideas?
> 
> #### begin script ####
> 
> # Does this flush it?
> tc qdisc del dev eth0 root handle 1:0
> 
> tc qdisc add dev eth0 root handle 1:0 htb default 99
> tc class add dev eth0 parent 1:0 classid 1:1 htb rate 768kbps ceil
> 768kbps burst 2k
> tc class add dev eth0 parent 1:1 classid 1:10 htb rate 8kbps ceil 8kbps
> burst 2k
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match tcp dst
> 22 0xffff flowid 1:1
> 
> #### end script ####
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
> 
> 


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

      reply	other threads:[~2002-01-13 15:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-13  9:47 [LARTC] newbie problem Daniel Wittenberg
2002-01-13 15:20 ` Martin Devera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-101093527124430@msgid-missing \
    --to=devik@cdi.cz \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox