Displaying 20 results from an estimated 8000 matches similar to: "a question about tc filter"
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 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 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 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 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:
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"
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
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
2003 Jun 14
15
herz the script that i have done.
Hello there,
Having made quite a lot of expensive mistakes i have finally clobbered
together a script for the users on my network.
Have a look at it and please suggest as to how can i limit bandwidth to
each ip on this network to about 64Kbits.
Trevor
--
( >- GNU/LINUX, It''s all about CHOICE -< )
/~\ __ trevor@clovertechnologies.com __ /~\
| \) / Pre Sales
2003 May 15
5
cbq vs htb?
Hello,
Does anyone know when one should use cbq versus (simpler more accurate) htb? Specifically does cbq have added functionality that may be of interest to certain applications?
from htb home> Both CBQ and HTB help you to control the use of the
outbound bandwidth on a given link. Both allow you to use one physical link to simulate several slower links and to send different kinds of
2003 Aug 20
9
CBQ_bandwidth
Hi Stef,
Reffering to page < http://www.docum.org/stef.coene/qos/faq/cache/7.html
> I found a para as follows,
" CBQ is not always as accurate as it should be. See docum.org on the
test page for some tests with bounded classes. The algorithm used by cbq
is very "link sensitive". It calculates the link idle time and for that
it needs the real link bandwidth, average
2004 Jan 30
2
tc classes limit
This may be answered somewhere but i tried googling for it with no luck,
so...
What''s the limit on number of traffic classes (classid) you can define on
Linux ?
--
Using M2, Opera''s revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc
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 Oct 24
5
NETWORK ROUTES
Hi all,
I have a debian server with 4 network cards:
The first card is used to connect to public network and this network
connects with a big router.
The Second, third and fourth cards are used by other networks.
The first card used a dinamic route with the big router.
The other cards used a static route with a little router.
All runs good but my problem is when I try to use the IP of my first
2002 Dec 31
3
[tcng] More complex example?
Hi
I''m completely stuck with the tcng language - I assume there must be
some way to arrange queues hierachically like
eth1
|
TBF
|
PRIO
/ \
class class
but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no
classes near "prio"" when run through tcc.
dev eth1 {
egress {
tbf (rate 128kbps, burst 64kb,
2003 Jun 16
7
htb & bandwidth sharing
Hi everybody!
I''ve been trying with htb and tc filter. It seemed to work fine, but
after testing with ethloop I''ve realized that traffic is not being
distributed through the leaves as I thought. When sending packets to
1:10 and 1:11 at the same time, there''s no bandwidth sharing. There''s no
traffic through 1:11 until traffic through 1:10 has finished. Though
2003 Mar 24
11
How to do ensure bandwith
How to do ensure a class not lended and not borrowed each other.
I do cburst burst 0b ,but ctokens tokens go to negative!
---------------------------------
Do You Yahoo!?
"更多惊喜,同样精彩,NetVista A30 热卖"
--0-611462377-1048485942=:33792
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit
<P>How to do ensure a class not lended and not borrowed each
2002 Aug 12
3
Question on hashkey
Hi,
I''ve been working on hashing in tc for a month. Since
there are only a limited number of avaialbe example on
hashing, I''ll be appreciate if someone can my
questions as follows:
1.
tc filter add dev eth1 protocol ip perent 1:0 \
prio 5 u32 ht 800:: \
match ip src 1.2.0.0/16 \
hashkey mask 0x000000ff at 12 \
link 2:
It seems that the hashkey make can only applied to ip
2002 Nov 21
3
Problem with flowid filter example from howto
For simplicity, I tried this:
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10
tc qdisc add dev eth0 parent 1:3 handle 30: sfq perturb 10
tc filter add dev eth0 protocol ip parent 1: prio 2 flowid 1:1
The last line prints:
Unknown filter "flowid", hence option "1:1"
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