The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
15 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
11 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 ...
1
vote
0answers
46 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 ...
4
votes
1answer
45 views

What are the characteristics of the Meraki SpeedBurst traffic shaping algorithm?

I've been using Cisco Meraki wireless access points to provide guest and BYOD access at some of my customer sites. One of the interesting bandwidth management features is the SpeedBurst traffic ...
1
vote
0answers
19 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 ...
2
votes
1answer
169 views

Limiting bandwidth on Ubuntu Linux

I am in the situation where I have to simulate a P2P-environment (for my masters thesis in computer science). To do that I am using Docker with Ubuntu to create a bunch of virtual machines that is ...
0
votes
1answer
23 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
0answers
17 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 ...
2
votes
1answer
70 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 ...
1
vote
0answers
30 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 ...
0
votes
2answers
86 views

Why does a traceroute from one location to another and vice versa show different paths?

I have recently be plagued by low download speeds from my server and was curious, so I ran a traceroute. (I have removed the end IP and the start IP). I achieve a download speed of 220Kb/s when I am ...
0
votes
1answer
58 views

Traffic shaping for upload/download speed simulation [duplicate]

I'm building a network emulator to help realize different speeds. Basically, this system would shape a given user's network metrics (such as upload speed/download speeds/packet loss/jitter etc) based ...
0
votes
0answers
80 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
52 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 ...
-3
votes
1answer
109 views

Understanding a shell script [closed]

there i am trying to understand the purpose of this shell script. If anyone can help out i would appreciate it. Thanks! This is located in android system at system/etc/throttle.sh #!/system/bin/sh # ...
3
votes
1answer
172 views

Ubuntu 14.04 - tc not working

I have used tc before on another servers to restrict the total bandwidth available on port 80, in order to make sure that there is enough throughput for port 22 during peak hours of the day. I need ...
0
votes
0answers
78 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
2answers
850 views

Limit bandwidth in cisco router with policy-map doesn't work

I have a problem with my scenario in limiting bandwidth of ubuntu PC in GNS3 with class-map and policy-map. this is my topology in GNS3: ...
0
votes
1answer
116 views

Windows 2003 R2 traffic shaping & QOS

In our small office a LAN is connected to a modem router that will VDSL to the Internet. As a Windows 2003 R2 server exists in the LAN, I was wondering if is there a way to use this server as a ...
1
vote
1answer
374 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 ...
0
votes
0answers
115 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 ...
2
votes
1answer
740 views

Traffic shaping outbound clients source ip with tc / iptables

My question is I am trying to limit a users bandwidth on a server and wondering the best way to do this. Before I dive to far into the tc/iptables I was wondering if I could get any advice on this ...
0
votes
0answers
34 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
232 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 ...
1
vote
0answers
369 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
votes
1answer
91 views

tc-qfq is classless error

I'm using Linux 3.0.101 with iproute2-3.4.0 on a router and I'm getting this error: tc qdisc add dev eth2.2 root handle 1: qfq --> OK tc class add dev eth2.2 parent 1: classid 1:10 qfq weight 1 ...
0
votes
2answers
334 views

Is ibdump in Mellanox OFED 2 supported in Ubuntu 14.04?

I have Ubuntu 14.04. I have Mellanox Technologies MT27500 Family [ConnectX-3] HCAs. I was able to pass all the tests like ibping and ib_rdma_lat. Now I'm running MPI tests to verify that InfiniBand is ...
0
votes
0answers
245 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
38 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 ...
1
vote
1answer
4k views

Debian7 and tc qdisc issue : RTNETLINK answers: No such file or directory

I've been searching for few days now but couldn't find the solution to my problem. I have a VPS running Debian 7, and I have root access. I am trying to add some traffic shaping (using HTB), so the ...
1
vote
2answers
116 views

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 +-------+ +---+--------+--+ | | | ...
1
vote
0answers
41 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 ...
3
votes
1answer
292 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 ...
1
vote
0answers
66 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
90 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 ...
0
votes
1answer
376 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 ...
2
votes
1answer
1k views

Implementing HTB, NetEM, and TBF traffic control simultaneously

I am working on a bash utility that will use several aspects of the tc Linux command line utility to emulate various network conditions. I have successfully constructed several qdisc hierarchies, one ...
3
votes
1answer
238 views

Bandwidth Throttling using tc qdiscs

I am trying to limit the bandwidth between a simple iperf server and client, using a third, passive machine acting as a bridge. With no interference, iperf returns a bandwidth of ~90 Mbits/sec. My ...
0
votes
1answer
386 views

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 ...
0
votes
1answer
334 views

Traffic shaping bandwidth and latency based on IP

I am aware of how to shape latency and bandwidth separately. For bandwidth, I can do wondershaper etho0 100 100 for latency I can run tc qdisc add dev eth0 root netem delay 200ms However, I need ...
2
votes
3answers
2k views

Incoming (ingress) traffic shaping on Linux - bw is lower than expected

I want to limit incoming (download) speed for Linux box. Both, the box, which is configured, and trafic source (HTTP server) are connected to the same switch, if shaping is not configured, download ...
2
votes
1answer
6k views

How can I limit the upload/download bandwidth on my CentOS server?

How can I limit the upload and download bandwidth on my CentOS server? This is a box with a single interface, eth0. Ideally, I would like a command-line solution (I've been trying to use tc), ...
0
votes
2answers
203 views

Redirect request from HAProxy if all the instances are down

I have a situation where I have 2 HAProxy load balancers, say LAP1 and LAP2. And I have two servers, say S1 and S2 behind LAP1 and s3, s4 behind LAP2. My question is that if S1, S2 goes down, all the ...
1
vote
0answers
561 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 ...
3
votes
1answer
652 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 ...
-5
votes
1answer
76 views

Network traffic shaping, understanding if a video is being watched from Facebook [closed]

I am tring to determine which web sites are being used, how frequently they are being used, how much data transfer occurs etc.., in my company network . Now my problem when someone is watching a ...
0
votes
1answer
366 views

throttling traffic with tc, but bandwidth is wrong

I am using these commands to set up bandwidth throttling: tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1: cbq avpkt 1000 bandwidth 100Mbit tc class add dev eth1 parent 1: classid 1:1 ...
1
vote
0answers
348 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
1answer
1k views

PRIO qdisc example not working

I have a TP-Link WR1043-ND with OpenWrt 12.09 (r36088, Linux 3.3.8). There is a bridge called br-lan joining eth0.1 (tagged VLAN for the 4 LAN ports) and wlan0 (Wi-Fi). There is also the WAN port at ...
0
votes
0answers
104 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 ...