Displaying 20 results from an estimated 7000 matches similar to: "tc filter isn''t work !"
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 Nov 24
0
max latency with htb and wondershaper for voip and p2p
Hi
I''m actually using a wondershaper derived script.
The problem I have is that when I ping (ping is in high priority queue)
the ping time is not as low as I expected with p2p running:
760 packets transmitted, 760 received, 0% packet loss, time 759695ms
rtt min/avg/max/mdev = 39.667/62.863/598.539/33.287 ms, pipe 2
With voip, it is much better with the qos but it is still a little
2004 Aug 04
10
htb and fw problems
Dear All,
I''m using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo.
I have a leased-line 64 kbps.
I can see the counter works in iptables, but in the htb, it doesn''t go to the right class (it always go to the default class).
Any help will be appreciated
here''s my htb conf
#!/bin/bash
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root
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
2007 Feb 25
4
Trafic control - simple config, need help
I am completely new to this.. I am trying to make simple traffic control..
I have read quite some manuals and posts that i found, but i don''t understand
much, i think..
My situation is: i have linux server which i am using for firewall for local
network.. also on same linux server i have torrentflux for downloading torrents..
What i want to do is to give priority to local clients(2-3
2004 Oct 21
2
how to read the stats
Hi
I have setup iproute2 and need a bit of help reading the stats from it
===== output
qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17
Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572
requeues 0)
backlog 46p
qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec
Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0)
qdisc sfq
2004 Jun 13
1
[Help] IMQ download traffic is duplicated !?
Hi,
I have a default class for my un-marked traffic (prio 5) and a prio 0 class for the important stuff,
but I do not understand why my download traffic is duplicated in both.
It work fine for my upload traffic (same setting except the red class but I have the same
result if I create an esfq instead).
Any comments/information will be appreciated.
Below my config :
tc commands from my scirpt :
2007 Feb 14
0
Marking packets with iptables (NEWBIE)
Hi all,
I''m trying to marking packets with iptables and use tc filter to catch this
packets.
I configure my device:
tc qdisc del root dev eth0
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 3000kbit ceil 6000kbit
burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2000kbit ceil
4000kbit burst 15k
tc qdisc add dev eth0
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
2002 Jan 03
1
tc class show problem with HTB ?
Hi!
I''m using 2.4.17 + htb2_2.4.16.diff now.
But I found the tc class show command won''t show the correct infomation like before...
I got something like:
# tc -s -d class show dev eth0
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
class htb 1: parent 1:
# tc -s qdisc
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
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
2001 Apr 21
0
CBQ : does it really function?
Hello LARTC,
qdisc sfq 8004: dev eth0 quantum 1514b limit 128p flows 128/1024
Sent 5064675 bytes 6546 pkts (dropped 0, overlimits 0)
qdisc sfq 8003: dev eth0 quantum 1514b limit 128p flows 128/1024
Sent 497432 bytes 799 pkts (dropped 0, overlimits 0)
qdisc sfq 8002: dev eth0 quantum 1514b limit 128p flows 128/1024
Sent 11847957 bytes 12343 pkts (dropped 0, overlimits 0)
qdisc sfq 8001:
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 Aug 06
0
CBQ + 802.1Q VLAN
I need to shape traffic from some IP on one LAN, but I''m in trouble. There is a linux 2.4.26 connected to the Internet (eth0) / LAN(eth1) doing NAT. I''m using VLANs in the LAN Interface, that is connected to a 3Com SuperStack II in a 802.1Q tagged port.
I want to create a class that will limit the traffic at 384Kbit/s.
I want to create two leaf classes that limit the traffic at
2006 Nov 20
2
Fwd: Traffic Shaping on a Transparent Bridge not working!
I''m trying to shape traffic on a Devil-Linux box.
This note was originally sent to their maillist,
because the LARTC list appears to have been down
for the past few days. My mailbox was just flooded
with a half dozen or so confirmation requests in response
to my repeated attempts to subscribe to this list.
---------- Forwarded message ----------
From: drew einhorn
2004 May 31
1
Wondershaper - question
Hi,
I have a question conercing wondershaper. I''m using the Clarkconnect linux
distribution for my linux router and I tried to use wondershaper.
On start up of wshaper, there are no errors or any other problems but I''m
not sure if it''s running correctly. Only one qdisc / one class is used and
when I start an uplink ftp transfer, my ping time is growing up to 1700ms -
I
2004 Dec 30
2
HTB - ethloop - overlimits?
Hi all,
I''m trying to setup htb on a box with the following class configuration:
class htb 1:2 root rate 4Mbit ceil 4Mbit burst 2099b/8 mpu 0b overhead
0b cburst 2099b/8 mpu 0b overhead 0b level 7
Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0)
lended: 0 borrowed: 0 giants: 0
tokens: 4300 ctokens: 4300
class htb 1:4 parent 1:2 leaf 4: prio 7 quantum 1000 rate 1Kbit ceil
2002 Aug 31
3
HTB shares equally when borrowing enabled :(
Hi,
I''m fighting seriously with a most simple HTB setup. I''d like to share
the incoming 64kbps into 5 and 59 for two different machines under NAT.
HTB seems to hold the required limits when ceil is not set (no
borrowing), but when borrowing enabled it seems to share equally rather
then keeping the specified ratio.
My setup is below. A typical output of "tc -s -d qdisc
2006 Sep 13
1
HTB shaping problem
Hi all !
I''m building a network appliance whose goals are to enhance Voip
quality on 512/128k DSL links. But, i have a voice quality problem,
and i think i''m doing something wrong, but i can''t find what. Please
excuse my terrible english, i''m french.
>From what i''ve read, tc is the tool i need. I read the documentations,
readmes and lartc.org