The tag has no usage guidance.

learn more… | top users | synonyms

7
votes
3answers
2k views

Limiting interface bandwidth with tc under Linux

I have a linux router which has a 10GBe interface on the outside and bonded Gigabit ethernet interfaces on the inside. We have currently budget for 2GBit/s. If we exceed that rate by more than 5% ...
3
votes
1answer
337 views

linux tc htb bandwidth ceil being ignored and giving improper results

I'm setting up some htb packet queues like so: tc qdisc add dev eth0 root handle 10: htb tc qdisc add dev eth1 root handle 10: htb tc class add dev eth0 parent 10: classid 10:1012 htb rate 750kbps ...
3
votes
1answer
715 views

Limiting bandwidth with hashlimit (e.g. kb/s — not connections!) doesn't work, though the man page says it should

According to the iptables-extensions man page hashlimit can do bandwidth limiting: "flows exceeding 512kbyte/s" => --hashlimit-mode srcip,dstip,srcport,dstport --hashlimit-above 512kb/s ...
2
votes
1answer
115 views

Use traffic shaping with tc on debian jessie to limit only one virtuall IP

My server has multiple IPs on which only one is mapper to the inbound physical interface eth0. Other IPs are handled in a virtual manner via iptables/DNAT. I want to limit the traffic to one of my ...
2
votes
1answer
209 views

Is there an equivalent of LinuxIMQs in BSD?

