* [LARTC] newbie problem
@ 2002-01-13 9:47 Daniel Wittenberg
2002-01-13 15:20 ` Martin Devera
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Wittenberg @ 2002-01-13 9:47 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] newbie problem
2002-01-13 9:47 [LARTC] newbie problem Daniel Wittenberg
@ 2002-01-13 15:20 ` Martin Devera
0 siblings, 0 replies; 2+ messages in thread
From: Martin Devera @ 2002-01-13 15:20 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-13 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-13 9:47 [LARTC] newbie problem Daniel Wittenberg
2002-01-13 15:20 ` Martin Devera
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.