Tc is used to configure Traffic Control in the Linux kernel.
2
votes
1answer
57 views
Explanation of bandwidth management script calling tc
I have some scripts in Linux to manage internet bandwidth, but I do not understand what they do.
What is the meaning of the following scripts:
tc qdisc add dev $IF root handle 1: htb default 256
tc ...
3
votes
1answer
59 views
tc on bridge port
I have a 4 port bridge:
root@Linux-Switch:~# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000024cd2cb0 no eth0
eth1
...
0
votes
0answers
70 views
Traffic shaping - Controlling burst time and rate - on Debian server
I run a busy website on a Debian server that utilises Shorewall for most of the traffic management.
I need to work out a way to shape excess traffic so that all users can burst up to a maximum speed ...
0
votes
0answers
102 views
Limit internet speed without tc
I'm using deb based linux for years and I never had problems limiting the internet speed using wondershaper. The problem is that on sisters PC I had to install puppy linux because it's a very old PC. ...
3
votes
1answer
195 views
tc class rate 50Kbps != 50K/s in wget?
Got the following test rule setup:
tc qdisc add dev wlan0 root handle 1: htb
tc class add dev wlan0 parent 1: classid 1:1 htb rate 1000Mbps
tc class add dev wlan0 parent 1:1 classid 1:5 htb rate ...
3
votes
1answer
589 views
tc don't see marked with -j MARK packets
Server has 2 network interfaces:
eth1 with address 13.0.0.254/24
eth0 with address 172.20.203.4/24.
It's routing traffic between this two networks. Task is to limit bandwidth between this two ...
1
vote
1answer
352 views
Is Traffic Control (tc) broken in Fedora 17?
After upgrading from Fedora 16 to Fedora 17, Traffic Control no longer seems to work.
Running # tc qdisc show will output:
qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priopmap 1 2 2 2 1 2 0 ...
12
votes
3answers
2k views
Understanding tc qdisc and iperf
I'm trying to limit bandwidth with tc and check the results with iperf. I started like this:
# iperf -c 192.168.2.1
------------------------------------------------------------
Client connecting to ...
2
votes
0answers
107 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 ...
3
votes
1answer
592 views
How can I configure fair bandwidth sharing between cgroups?
It's fairly easy to use tc with Stochastic Fairness Queueing (SFQ) to configure fair bandwidth sharing between flows, but an application can open multiple flows and get an unfair share of bandwidth. ...
2
votes
2answers
830 views
Reducing packet loss in tc rate limiting
I use this tc command to limit upload speed on an interface:
tc qdisc add dev eth1 root tbf rate 2mbit burst 10kb latency 70ms peakrate 2.4mbit minburst 1540
But it results in heavy packet loss. ...