Is there an equivalent of LinuxIMQs in BSD ? From linuximq.net: The imq device has two common usage cases: Ingress shaping: With linux only egress shaping is possible (except for the ingress ...
2
votes
1answer
435 views

How can I do traffic shaping in Linux by xen guests?

I want to be able to set up two xen guests like this: xen-create-image --hostname=xen1.example.com --size=10Gb --swap=512Mb --ip=192.168.0.101 --force --memory=256Mb --arch=i386 --debootstrap and ...
1
vote
1answer
487 views

Dummynet Filtering not working on FreeBSD 10

I am trying to do network emulation using dummynet in FreeBSD 10. I have this working in 9.3 however things must have changed and I cant determine exactly what but my setup no longer works. I have ...
1
vote
1answer
302 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 ...
1
vote
1answer
737 views

Per-user dynamic traffic shaping

At work we have a dedicated Internet link for everyday use (servers use a different link) with limited upload bandwidth (currently 3Mbps). Since there are ~80 users, sometimes this upstream link ...
1
vote
1answer
2k views

Ingress filtering in Linux traffic control: Redirect traffic to IFB device

I have an openwrt router and I want to shape incoming traffic in order to classify all the traffic addressed to a certain IP address in my home network as low priority. For that purpose I want to ...
0
votes
1answer
36 views

cisco asa 5512-x policing

I have a single 100mb leased line that will be shared by three unrelated companies. We are looking to buy a cisco ASA 5512-X and I need to use policing to ensure that each company receives 1/3 of ...
0
votes
1answer
432 views

Linux Traffic Shaping with “tc”: QoS filter for requests directly on the host not applied?

I'm trying to reduce the interface thoughput to debug my application on slower network speed. I've remembered a tc statement to do this on a interface which was working in the past. I used it on a ...
0
votes
1answer
290 views

split traffic on two eth ports

I have a linux Proxmox server with two ethernet ports. The problem is that I have two uplinks that I would like to use with different bandwidth limitations. The first uplink maxes out at 100mbs and ...
0
votes
1answer
556 views

Traffic shaping L2TP/IPsec VPN (via accounts not connection)

I need to be able to control the amount of bandwidth a specific user account can use on a VPN connection. One account I want to be able to use the VPN with no restrictions and another account I want ...
4
votes
0answers
853 views

pfsense 2.0 traffic priority - set full priority for single host

I have a network with several computers all on the same network and since I have very limited bandwidth I would like to prioritize traffic almost like a CPU scheduler prioritize processes. Example: ...
2
votes
0answers
3k views

How to share bandwidth equitably between 16 users on a pfsense multi-WAN router

I have 16 users connected to my pfSense single-LAN, 3-WAN router. The 3 WAN ports connect to ADSL lines giving about 4Mb/s down, 800kb/s up each. I would like to prevent any one user hogging the ...
2
votes
0answers
2k 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 ...
2
votes
0answers
223 views

Ubuntu traffic shaping by source mac address or destination host

Is there an easy way to manage traffic shaping/bandwidth monitoring to limit traffic based on source mac address and/or destination server address?
1
vote
0answers
75 views

How can I do traffic shaping in Linux by IP for both way communication?

Well, I've already gone through How can I do traffic shaping in Linux by IP? on serverfault & what I'm trying to achieve is pretty much same. Internet--------Linux Router----Switch-----Clients ...
1
vote
0answers
30 views

How to throttle bandwidth for ipalias in Linux

I want to slow the connection between some nodes to a virtual node inside one machine. (different nodes use different ip with ip-alias or with different ports) In Linux, is it possible to slow the ...
1
vote
0answers
36 views

IP hashing filter in traffic shaping

I am using a traffic shaping by IP hashing filter. I have Five networks /24 : 192.168.1.0/24, 192.168.2.0/24 .. 192.168.5.0/24 so i create a table with 5 cells and each cells has 256 cells. this is ...
1
vote
0answers
447 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 ...
1
vote
0answers
44 views

How to test if packet has been tagged with classid

I'm trying to troubleshoot an issue I'm having related to IFB Mirroring which I'm attempting to deploy based on this question: Tc: ingress policing and ifb mirroring My theory is that since the ...
1
vote
0answers
70 views

Group traffic shaping with traffic control?

I'm trying to limit the output bandwidth generated by an application with linux tc. This application sends me the source port of the request that I use has a filter to limit each user at a given ...
1
vote
0answers
101 views

Trying to understand HTB subclasses rate

I'm currently studying the opportunity of using an Ubuntu server to provide QoS instead of my consumer-class router. I've read a lot of resources about tc and HTB queuing disciplines - which look to ...
1
vote
0answers
591 views

iptables & tc limit both upload & download together

I have the following for iptables & tc but it limits the upload speed to 2Mbits once the quota of 1GB has been hit. iptables -t mangle -A POSTROUTING -o eth0 -p tcp -m owner --uid-owner aaron ...
1
vote
0answers
384 views

FTP Transfers Slow Between 2 Servers

Between 2 dedicated servers, hosted in 2 different DCs (different companies), the FTP upload speeds are always much slower than the max connection speed. Specs: Windows 2008 on both. Quad core/8 GB ...
1
vote
0answers
449 views

Linux tc Traffic Shaping for IPv6

I have traffic shaping with tc and htb in place and everything works fine for IPv4. Now I want to limit the bandwidth for incoming IPv6 ssh/sftp traffic to some reasonable amount, so it doesn't ...
1
vote
0answers
180 views

Equalizing bandwidth according to use

I need a way to prioritize packets without setting bandwidth limits. For example, I have a client using the whole bandwidth. As soon as other clients need bandwidth, reduce the bandwidth of the former ...
1
vote
0answers
85 views

Defining an explicit parent in traffic control rules

In traffic control, will an explicit parent declaration in a filtering rule override a flowid definition? E.g.; tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1: ...
1
vote
0answers
541 views

tc u32 match protocol [any] in recent kernels — where to discuss?

I've been using debian with 2.6.26 kernel; now I've started to test 2.6.32 for my needs. And I've noticed that u32 filter behaves differently for, namely, "protocol 802.1q". To discover the tendency, ...
1
vote
0answers
242 views

tcng & tc hiercharchy

Let me explain what I'm trying to do, we have one 10Mbps line coming in, we want to divide that up into 3 3Mbps sections, which are defined by each subnet, then in one of these subnets we have ...
1
vote
0answers
759 views

Traffic shaping for gateway to stop leechers

I am new to traffic shaping, but I need a quick simple shaping. I have a free internet service on my place using wifi. All www traffic has been routed to transparent proxy. We have a 10mbps ...
1
vote
0answers
853 views

Freebsd, ipfw sched - config type = QFQ get frozen

I have some freebsd soft-router $uname -r 8.2-STABLE code for ipfw: pipe 50 config bw 70Mbit/s sched 50 config type QFQ queue 502 config sched 50 weight 1 mask dst-ip 0xffffffff queue 501 ...
1
vote
0answers
285 views

Troubleshooting iptables and configuring it to drop the priority of long-term connections

I'm somewhat familiar with the general concepts of iptables, and would like to learn it in more detail. I'm hoping that my learning experience can also be useful. The situation: I'm running dd-wrt ...
0
votes
0answers
7 views

esxi traffic Shaping

There's a good description of how traffic shaping works on a esxi Standard Switch here. In short, there are three settings: average bandwith peak bandwith burst size Traffic can be sent with peak ...
0
votes
0answers
9 views

TC - delete exact filter

Im't trying to automate traffic shaping on some system n one interface, using next script. This script adds classes and filters by one per class, width command like: tc filter add dev eth0 parent 1: ...
0
votes
0answers
128 views

Is there a way to limit bandwidth per ip using HTB + a CIDR range in Linux?

I can create rules to limit a entire subnet or to limit individual ip addresses with tc and htb. I am looking to use CIDR ranges to keep things somewhat elegant. The machines in question are all ...
0
votes
0answers
40 views

TC fails to shape traffic with DRR

I try to control outgoing traffic from my server. I want to have several classes with different QoS parameters. For the scheduling I'm using DRR. The following commands (should) create a Tree of ...
0
votes
0answers
58 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 ...
0
votes
0answers
31 views

filtering in traffic shaping

I am using a traffic shaping by HTB and IPhashing filter in an organization with 10500 users. In my project i want to control bandwidth per IP so I created for each IP an individual class. HTB ...
0
votes
0answers
112 views

Using net_cls with tc to shape ingress

I've successfully set up egress shaping using tc and net_cls, but am having a lot of trouble doing the same for ingress. I've tried using the basic tc ingress qdisc with a filter as well as using IFB ...
0
votes
0answers
63 views

Incorrect real bandwidth in traffic shaping

I am trying to create a traffic shaping by HTB and iptables.I want to control bandwidth per IP so I create for each IP a class and I am using iptables marketing to assign individual filter to each ...
0
votes
0answers
93 views

wondershaper doesn't work for redirected traffic

I'm trying to prioritize my network so small packages get through quicker so latency-dependent applications don't get unusable when downloading/watching videos. I want to use one pc(with one nic) ...
0
votes
0answers
132 views

can someone explain traffic control `mirred egress redirect`

I am using the following traffic control command to redirect traffic from one interface to another, however I don't quite understand what's happening here. Can someone please explain me what're we ...
0
votes
0answers
38 views

How to change give highest priority to Mail traffic on port 25 with tc

How can I give the highest priority to mail traffic on port 25 whit tc? I tried prio option but It didn't work out for me or maybe I'm missing something. I'd appreciate any help.
0
votes
0answers
261 views

tc-tbf rate limiting works on 100Mbit Ethernet, but not Gigabit ethernet, with Windows

I have a linux box I use as a firewall with Shorewall. I have traffic shaping enabled in order to prioritize traffic from one computer used for videoconferencing. My business has an upload speed of ...
0
votes
0answers
105 views

TC Bandwidth Shaping for all clients

I am running a video site and want to shape the download speed of all clients. How can I apply my tc class to all the clients by ip, i.e. every user has a download speed of 128kbit/s, no matter how ...