Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
59 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
50 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
90 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
72 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
27 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
1k 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
71 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
26 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
92 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
46 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 ...
0
votes
0answers
167 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 ...
1
vote
0answers
51 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
230 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
634 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
106 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
216 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
0answers
160 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
34 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
1answer
152 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 ...
1
vote
3answers
479 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 ...
1
vote
1answer
3k 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
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
2answers
141 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
358 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
0answers
443 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
74 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
235 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 ...
0
votes
0answers
216 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
848 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
98 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 ...
0
votes
6answers
135 views

I've been asked to document every port used by every application on every server. Is there a good tool for this?

Basically I need to say Server1, with ipaddress 1.2.3.4 has Application1 on it, and that network traffic uses ports 100, 101, and 103 Since many of these servers were built and setup before I ...
1
vote
1answer
207 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
218 views

Simulate slow network connection to MySQl server

I tried fiddler and wireshark to simulate slow network connections. I could slow down the network with fiddler but it is for Http and https protocols. With wireshark I was able to capture TCP & ...
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 ...
0
votes
1answer
165 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 ...
3
votes
2answers
598 views

Determine what machine/device is consuming bandwidth

I sometimes help a small office with a few issues. About two months ago, they were complaining of poor internet performance. Long story short, I found one person running Carbonite on a Mac that was ...
1
vote
1answer
549 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 ...
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 ...
1
vote
0answers
311 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 ...
3
votes
2answers
2k 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 ...
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% ...
0
votes
1answer
397 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 ...
2
votes
2answers
665 views

Bridge NICs with automatic pass-through

I am looking at using a computer with a dual-NIC card (one with two NIC ports) as an in-line traffic shaper / URL filter / traffic analyzer, etc. (probably using pfSense), but I am concerned that if ...
0
votes
1answer
348 views

enabling MPLS,RSVP and OSPF-TE

I am using Juniper J-series routers to emulate a small telco and VPN customer.I need to use OSPF so that the routing information can be propagated to all P and PE nodes (basically all core and edge ...
0
votes
1answer
266 views

tc don't see marked packets

Server has 2 interfaces: eth1 with address 13.0.0.254/24 eth0 with address 172.20.203.4/24. It's routing traffic between this two networks. Task is to limit bandwidth between this two networks to ...
2
votes
0answers
157 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?
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
votes
1answer
102 views

I have a WinXP machine with 2 ethernet ports. One is connected to a LAN, another is connected to a WAN. How do I make this work? [closed]

I have a WinXP machine which has 2 ethernet ports. The information I've found indicates that the first nic in the advanced settings list is the one that receives all traffic. I'd like to configure ...
1
vote
2answers
2k views

Is Traffic Control (tc) broken in Fedora 17?

After upgrading from Fedora 16 to Fedora 17, Traffic Control no longer seems to work. Running # tc qdisc show will output: qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priopmap 1 2 2 2 1 2 0 ...