The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
1k 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
87 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 ...
2
votes
1answer
399 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
201 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
539 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 ...
0
votes
1answer
222 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
163 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
390 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 ...
0
votes
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 ...
3
votes
0answers
439 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 ...
3
votes
0answers
788 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
1k 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
1k 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
156 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?
2
votes
0answers
178 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 ...
1
vote
0answers
49 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
25 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
45 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
48 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
349 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
309 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
147 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
75 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
445 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
211 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
639 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
712 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
264 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
65 views

Simple Shorewall/netfilter traffic control/prioritization questions and possible strange side effects

I am setting up traffic prioritization for a small business to prioritize videoconferencing traffic over general web traffic. I use Shorewall (which controls iptables/netfiler) on a linux machine for ...
0
votes
0answers
26 views

Is it possible to use iptables and trafficcontrol (tc qdisc) together to set rules on only specific packets/traffic?

I would need to set delay on my network interface such that only a specific set of packets/traffic is affected by this delay. i.e., I can set a 9 sec delay on eth0 tc qdisc add dev eth0 root netem ...
0
votes
0answers
164 views

Traffic shaping of nodejs socket.io not based on IP or Port

I have an architecture based on multiple stateless webservices loadbalanced with haproxy. Theses webservices host a cloud storage system that allow users to upload files at a predefined bandwidth ...
0
votes
0answers
29 views

tc rules not working

Here is my tc setup : tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1: classid 1:1 htb rate 10kbit ceil 10kbit This should limit the uplink bandwidth to 10kbit. But when I ...
0
votes
0answers
156 views

Traffic shaping / HTB - how to interpret borrowed/lended figures?

I have upload traffic shaping set up as follows (this is my NAS box, eth0 serves both LAN and internet traffic): # root handle tc qdisc add dev eth0 root handle 1:0 htb default 12 # lan class - no ...
0
votes
0answers
33 views

Same tc rules, different behavior?

I want to do some experiments with various network conditions. To do this, I am created 2 lxc containers and I place traffic control rules with tc on their network devices to represent these ...
0
votes
0answers
57 views

Traffic shaping prioritizing some WAN interfaces using prio qdisc

Im configuring my router to give preference to some WAN interfaces. I have read about queuing disciplines here http://lartc.org/. I understand how PRIO discipline can prioritize traffic depending on ...
0
votes
0answers
208 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 ...
0
votes
0answers
97 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 ...