Displaying 20 results from an estimated 6000 matches similar to: "tc classes limit"
2004 Dec 03
3
HTB High CPU Utilization
Hi, i''m running a Bridge/iptables firewall, with no tc filters
configured CPU utilization barely reaches 1%, i had to rate limit one
particular server outgoing traffic and setup a HTB scheme like this
iptables -F PREROUTING -t mangle
iptables -A PREROUTING -t mangle -p tcp -s 99.99.99.99 -j MARK --set-mark 2
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 10: htb default
2004 Jan 28
4
Problems with HTB (ceil being overpassed)
We run a Hosting farm behind a bridge/iptables firewall setup running
Gentoo with kernel 2.4.20-gentoo-r6, connected to a dual 15Mbps
international internet pipe / , as this:
Net Pipe --------- eth1 Bridge/Firewall eth0 -------- Internal Hosting
Network
lately we have been looking at htb to somehow control excessive usage from
the users behind, but in our implementation there seems to be an
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet,
such as:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.11 police rate 10kbit burst
10k drop flowid :1
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.22 police rate 10kbit burst
10k drop flowid :2
first ,I do not sure these method can
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"
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
2003 Oct 16
5
tc filter problem with 2.4.22
Hi,
I have a problem with ''tc filter'' on a 2.4.22 kernel from Slackware 9.1
distribution.
The tc command binary is from htb3.6-020525.tgz
(http://luxik.cdi.cz/~devik/qos/htb)
I''m trying the following command sequence:
tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil
1200kbit
tc class add dev
2002 Dec 01
2
a question about tc filter
hi, all
i run the following scripts :
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip \
pref 4 u32 match ip dst 10.0.0.1 flowid :1
my question is :
can i know how many packets are matched by
this filter?
if i can , what should i do to get this
counter value, then.
thanks :)
_________________________________________________________________
MSN
2003 Apr 03
6
tc problem
Hello..
I have a linux box and I want to make priority on traffic generated by my
LAN''s computers..
I don''t have a guaranted bandwidth, so I wanna use sfq...
I want to make traffic to port 80 , 443 , 25 & 110 PRIORITY 1
Traffic src or dest 192.168.0.2 to make priority 2
And the rest to put it in proiority 3..
I did the following :
tc qdisc add dev eth0 root handle 1:
2003 Jun 06
4
tc show error for ingress
Hi,
I am trying to do both ingress and egress bandwidth management on a bridge.
eth0 is the WAN interface. IPTraf shows that the following script is running
successfully and it limits bandwidth both ways to 256 KB
However when I want to see the statistics using tc - it only shows me stats
for htb class
and not for ingress class. The tc output is as follows:
tc -s -d class show dev eth0
class
2003 Jun 09
4
Some questions remaining about TC
Hello everybody,
I try to work with TC for a little while in my study and there still are a few
questions that I can\''t find any answer anywhere.
Firts about qdisc and classes:
- What is exactly the difference between qdsic and class ? They are
so \"intimately tied together\" that i\''m not sure not make the difference. Why
can\''t we have a qdsic HTB with
2003 Apr 07
4
BW using CBQ/tc for VPN Ipsec i/f?
Hi all,
I want to allocate bandwidth for ipsec interface using CBQ/tc.
Suppose the conf. file is like this,
DEVICE=ipsec0,10Mbit,1Mbit
RATE=128Kbit
WEIGHT=10Kbit
PRIO=5
RULE=192.128.1.0/24
Does it work
or
What else options need to be taken care like ipsec packets/protocol/port
# etc.?
C''d anybody suggest please?
regds,
Srikanth.
_______________________________________________
LARTC
2002 Nov 22
2
TC HTB Traffic Shaping
Hi guys,
I''m new to TC HTB traffic shaping....
I installed it at my first try on my Bearing Leaf Router/Firewall
I use the tc -s class show dev eth? To see my output
All looks dandy and nice, but it''s figures, of which at current momment
looks like French to me,
I would like to see exactly what these figures looks like in a GRAPH
style...
I know I can use MRTG, I do have
2003 Feb 04
3
tc htb stats
I have an htb qdisc setup and it is shaping my traffic wonderfully but
I''ve just recently started taking a look at the output from the command
tc -s class ls dev eth?
Looking at the "rate" line I thought to myself..."cool I can use this to
graph throughput avg.es without having to worry about the "Sent bytes"
rolling over or being lost when the htb qdisc is
2003 Jun 03
1
tc usage
Dear List,
I am a tc newbie, and I''ve been working through the LARTC HOWTO to try
to understand how qdiscs, classes, and filters fit together.
I was confused by the example in section 9.5.5.1 (see excerpt below). I
thought that classes were could only be attached to qdiscs (classful
ones). In the example, however, classes are being attached to other
classes. Can anybody explain to me
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
2003 Jan 15
1
Probelm with TC commands
Hello ,
I have installed Tc and have problems running basic tc commands for PRIO qdisc .
I tried
tc qdisc add dev eth0 handle 1 root prio
Result : Invalid argument
tc qdisc add dev eth0 root handle 1: prio
Result : Invalid argument
What could be the problem.?
Regards
Andre
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
2003 Jun 12
9
HTB and TC on MAC addresses
Hi
I''ve searched the archive for a solution where I want to limit/shape WLAN users. I only know''s their MAC, because they get their IP from dhcp.
> Why not, just use negative offsets with U32 to access
>the 14-byte eth frame header before the IP header:
>
>Decimal Ofs Description
>-----------------------------------
>-14: DST MAC, 6 bytes
>-8: SRC MAC, 6
2002 Dec 17
5
WonderShaper on LAN link kills to-host speed
I tried installing the WonderShaper on my internal link, mostly to get the
SFQ installed. I set uplink and downlink to 100000 to match the link speed
and changed the bandwidth on the cbq line to 100mbit. This killed transfer
speed *to* the box, knocking it from 30-40 Mbps down to about 800 kbps.
Commenting out just the ingress control restored the speed.
What about the ingress policer would do
2002 Mar 07
1
TC & HTB problems
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
# tc qdisc add dev eth0 root handle 1: htb default 30
Unknown qdisc "htb", hence option "default" is unparsable
Do I need to patch tc?
I am running redhat 7.2 and iproute-2.2.4-14
- --
+-------------------------------------------------------------------+
| Luis Miguel Cruz. |
|
2003 Mar 11
1
some problems with the tc command
Hello everyone!
I have some problems with the tc command.
I write the same commands as in the manual but it gives me an error. I write: "tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000" for example but it doesn''t work. I have similar problems with "tc qdisc add dev eth0 root handle 1: prio"
I don''t find the solution. I have the 2.4.18