All Questions
32
questions
0
votes
1
answer
65
views
How to handle QoS(traffic control) based on physical interface of virtual bridge?
I have a requirement to limit the traffic rate based on different interfaces of the router, such as controlling the upload speed of ssid1 to 10mbps, download speed to 20mbps, lan1 upload speed to ...
0
votes
0
answers
98
views
Any way to limit bandwidth per IP in network behind linux router
I whant to limit bandwith of clients from network behind my linux based NAT gateway.
My clints is connected via wifi or directly via ethernet to router and receiving their IP address from DHCP.
I want ...
0
votes
1
answer
522
views
HTB "rate" parameter limits available bandwidth
Good day,
I have the following situation: 4 TCP streams of data from one machine to another. Each streams has its own destination TCP Port. 4 streams have different priorities : high, medium, low, ...
2
votes
1
answer
581
views
Attempting to shape traffic for both IPv4 and IPv6 results in a conflict
On my server I'm attempting to set up traffic shaping, and if I'm doing it for either IPv4 or IPv6, things are just fine: All filter rules for that particular protocol are installed.
However, when ...
1
vote
2
answers
3k
views
Why doesn't this "tc filter" rule classify the traffic at intended?
I'm trying to configure some basic traffic classification to limit the maximum ingress bandwidth for every machine in my local network to 3 Mbps. I'm operating the gateway 192.168.2.1, where the ...
0
votes
1
answer
569
views
tc qdisc with GRE in openwrt
I'm trying to implement traffic control to GRE interface in an openwrt board.
For this i followed below steps,
Create GRE interface named gre1 in both tunnel end devices.
Tested reachability with ...
1
vote
1
answer
1k
views
How to set an general network limit per client + priority for TCP acknowledgements
Following situation:
Network A is connected to network B over an slow connection.
Different hosts in network A would like to send traffic to hosts in network B.
Hosts in network B sending commands to ...
1
vote
1
answer
645
views
shape dropbox on linux router with tc and iptables
Another machine on my LAN is uploading to Dropbox and saturating my internet connection's upload bandwidth. When that happens my pings to 8.8.8.8 take 3000-6000ms. When dropbox is not uploading my ...
1
vote
1
answer
840
views
Bandwidth limit for multiple network destinations with a default (slow) match with Linux TC
I'm playing with Linux traffic control features to restrict KVM VM output bandwidth and got stuck while using filters to match destinations for a fast class and for a (default) slow class for a given ...
0
votes
1
answer
293
views
My tc script just limit outgoing traffic or both outgoing and incoming traffic?
I create this script to limit bandwidth all traffic through card eth1, I can test download speed with wget command but don't know how to test upload speed. Can anyone answer my question or show me how ...
1
vote
2
answers
1k
views
Percentual dynamic bandwidth control with tc
Does anyone know if tc (iproute2) can be used to percentually divide the currently available bandwidth? We're on a GPRS connection on which the available bandwidth changes frequently. What I want to ...
2
votes
1
answer
588
views
QoS Traffic Shaping based on packet loss and latency for VPN
I am currently having the following situation:
I am using a VPN (OpenVPN) over a rather unstable internet connection. This means the maximum bandwidth varies between 100kbs and 1mbit. Whenever the ...
0
votes
0
answers
726
views
Traffic Control in OpenStack Neutron with either TC or OpenVSwitch
As far as I know, QoS in OpenStack Neutron is still under development and not production-ready (I could be wrong on this point though, shout at me if so...), but we are required to implement traffic ...
2
votes
1
answer
2k
views
Traffic shaping outbound clients source ip with tc / iptables
My question is I am trying to limit a users bandwidth on a server and wondering the best way to do this. Before I dive to far into the tc/iptables I was wondering if I could get any advice on this ...
2
votes
0
answers
143
views
Is It Possible to Attach multiple Ports to a TC Filter?
I need to limit the bandwidth/rate by ports, and as a server there would be thousands of ports. Due to the limit of tc filter, I wonder if it is possible for multiple discreate ports to share a same ...
1
vote
1
answer
79
views
How Many Filters Can We Have -- LINUX QOS
I am doing Qos on Linux server using TC. According to the grammar of tc tool, the handle of a filter must be between 800::001 and 800::FFF. And because 0XFFF equals 4095 in decimal, so we can only ...
1
vote
0
answers
575
views
Why Parent Class In a TC Rules Tree Not Working
The parent class in my TC rules script doesn't work as it garanteed! Can somebody tell me what is wrong with my script? Here are some details about my question:
From the chapter "9.5.4.4. Sample ...
0
votes
1
answer
1k
views
Why This TC Script Not Working
Our application has three classes of traffic, and every type of traffic involves three ports. We want to limit the traffic by port number via TC, so I made a simple TC script to have the test, however ...
4
votes
2
answers
2k
views
Linux qos: tc DRR qdisc does not work
There is tc queue discipline DRR(Dificite Round Robin) .
It has same capabilities, as HTB, but instead of using buckets, filled with tokens, it just assignes every queue some Dificit Counter. On ...
0
votes
1
answer
837
views
What do these two QOS script statements mean
I am studying the QOS utility of Linux -- TC -- recently, and today I encountered below two statments from a bandwidth-limit script on Linux:
tc filter add dev eth0 parent 1: prio 1 protocol ip ...
1
vote
1
answer
2k
views
Can TC limit bandwidth by the Qos field of IP header
We are developing a client/server applications. There are three types of network data in our server app: Realtime data such as those of Video/audio, Critical Data such as those of Database data and ...
3
votes
2
answers
1k
views
Can TC (Linux Qos Utility) limit bandwidth usage of target applications?
We have many applications running on the same server machine which is inside a network of servers. We want limit the bandwidth of our applications to specific value. So here are some choices: ...
1
vote
0
answers
275
views
htb with an inner gred how to setup filter to reach DPs
I want to create a qos htb class and within this class there is a gred queue.
how do I add a working filter for each red queue in the gred queue?
what i tried was:
DEV=lo
SOMEGREDETTINGS="limit ...
5
votes
2
answers
1k
views
nginx clobbering sftp traffic during peak times - is tc the answer?
This is probably a continuation of my previous (unanswered) question because the underlying cause is probably the same.
I have a Linux server with nginx and sshd running on it. It's on a shared ...
0
votes
1
answer
254
views
HTB qdisc child of another HTB qdisc drawbacks
In the HTB documentation can be read:
Note: HTB as child of another HTB is NOT the same as class under
another class within the same HTB. It is because when class in HTB can
send it will send ...
4
votes
2
answers
4k
views
Traffic shaping: tc filter attached to an HTB class?
Can I attach a tc filter to an HTB class rather than to an HTB qdisc?
For example:
tc class add dev $IF_LAN parent 1:100 classid 1:180 htb rate 19kbit ceil 2000kbit prio 4
where:
1:100 -> Is ...
7
votes
2
answers
4k
views
Traffic shaping: tc filter catch all filter
How Can I configure a "catch all" filter with tc filter?
I tested with the following code but it gave me the error: "Unknown filter "1:100", hence option "protocol" is unparsable":
tc filter add ...
3
votes
5
answers
1k
views
QoS configuration for a medium ISP
What is the best Linux-based QoS platform to implement a configuration where all 256Kbps DSL clients (all belong to the same IP range) get a guaranteed speed of 200Kbps with single QoS rule?
4
votes
3
answers
5k
views
Making iptables recognize youtube streams and large files
I use Ubuntu server 10.04 with the stock kernel as a NAT router. I use iptables and tc to do port based traffic prioritization. It is working fine. I have given http higher priority. So my network ...
0
votes
1
answer
898
views
Rsync over NFS with QoS: How to view real transfer speed?
We have a bandwidth limit between a Linux server and a NAS, created using 'tc' with an IP filter.
When writing to an NFS mount of the NAS, rsync claims a very high transfer speed for each file and ...
2
votes
3
answers
3k
views
QOS on ubuntu server
I want to run the following script on ubuntu server. eth1 is NAT interface, and eth2 is the WAN interface which has a static public ip:
TCA="tc class add dev eth2"
TFA="tc filter add dev eth2"
TQA="...
0
votes
3
answers
6k
views
How do I use the `tc` command to give the 1st queue priority?
Lets say I have 3 queues (# indicates data):
Q1: (in)[ ###](out)
Q2: (in)[ #####](out)
Q3: (in)[ #############](out)
Lets say I put all my ICMP packets in Q1 and all the ...