Tc is used to configure Traffic Control in the Linux kernel.

learn more… | top users | synonyms

2
votes
1answer
126 views

Are dropped packages in traffic control really dropped?

While having a slight timeout problem in my network (the router needed some rest, so that's solved) I found myself trying to decipher tc -s output, after noticing that the "dropped" values represented ...
1
vote
1answer
16 views

How to apply a parameter to packet so TC can prioritize\classify it

I want to add a parameter to the packet so that I can later let TC (HTB in specific) prioritize my packet (based on filtering that parameter). I thought about filtering by socket but as I understand ...
1
vote
1answer
263 views

Bandwidth throttling per user group

I am wondering if it is possible to create a bandwidth shaping/throttling script that shapes traffic based on user group. That is, if user1, user2, are in user group group1, they will have 1mb/s ...
3
votes
0answers
59 views

tc cbq doesn't work (no traffic limitation)

I've been trying to use cbq weight attributes after HTB failed to do so. I've tried using a command set I've found in an example just to verify it works (HTB works fluently) Here are the commands I ...
3
votes
0answers
36 views

Queuing disciplines are per-interface, what happen with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
2
votes
0answers
19 views

Dropping packets before mangle POSTROUTING

In iptables on Linux 3.10, why do packets which have been DROPed by the FORWARD chain of the standard table still appear in the POSTROUTING chain of the mangle table? -- I'm trying to use the standard ...
2
votes
0answers
119 views

Is Traffic control inside namespace on ports created by OpenvSwitch supported?

I am trying to limit the bandwidth of an interface inside a namespace using tc without much success. Seems it's not supported according to ...
2
votes
0answers
71 views

Filter UDP packet in tc filter

Hello I'm trying to limiting the bandwidth on my iperf udp test (iperf -u). I use tc qdisc and class to make some assured rate and ceiling rate for it. However, I don't know what filter I should use ...
2
votes
0answers
53 views

How to limit network bandwidth after some data transferred?

So the question is in the name of topic. How to limit bandwidth I know. Using tc. But how to do so after, for example, traffic had reached 500MB. And after some time reset the limits.
2
votes
0answers
274 views

Traffic shaping with tc does not work

I want to limit the outgoing traffic to a specific bandwidth. My Code: tc qdisc add dev vif1.0 root handle 1: htb default 30 tc class add dev vif1.0 parent 1: classid 1:1 htb rate 1mbit tc class add ...
2
votes
0answers
145 views

How to fairly share bandwidth between IPs with tc?

I have a linux router (d-link 320-nru) with tc installed. I have some users' computers to fairly share bandwidth between them. Also there is such complication as inconstant uplink bandwidth. How can ...
1
vote
0answers
9 views

Fair traffic classification using TC

I want to apply a qdisc I developed on myself (quite similar to netem. Think netem.) to several IP-addresses using the filter classifier. No problem this far, I could do so using the prio qdisc or HTB ...
1
vote
0answers
40 views

Xen and traffic shaping

I want to limit the incoming and outgoing traffic for a guest machine on a Xen Host. There is a total of 1000Mbit/s available on the host. The guest machine has its own interface, let's say vif1.0 ...
1
vote
0answers
54 views

No traffic tc class at bridge interface

I make bridge interface like this [root@]# brctl show bridge name bridge id STP enabled interfaces br67 8000.002655e38b20 no eth6 eth7 ...
1
vote
0answers
35 views

Traffic Control user permission

My users need to emulate packet loss on RTP video streams to achieve visual effects. We are in a artistic environment and don't worry about security. The application works only as super user. I ...
1
vote
0answers
110 views

Failing to apply tc filter

I've run the example at ifb both con Centos and on Fedora tc filter add dev eth0 parent 1: protocol ip prio 10 u32 match ip src 192.168.200.200/32 flowid 1:2 action police rate 10kbit burst 90k ...
0
votes
0answers
6 views

why do I need to specify 'htb' when I declare a class in traffic controll?

I'm reading the following guide and I have to say it is pretty clear, but I don't understand why thing. When it declares a class it does so: tc class add dev eth0 parent 1:1 classid 1:10 htb rate ...
0
votes
0answers
26 views

Corrupted Packets in IFB on OpenWRT

I'm trying to do ingress shaping on OpenWRT barrier breaker.. I have each port on a separate VLAN and I have two of the VLANs bridged. I've setup a transparent firewall between those VLANs ...
0
votes
0answers
22 views

How to delete filter (classifier) in Netlink (libnl route)

According to the API, in order to delete a filter I must provide the following attributes : (others are optional) ifindex priority protocol handle The problem with filters (unlike other TC ...
0
votes
0answers
21 views

what are the hash functions used by SFQ classless qdisk?

I noticed an example of creating an SFQ, in which the only parameter is perturb which is the period to switch hash function to another. I was wondering what are the hash functions used by the SFQ, are ...
0
votes
0answers
179 views

Simple QoS configuration with PRIO Qdisc is not working

Im using Ubuntu 12.10 OS and i want to prioritize ICMP traffic over any other traffic in the egress queue of eth0 interface (as it is my default route to internet). By default this is the qdisc ...