The tag has no usage guidance.

learn more… | top users | synonyms

8
votes
3answers
13k views

How can I do traffic shaping in Linux by IP?

We have a transparent proxy setup. I tried looking for traffic shaping in Linux, and all I could find online was to limit traffic by interface (eth0/eth1...). I need to limit the bandwidth (never ...
12
votes
3answers
16k views

Tc: ingress policing and ifb mirroring

I'm trying to setup traffic shaping on a Linux gateway as written here. The script needs to be customized because I have multiple LAN interfaces. So to shape the LAN side I am planning to create a ifb ...
29
votes
4answers
7k views

Does anyone really understand how HFSC scheduling in Linux/BSD works?

I read the original SIGCOMM '97 PostScript paper about HFSC, it is very technically, but I understand the basic concept. Instead of giving a linear service curve (as with pretty much every other ...
9
votes
3answers
21k views

Throttle bandwidth via iptables

I have a need to throttle the bandwidth usage, similar to how some ISPs do it, so that after a couple of seconds, it throttles down the speed.
5
votes
4answers
2k views

Traffic Management recommendations [closed]

What's your strategy towards traffic prioritization/management. I am not really to just get a list of packet shaping solutions. Instead, I would like to get recommendations about traffic management ...
5
votes
4answers
6k views

Linux traffic shaping using TC

My internet connection goes like this: Internet <-128kbps link-> Cisco Router (Public IP) <-LAN-> Linux router/server (Public IP) <-LAN-> Regular PCs (Public IPs) The Cisco router: the ...
2
votes
3answers
5k views

Shaping outbound Traffic to Control Download Speeds with Linux

I have a situation where a server makes lots of requests from big webservers all at the same time. Currently, I have not control over the amount of requests or the rate of the requests from the ...
3
votes
3answers
3k views

Traffic Shaping using tc

I have a 1.5 Mbit/s link that i want to share with 150 users. My setup is the following: Linux box with 3 NICs eth0 - public ip eth1 - subnet A - 50 users (static ips) eth2 - subnet B - 100 users (...
11
votes
5answers
3k views

tc u32 — how to match L2 protocols in recent kernels?

I have a nice shaper, with hashed filtering, built at a linux bridge. In short, br0 connects external and internal physical interfaces, VLAN tagged packets are bridged "transparently" (I mean, no VLAN ...
7
votes
3answers
4k views

Simulating a slow connection with tc

I have a linux box (Centos 5.5) on which I want to limit the network traffic. I have an application that we distribute to clients and I want to test it on the minimum recommended bandwidth of 256Mbit/...
4
votes
2answers
525 views

Linux TC / Policy Routing tools

In addition to a really good firewall Linux has a builtin advanced routing and traffic shaping (lartc). There are many applications (firehol, firestarter, etc) to make the creation of iptables ...
4
votes
2answers
6k views

maximum number of connections Squid

I have a Squid proxy server that controls all internet traffic for my network. I need a way to stop users from downloading big files (say >50MB) in my network. I banned some famous ports (e.g. ...
5
votes
1answer
8k views

Using tc to delay packets to only a single IP address

I am new to using tc and netem. I want to delay packets being sent to a specific IP address. However, the commands below cause all packets on the system to be delayed, instead of just to the IP ...
3
votes
2answers
3k views

TC hashing filters - single rule deletion

For traffic shaping I'm currently using a setup that looks exactly like the setup from LARTC, on this page: http://lartc.org/howto/lartc.adv-filter.hashing.html I have a simple problem with that - ...
4
votes
2answers
3k views

Limiting bandwidth on internal interface on Linux gateway

I am responsible for a Linux-based (it runs Debian) branch office router that takes a single high-speed Internet connection (eth2) and turns it into about 20 internal networks, each with a seperate ...
1
vote
1answer
7k views

Limiting bandwidth dynamically in Squid

In fact my problem is with users who download large files from internet in my network. I have a Squid cache/proxy server in my network that is placed between my network and the Internet. I thought ...
1
vote
2answers
862 views

Port based bandwidth shaping

I have an interent connection with the speed of 4000k bits up and down. I want to do port based traffic shaping on a ubuntu machine, which acts as router. eth0 is the WAN interface. This is how I ...
4
votes
3answers
3k views

Are there simpler ways to do traffic shaping in linux besides tc?

I read lartc but I don't feel I need such a complicated solution for simple needs. One of such simple use cases is to limit a specific process' available bandwidth, upstream or downstream. How can I ...
2
votes
1answer
2k views

Difference between HTB Rate and Ceil Values

What is the difference between the HTB rate and Ceil values?
1
vote
0answers
593 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, ...