Displaying 20 results from an estimated 8000 matches similar to: "tc limit"
2005 Apr 20
1
deleting tc rules
Hi
I''m doing traffic shaping with tc on ''10.0.0.0/30'' and ''10.0.0.28/30''.
I want to delete part of shaping rules on the fly. (see my
configuration at the end of this mail)
I wan''t to delete the shaping for ''10.0.0.0/30'' on the fly while still
keeping the shaping for part ''10.0.0.28/30'' running.
When I for
2005 Jul 06
2
Classid limit at 10000
Hi
I''m setting up shaping using HTB and hashkey. It seems like there is a
limit on the number of classid''s at 10000?
How can I go higher than 10000?
This is what my output say when I reach classid number 10000:
...
...
/sbin/tc class add dev eth0 parent 2:6 classid 2:9998 htb prio 5 rate
768kbit ceil 768kbit burst 0 cburst 0
/sbin/tc qdisc add dev eth0 parent 2:9998 handle
2006 Feb 06
3
Limited quantity of filters.
$TC filter add dev imq0 parent 1:0 prio 5 protocol ip u32
$TC filter add dev imq0 parent 1:0 prio 5 handle 2: protocol ip u32
divisor 256
for ((j=0; j<=7; j++))
do
for ((i=0; i<=255; i++))
do
q=`printf "%x\n" $i`
$TC filter add dev imq0 protocol ip parent 1:0 u32 ht 2:$q: match ip
src 10.0.$j.$i flowid 1:10
echo "$q 10.0.${j}.$i"
done
done
$TC
2004 Jul 02
24
TC Hashing Filters
Hey all,
I had asked a question a little while ago about CPU usage being
outrageous while using tc and a cbq qdisc. Ed was very kind and offered
a few suggestions. One of these was to look at hashing. So after
pounding away at it for about a week, I have a general understanding of
how it works and have tried to implement it. Unfortunately, and quite
obviously since I''m posting here, it
2006 Sep 08
8
htb traffic shaping problem
Hello.
I have a linux server connected to a gigabit lan, and though that lan to a
768kbps/768kbps DSL modem.
I''m trying to shape my webserver running on port 80/443 down to 512kbps,
while leaving all other ports alone. The current configuration script that
I''m using is as follows:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 99
tc class add dev
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
2003 May 13
3
Hashing filters
Hey
A wise man said to me that Hashing filters was my solution to rock the
world, and making my life alot easier. When applying 4000 rules, the system
had to check them all for match. But with hassing it would only require 1-2
checks.
Even though when i had read the lartc on the subject i was no less that a
question mark.
If anyone have played with it, and have a working, logic configuration
2004 Dec 02
1
FW: differing rate and ceil values
Hello all, when running tc -s -d class show dev eth, the parent class rate
and ceil are different to the configuration?
his is the first time I have used HTB so I may have made some basic
mistakes.
Thanks in advance
Shaun
Output as follows:
class htb 1:1 root rate 760Mbit ceil 760Mbit burst 997641b/8 mpu 0b cburst
997641b/8 mpu 0b level 7
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
2006 Feb 24
4
why isn''t 1:1 getting the traffic? [filter question]
With the below script, whenever I ping 10.0.16.10 (which matches the
only filter I have), traffic still get''s sent to the default 1:2 class
instead of 1:1 and I don''t know why... Any hints?
(kernel 2.6.12, iproute2-2.6.15)
tc qdisc del dev eth0 root > /dev/null 2>&1
tc qdisc add dev eth0 handle 1: root htb default 2
tc class add dev eth0 classid 1:1 parent 1: htb rate
2006 Sep 19
5
how to setup massive traffic shaping? (2 class B nets)
Hello
I have 2 class-B networks (172.22.0.0/16 and 172.23.0.0/16, over 130k
of ip''s) and need to setup
traffic tbf shapers with 64kb/s for each ip from 172.22.0.0/16 and
128kb/s for each ip from 172.23.0.0/16
just read lartc and don''t understand how to use u32 for decreasing
number of rules and hashing
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello,
I''m using tc to limit the bandwidth of our wireless customers. I have a
working script, but I''m not happy with it. I''m trying to write a more
sophisticated script, but when I run it, it give me this error:
RTNETLINK answers: File exists
I have no idea what this error means or how to fix it. Here is a portion
of the script (the whole script shapes several
2003 Jul 14
0
Why arent filteres working? (as I wanted)
Here goes the filter statements:
#Initializing traffic control...
tc qdisc add dev br0 root handle 1:0 htb
#Loading queue disciplines for plis230 network...
tc class add dev br0 parent 1:0 classid 1:1 htb rate 512kbit ceil 512kbit
#Loading queue disciplines for pmad048 network...
tc class add dev br0 parent 1:1 classid 1:20 htb rate 30kbit ceil 30kbit
#server queue
tc class add dev br0 parent
2005 Feb 02
8
can''t understand strange PRIO behaviour
Hello everybody,
sorry for bothering you, but after some hours, I''m stuck. I''m living in
a student''s foundation where I want to connect lots of people to a tiny
DSL link. We have exactly four types of traffic. We want a really hard
PRIO solution (as I promised to someone that group X will only use the
link capacity which isn''t used by group Y). I could make a
2005 Apr 28
1
Packets Going to default class
Hi
I have tested with FC3 but iam not able get any good results on that.
in the list some one recomend me that > 3.17 HTB should work
I saw latest FC4 test2 has the HTB 3.17 with iptables 1.3.0
i have install in my P4 box, and trying to test
when iam uploading its working perfect, but when iam downloading its going
to default class
can some one experinced the same problem
below is the my
2006 Mar 05
2
ATTN Andreas Klauer: ASCII art + comments, please?
Andreas,
Since I understand your ASCII art and comments, I would very much
appreciate it if you would draw what you see and criticize the
following. Hopefully I''ll better understand after that!
TIA,
gypsy
tc qdisc add dev imq0 root handle 1: htb default 20
tc class add dev imq0 parent 1: classid 1:2 htb rate 4522kbit ceil \
4760kbit burst 16k cburst 16k quantum 1500
tc class add
2004 Apr 06
1
hashing
Hi i have 2 class C 80.97.103.0/24 and 81.180.12.0/24 but i dont konw how
to set hashing tables for HTB
tc add dev eth0 parent 1: prio 0 handle 1: protocol ip u32 divisor 256
tc add dev eth0 parent 1: prio 0 protocol ip u32 match src 80.97.103.0/24
hashkey mask 0x000000FF at 12 link 1:
but i want 2 hashkey for 80.97.103.0/24 and for 81.180.12.0/24 can
somebody help me ?
2007 Oct 29
1
Some questions about HTB
Hello,
I have installed a server with three physical ethernet links and some
virtual interfaces:
eth0 - 213.215.42.70
eth0:1 - 213.215.42.71
eth0:2 - 213.215.42.72
eth0:3 - 213.215.42.73
eth0:4 - 213.215.42.74
eth0:5 - 213.215.42.75
eth0:6 - 213.215.42.76
eth0:7 - 213.215.42.77
eth0:8 - 213.215.42.78
eth2 - 192.168.1.128
eth3 - 213.215.42.69
All traffic are routed by iproute2 and iptables
2007 Feb 17
4
Order of ''tc filer''
Hi
How can I control which filter a packet will meet first?
I have tried changing the order of applying the tc filter scripts and
switching flowid number, but ''protocol ip u32 match ip src <ip net>
match ip src 0.0.0.0/0'' always kicks in first?
>From my script
--------------------
# All traffic - Priority: Low
tc filter add dev eth0 parent 1:0 prio 2 protocol ip u32
2005 Feb 06
2
problems with u32 fiter
hello to all
i''m trying to set a filter but doesn''t want to work.
i''ve set ut the qdiscs and the classes like this :
tc qdisc add dev ppp0 root handle 1: htb default 20
tc class add dev ppp0 parent 1: classid 1:1 htb rate 120kbit
tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 30kbit ceil 120kbit
tc class add dev ppp0 parent 1:1 classid 1:21 htb rate 30kbit ceil
2004 May 08
2
PRIO qdisc with HTB
Hi,
I''m trying to use prio qdisc with htb, however not the "usual" way (like for
example FairNAT).
Here is my idea:
Root has HTB shaping traffic to link speed -> then goes PRIO queues -> each
prio queue has HTB with sublasses for each user, should look like this:
1: htb qdisc
|
1:1 htb class