All Questions
Tagged with tc rate-limiting
13
questions
1
vote
0
answers
239
views
How can I limit incoming/outgoing connection speeds based off IPs?
I want to limit the speed each IP can download/upload files for every application on my server to 1Mb/s
Example IP 192.168.0.1 is downloading at sustained 900Kb/s through FTP server if the IP then ...
0
votes
1
answer
312
views
Limit bandwidth for two sources of traffic together but not one of them
There are 2 sources of traffic
The first one of them shouldn't be impeded in any way, it should be able to draw as much available traffic as it wants.
The second one, on the other hand, should be ...
3
votes
0
answers
2k
views
How to configure per IP bandwidth control using TC?
Requirements:
There is an arbitrary number of users per group. Bandwidth for any particular group is 1000kbps. Bandwidth for each user in a group is 70 kbps. At any time no user should not consume ...
0
votes
1
answer
2k
views
Why I can't limit bandwidth with tc command
I want to limit bandwidth for interface eth1, I read command in this link.
sudo tc qdisc add dev eth1 root handle 1:0 htb default 10
sudo tc class add dev eth1 parent 1:0 classid 1:10 htb rate ...
0
votes
0
answers
156
views
Gradual throttling total bandwidth
I have a server with a 30TB traffic allowance hosting (mostly) history images and would like to throttle one particular directory (the download image sizes) when necessary to avoid going over the ...
4
votes
1
answer
17k
views
How to do traffic shaping (rate limiting) with TC per OpenVPN client
This question is related to another question with a great answer and script from @Oliver.
The goal: I want to modify/extend the script provided in this answer to suit my requirements, which are as ...
1
vote
0
answers
342
views
HTB scheduler unexpected behaviour, low priority traffic starving high priority traffic
I am working on assuring low delay for UDP traffic at the home gateway level. At this home gateway I have two types of traffic, TCP and UDP, and I assure differentiated treatment by using HTB. The ...
0
votes
1
answer
2k
views
linux tc: unstable rate using tbf qdisc
This is the first time I am experimenting with tc. What I am trying to achieve is to limit the download rate that passes through a Virtual Machine that acts as gateway. The VM has two Ethernet ...
3
votes
1
answer
1k
views
linux tc qdisc pie (aqm) configuration with limited bandwidth
I would like to configure AQM PIE by using tc-qdisc, but at the same time I would like to limit the bandwidth to 1Mb/s.
I have used similar configuration with fq_codel, i.e. I have limited the ...
2
votes
0
answers
8k
views
tc qdisc tbf - calculate sensible latency and burst from rate
I want to create a simple script that lets me limit the outgoing speed of an interface somewhere between 56k (modem speed) and 1MBit/s. I found that something along the following does the job:
tc ...
4
votes
0
answers
3k
views
Linux Traffic Controller (Linux tc): hierarchical token bucket (htb) packet queue size
In my Linux router, I am using the following configuration to limit the rate of traffic towards port 44444 of a client in the LAN (client address is 192.168.10.2, connected through the router's eth1 ...
5
votes
1
answer
6k
views
VLAN based rate limiting using tc
I have been trying to perform VLAN based rate limiting on an academic project I am working on. The project uses Openflow (with Beacon controller) and the network is emulated using Mininet. The network ...
0
votes
2
answers
5k
views
Incoming rate limiting
I have a ubuntu machine with two interfaces. eth1 is the NAT interface and eth2 is the WAN iterface. I have a 4 mbps internet connection. I want to limit it to 2 mbps for the eth1 NAT network. So I ...