Displaying 20 results from an estimated 5000 matches similar to: "tc usage"
2004 Apr 21
0
Why cant I see the parent of a qdiscs?
Hi
When I list all the qdisc with tc command it is not possible to see the
parent of the qdisc. 
An example by the book.
# tc qdisc add dev eth0 root handle 1: htb default 30
# tc class add dev eth0 parent 1: classid 1:1 htb rate 6mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:20 htb rate 3mbit ceil
6mbit
2003 Sep 04
3
CBQ Rate
Hi everyone,
This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at
10Mb/s. The purpose is to test CBQ
Here is my script
-------------------------------------------------------------------
# Root qdisc
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \
  avpkt 1000 cell 8
# Classes
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \
  rate 5Mbit weight
2002 Dec 03
4
Multiple classes
I''m trying to implement something similar the the diagram in section
9.5.2.1 in the LARTC HOWTO, but must have missed something somewhere :(
I''m trying to hack up wondershaper, as it looked like a good place to
start.. Here''s where I currently at, but I''ve tried alot of different
things, all failing, some worse than others. The end result is to throttle
back 126
2004 Jan 27
7
Whats wrong with my script?
I`m trying to shape both upload (eth0) and download(eth1). I made this
script to acomplishthis but the filters are not working even though the
classes and qdiscs are created. What am I doing wrong? #!/bin/bash
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5
tc class add dev
2004 Nov 01
1
Big problem :(((((
Hello!
I have an internet connection of 64kbps garanteed in a channel of 256kbps. On this connection the metropolitan speed is 10Mbps and in the provider''s network the speed is 100Mbps.
I have a few clients behind my linux box and i want to set up some limitations because some of them are using it irrational.
I am marking the packets with 0 for internet; 1 for metropolitan 2 for
2005 Jan 19
3
tc limit
Hi 
I have been playing with tc. I''m using htb and sfq. I tried to setup
shaping of every ip address  within a /20.
I found that there must be an upper limit of about 2096 on the number
of rules (classes, qdiscs or filters). I was testing a /20 which gives
4096 classes, qdiscs and filters. I''m using hashkey to optimize
processing of frames.
When executing the script below - it
2003 Jan 10
4
Question on TC filter
Hi,
I want work out a GUI interface for htb and now here
comes to the part about adding and removing classes
and filters.
Here is an example script.
TC="tc"
DEV="dev eth1"
echo "Add root qdisc, default traffic go to 1:30"
$TC qdisc add $DEV root handle 1: htb default 30
echo "Divide the traffic into different classes and
levels"
# -------- level 1
2002 May 08
5
how to clean "tc" configure
tc qdisc add dev eth0 root sfq perturb 10
I want to set perturb to 8
then i used this
tc qdisc add dev eth0 root sfq perturb 8
system give me the following message
RTNETLINK file exists
I delete the rule by this :"tc qdisc del dev eth0 root
sfq perturb 10"
please tell me how can i delete the rule by another
way
and where is "RTNETLINK file"
2006 Sep 06
0
Can i attach another qdisc (htb) under HFSC classfull ?
Hi,
Is it possible to attach another qdisq under a HFSC classfull ?
I try it and the configuraton works :
        $TC qdisc add dev $dev root handle 1: hfsc default 30
        $TC class add dev $dev parent 1: classid 1:1 hfsc sc rate
${RATE}mbit ul rate ${RATE}mbit
        $TC class add dev $dev parent 1:1 classid 1:10 hfsc rt umax 1500b
dmax 30ms rate 200kbit
        $TC class add dev $dev
2004 Sep 17
4
SS7 E1 cards
Hi,
I'm looking into support for SS7 and I found an article
(http://www.openss7.com/news13022002.html) which says that OpenSS7
supports Linux Support Inc's T400P-SS7 Quad T1 and E400P-SS7 Quad E1 PCI
interface cards.  It also says that Linux Support Inc is the primary
sponsor of Asterisk.  However I cannot find these cards on the Asterisk
hardware page
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list,
I have the problem that child classes don''t seem to issue the parent
class to borrow from their parent.
This is a simplified version of my script:
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: htb default 10
tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit
tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil
512kbit
#groups
tc
2005 Nov 25
1
Difference between snmp traffic rate, and rate from tc
Hello,
I use rrdtool to graph the traffic in the different classes on an
interface, eth1. Basically, I use the output from
tc -s qdisc ls dev eth1
my tc script (which is only for testing the graphing) looks like this:
/sbin/tc qdisc add dev eth1 root handle 1: htb default 20 r2q 1
/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 200kbit burst 15k
/sbin/tc class add dev eth1 parent
2004 Oct 08
1
Ceiling question
Hi!
 I have a setup where I want to prefer traffic on one port  (for testing 
purposes I used port 22)
my setup is : 
tc qdisc add dev eth3 root handle 1: htb default 30
tc class add dev eth3 parent 1: classid 1:1 htb rate 96mbit burst 15k
tc class add dev eth3 parent 1: classid 1:7 htb rate 2mbit burst 15k
tc class add dev eth3 parent 1:1 classid 1:10 htb rate 96mbit burst 15k
tc class add dev
2004 Nov 24
8
tc and iptables trouble
Hi all
I have a trouble configuring the qdiscs, when I indicate the "perturb 10" option to tc, i gives me this error:
tc qdisc add dev eth0 parent 5:1323 handle 1323 sfq perturb 10
RTNETLINK answers: Invalid argument
if I don''t put the "perturb 10" option, it works.
another question is about iptables, when I indicate the " --set-mark" option:
iptables -t
2006 Sep 10
1
HTB and tc filter
Help me  ... 
I try use the tc filter, but seems he doesn''t work, I already
reconfigured my kernel ( 2.4.32 ) with all options related a QOS
enabled ( like modules ) and nothing happens. I get the tc tool from
HTB source package, well  this is my set : 
eth0 is my internal NIC.
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate
2006 Sep 10
1
help with HTB and tc
Help me  ... 
I try use the tc filter, but seems he doesn''t work, I already
reconfigured my kernel ( 2.4.32 ) with all options related a QOS
enabled ( like modules ) and nothing happens. I get the tc tool from
HTB source package, well  this is my set : 
eth0 is my internal NIC.
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate
2004 Jan 19
3
Shaping inbound ok, outbound wrong
Hi, I´m shaping traffic using htb on both interfaces, I noticed that shaping
download traffic is workinggreat but shaping upload traffic is not working
at all (no sent packets, no dropped, no overlimits)I have eth0 facing the
backbone and eth1 facing the LAN. Thanks for your help.These are the
commands I run:tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5
tc
2004 Oct 13
5
Re: Is this actually possible?
>Hi everyone, and thanks for your help so far. 
>
>I have been playing around with tc and htb for a couple of weeks now, and 
>while I am nowhere near understanding everything here, I am beginning to 
>know more about packets than I ever wanted to know. 
>
>I have two university buildings with a 1mb connection to the Internet. The
>two buildings (on either side of town) are
2002 Aug 05
1
Question on FW and htb
Hi,
I''ve try to use htb to limit outgoing traffic but it
seems that it doesn''t work. I guess the probem is the
filter. Here is my script.
#!/bin/sh
echo "Add root qdisc, default traffic go to 1:30"
tc qdisc add dev eth1 root handle 1: htb default 30
tc class add dev eth1 parent 1: classid 1:1 htb rate
100mbit burst 15k
tc class add dev eth1 parent 1:1 classid 1:10
2003 Mar 25
1
tc filter isn''t work !
->  Hi!
->  
->  I''ve a Linux Box that I want to apply a filter
->  in order to limit FTP salient traffic from my
->  linux box to internet.
->  
->  I''ve a:
->  	Red Hat 7.2
->  	Kernel 2.4.20 (with HTB built in!)
->  	iptables 1.2.7a
->  
->  Also, I get "tc" binnary package from HTB home page.
->  
->  I have a script in