Displaying 20 results from an estimated 8000 matches similar to: "How to delete a tc qdisc entry?"
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
2013 Jul 17
0
Re: Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
After some digging in openvswitch code. My wild guess is that vlan tag
reconfiguring triggered iface_configure_qos (vswitchd/bridge.c), which
in turn called netdev_set_policing to reset ingress policing rate.
Although there's no ingress_policing_rate set in my case, existing
ingress qdisc still remove by default.
Could some openvswitch guy help to confirm and suggest how to fix or
workaround?
2001 Nov 11
2
delete tc entries
I''m a newbie to tc and after some experimenting I have the following
problem:
# tc qdisc show
qdisc sfq 8006: dev ipsec0 quantum 1514b perturb 15sec
I can''t get rid of this entry. Is there a way to clear all entries? I
tried all sorts of "tc qdisc del xxx" but nothing seems to work. It
says:
RTNETLINK answers: No such file or directory
What syntax do I need to
2013 Jul 17
2
Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
With outbound QoS setting in Libvirt XML, libvirt will add a tc
ingress qdisc for traffic shaping. Then if you set VLAN tag to that
tap device, this qdisc will automatically gone by no reason.
Could anyone shed some lights where should I look into? I'm really
confused and got no clue here. Thanks!
Steps to reproduce
--
# virsh start instance-name
# virsh dumpxml instance-name
...
   
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
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
2007 Feb 12
0
tc statistics
Hi Gang,
I''m still experiencing some bandwidth starvation with my script (below), so I
decided to look at the statistics by using:
tc -s qdisc show dev eth0  (where eth0 is the interface I''m trying to
rate-limit outbound packets)
I get, for example:
qdisc sfq 21: quantum 1514b perturb 10sec
 Sent 133527926 bytes 413260 pkts (dropped 0, overlimits 0)
 qdisc sfq 20: quantum
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 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
2002 Oct 16
10
htb limiting trouble: no overlimit or dropped packets
Hi!
I''m trying to limit the uplink bandwidth using htb but no packets are
overlimit or dropped. :-(
My router config:
* Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as
  modules in QoS, iptables in use.
* tc binary from htb3.6-020525.tgz
* external interface eth0: Internet access, 512 kbit/s uplink speed
* internal interface eth1: internal LAN, 100 Mbit/s
The hosts in the
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
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
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 Sep 20
1
PRIO not working?
Hello,
	I am using a simple script, which is based on prio. The point is,
that it is not possible to use htb on wifi networks, so I thought that prio
will work fine, but it does almost nothing.
All I wanted was to make the important packets like icmp, games, VoIP,... to
go first, and to slow the things like FTP data transfer, etc.
When I use $TC -s qdisc show dev ${IFACE}, I see, that the
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
2001 Feb 05
0
bandwidth limiting when src and dst are on the same interface
Hello!
I have a problem here.
I set up a Linux 2.4 machine to do bandwidth limiting for some of our
customers.
Current setup is something like this:
|--------|       backbone       |-------|               |---------|
|Internet|225.1-----------225.10|limiter|228.1----228.10|cust. gw2|
|--------|          |      eth0 |-------| eth1          |---------|
                    |
		 225.20
           
2004 Jul 24
1
tc del filter troubles
hello,
I have working htb system with about 1000 users. Until now I reload all
rules at change, but it take too much time to apply.
I cannot delete applyed filters. There is rules for one user:
#!/bin/bash -v
# Download shaper EX -> 2:20
/sbin/tc class add dev eth2 parent 2:20 classid 2:1775 htb rate 8000Kbit
ceil 10000Kbit quantum 1514
/sbin/tc qdisc add dev eth2 parent 2:1775 sfq perturb
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
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
Hello i''m having some issues trying to match packets
using iptables mark, iproute filter and tc filter.-
i mean, when i do
iptables -t mangle -A INPUT -p tcp --dport 80 -j MARK
--set-mark 20
iptables -t mangle -A PREROUTING -p tcp --dport 25 -j
MARK --set-mark 10
iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1
--dport 25 -j MARK --set-mark 10
$TC qdisc del dev $INET_IFACE root
$TC
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