Questions tagged [traffic-shaping]

Traffic shaping is a technique to delay some or all datagrams to comply with desired traffic profile.

Traffic shaping is a network traffic management technique which delay some or all datagrams to bring them into compliance with a desired traffic profile. Traffic shaping is used to optimize or guarantee performance, improve latency, and/or increase usable bandwidth for some kinds of packets by delaying other kinds.

232 questions
1
vote
1 answer

General Network Infrastructure

I have a number of servers that I rent out to people and have started growing to a point where I need better management. Specifically I am interested in being able to police bandwidth and block port 25 outgoing totally. All I have right now in my…
Al Katawazi
  • 233
  • 3
  • 11
1
vote
2 answers

tc simple rate limiting

I would like to do a simple rate limiting so all the http traffic (in & out) going to or from my http server is shaped. I have a GigE connexion on the server and I want to rate limit all HTTP traffic to 50mbps for instance (this service will be used…
user57921
1
vote
1 answer

traffic shaping

I have a rather complicated set up. So ill try best to explain what i have before i ask the question. I am sitting at my desktop, ssh'ed to a server(10.10.10.XX). Which has xen guest(10.10.20.XX) installed.. I have on the server installed…
1
vote
1 answer

Traffic control: marking packets for shaping

I'm seeking advice about which technology to use to classify packets for shaping in traffic control (tc). I've found at least 3 that could be used: iptables MARK iptables CLASSIFY tc filter Which one should I use? Is there one that is better than…
facha
  • 1,298
  • 2
  • 16
  • 26
1
vote
2 answers

higher traffic priority for FPS game in Linux

Goal: when running a FPS game in Linux, automate the setup of higher priority for its network traffic I know such tasks are usually accomplished with a combination of iptables (to mark IP packets meeting certain criteria) and tc (to prioritize those…
halp
  • 2,098
  • 1
  • 19
  • 13
1
vote
2 answers

How much traffic a linux-based shaper would be able to chew

I have a linux based traffic shaper (iptables + tc htb policy). It works in bridge mode. Shapes traffic based on IPs and ports (there are about 100 rules in the "mangle" chain of iptables). Right now its throughoutput is about 100 mb/s (I don't…
facha
  • 1,298
  • 2
  • 16
  • 26
1
vote
0 answers

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 on my router. Despite its purported QoS skills,…
intuited
  • 405
  • 1
  • 5
  • 12
1
vote
9 answers

Need solutions in sharing a 3Mb/768Kbps DSL line to 60+ users and faster bandwidth

Two parts. Part 1: We currently have 2 DSL Lines with 3Mb/768Kbps speeds load balanced for 60+ users. Accessing the Internet is borderline unusable. The simple solution would be to get a faster DSL Line but the highest DSL package is 6Mb/768Kbps,…
elistp
  • 79
  • 5
1
vote
0 answers

shape voice linux traffic using tc

How to set up a traffic control policy so voice traffic has maximum bandwidth of an specific interface? I tried tc qdisc add dev $WIFI handle 1: root tbf rate 10mbit burst 32kbit latency 10ms but how to determine that this bandwidth will adjusted…
1
vote
0 answers

Dynamic bandwidth in Tc (Bandwidth Changes over time)

Basically I wanted to change the bandwidth after every 10 seconds using tc. So how to do that thing in tc. This is my script. !/bin/bash # # tc uses the following units when passed as a parameter. # kbps: Kilobytes per second # mbps: Megabytes…
1
vote
1 answer

traffic control (tc) filter not working

i am using Debian and am trying to limit the upload-bandwidth on an ip basis. The configuration is the following: #!/bin/bash tc=/sbin/tc $tc qdisc del dev eth0 root 2> /dev/null > /dev/null $tc qdisc del dev eth0 ingress 2> /dev/null >…
1
vote
1 answer

Does tc guarantee network bandwidth for a process or run as best effort?

I have a tc rule as follows: qdisc tbf 1: dev bwp93ce2ea9d929 root refcnt 2 rate 100Mbit burst 100Kb lat 25.0ms Is this rule guarantee network bandwidth to be 100Mbps or it'll throttle if not enough network bandwidth is available at the moment? If…
1
vote
1 answer

Reduce the network traffic priority in Linux

I want to reduce the priority of specific network traffic using tc in particular tc-u32 in my Linux server. In other words all other traffic must have higher priority than traffic with specified IP-proto. I'm trying to apply this tc filter rule to…
red0ct
  • 374
  • 2
  • 10
1
vote
1 answer

Linux traffic control u32 hashtable filters based on MAC address

I am currently working with a traffic shaping Linux node. The rule set has grown to about 2500 hosts, all identified specifically by MAC address. The filter configuration is "basic", meaning that on average, 1250 rules must be tested before a packet…
1
vote
0 answers

How is traffic shaping handled for WAN links with unknown bandwidth?

We have a customer on a site with an LTE cell link as their WAN connection. The cell provider sells the link as 25Mbps down by 10Mbps up. The customer needs traffic shaping on site, where some of their LAN devices have high priority, some medium…
Tal
  • 295
  • 1
  • 4
  • 11