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
2 answers

RTNETLINK answers: File exists when using netem with tc

So I simply get this error when I enter this command in my master VM: sudo tc qdisc add dev eth0 root netem delay 97ms RTNETLINK answers: File exists Any idea how that could be fixed? I am running this command in Ubuntu: uname -a Linux…
Mona Jalal
  • 423
  • 1
  • 5
  • 13
1
vote
1 answer

traffic shaping using ifb redirect

I would like to use ifb to perform some shaping for multiple virtual interfaces. However, I am not sure how to tell the ifb interface to egress to a dedicated egress interface Right now vnet0 -> mirrer action mirror -> ifb0 I would like to to…
user2066671
  • 115
  • 2
  • 10
1
vote
1 answer

traffic shaping on OSX 10.10 with pfctl and dnctl

I am trying to do traffic shaping (throttling) on Mac OS X 10.10 via pfctl and dnctl. I have implemented a simple test server and client with netcat (nc) and a synthetic random payload file to verify if my dummynet pipe throttling is working…
Peter Lyons
  • 283
  • 3
  • 12
1
vote
2 answers

FreeBSD Traffic Shaping

I'm trying to do traffic shaping with FreeBSD, here are my rules su-3.2# ipfw show | grep pipe 08380 1514852 125523804 pipe 1 tcp from any to any dst-port 80 su-3.2# ipfw pipe 1 show 00001: 2.000 Mbit/s 0 ms 50 sl. 1 queues (1 buckets)…
alexus
  • 12,342
  • 27
  • 115
  • 173
1
vote
1 answer

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 I've followed Julien Vehent's tutorial and could…
Neel
  • 111
  • 2
  • 5
1
vote
0 answers

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 bandwidth for a specific IP in ipalias? Or for a…
Algorithman
  • 111
  • 2
1
vote
0 answers

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 a part of my configuration : $tc qdisc add dev $DEV…
samie
  • 47
  • 8
1
vote
0 answers

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.
JimmySys
  • 46
  • 2
1
vote
2 answers

simple setting for traffic shaping

I have: 2 linux boxes (A, B) 1 switch (S) 1 gateway (G) [I have no control over this one] +---------------+ | switch S +-------+ +---+--------+--+ | | | +--+-+ | | | gw | +--+-+ …
Ricky Robinson
  • 205
  • 1
  • 4
  • 18
1
vote
0 answers

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 ingress traffic is being redirected to/via ifb to be…
Rooster
  • 485
  • 2
  • 7
  • 21
1
vote
0 answers

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 downloadspeed. I feel that my setup could be managed…
Arka
  • 173
  • 1
  • 2
  • 8
1
vote
1 answer

How to slow down and share incoming network traffic using TC (traffic shaping)

I am trying to slow down incoming packets for a specific program, while a second one will have full access to the unused bandwidth. In other words, I want to control the network bandwidth sharing in order to prioritize one app over another one. Here…
1
vote
3 answers

Data rate mismatch packet loss

My Company uses a wide Ethernet service to our data center and have determined there is packet loss occuring from our office to servers located in the data center. We've been able to determine that there is no packet loss inside either side of the…
Ross
  • 71
  • 1
  • 6
1
vote
5 answers

How should I set up a gateway to restrict internet traffic in a college dorm?

OK, like all college IT departments, we've been battling P2P abuse and trying to figure out how to effectively mitigate it's impact on our network infrastructure.... And then we find out TODAY that we're leasing space in two of OUR dormitories to…
Bill B
  • 399
  • 5
  • 12
1
vote
0 answers

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 RAM/1 Gbit network care FileZilla FTP Server Both…