The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
6 views

How to add latency and bandwidth-limit interface using tc?

I know I can add latency to an interface using this command: # tc qdisc add dev eth0 root netem delay 50ms In addition to latency, I want to limit the bandwidth of this interface to 100kbps. How ...
3
votes
1answer
2k 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 ...
5
votes
6answers
7k views

Generate a limited amount of random network traffic between 2 hosts

I'm trying to find a utility that will allow me to generate a constant flow of random network traffic at a specified rate between 2 hosts. The utility needs to run on Windows and OSX. I've tried iperf ...
0
votes
0answers
3 views

Monitor network traffic by FireQOS class?

I'm using FireQOS (which is basically an abstraction on top of the Linux tc qdisc mechanism as well as iptables) to classify traffic into different bandwidth classes. I can watch the bandwidth per ...
1
vote
1answer
32 views

Linux: limit outgoing bandwidth based on destination /24 network

I am setting up a scanning system for a Pentest company. The box has loads of bandwidth and I'm concerned that testers could inadvertently DoS the clients. Capping the outgoing bandwidth to 10mbps ...
2
votes
1answer
3k views

Ingress filtering in Linux traffic control: Redirect traffic to IFB device

I have an openwrt router and I want to shape incoming traffic in order to classify all the traffic addressed to a certain IP address in my home network as low priority. For that purpose I want to ...
1
vote
0answers
84 views

HTB scheduler unexpected behaviour, low priority traffic starving high priority traffic

I am working on assuring low delay for UDP traffic at the home gateway level. At this home gateway I have two types of traffic, TCP and UDP, and I assure differentiated treatment by using HTB. The ...
1
vote
0answers
95 views

linux tc qdisc pie (aqm) configuration with limited bandwidth

I would like to configure AQM PIE by using tc-qdisc, but at the same time I would like to limit the bandwidth to 1Mb/s. I have used similar configuration with fq_codel, i.e. I have limited the ...
0
votes
1answer
73 views

iptables is marking packets with wrong number while copying file by scp

[Case1] When copying file from server (being on client) to client, packets are marked incorrect with 3 (root). [Case2] When copying file from server (being on server) to client, packets are marked ...
1
vote
1answer
23 views

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

QOS with iptables and tc with unstable WAN

I have a router/gateway under Linux, I want to add some QoS to reserve bandwidth for a specific flow. This can be done with iptables/netfilter and tc, but all examples start from the fact that you ...
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 ...
5
votes
1answer
913 views

pfsense 2.0 traffic priority - set full priority for single host

I have a network with several computers all on the same network and since I have very limited bandwidth I would like to prioritize traffic almost like a CPU scheduler prioritize processes. Example: ...
0
votes
0answers
402 views

Mikrotik Queue Tree Priority and PCQ

I know very basics of mikrotik and trying to learn advance bandwidth management. Requirements: Group-A Users - 10.10.0.1/24 Group-A Users Bandwidth Allowed = 64k Per User with following Priorities ...
1
vote
0answers
29 views

Traffic control

Good day! I am using Traffic control on ubuntu 14.04 for shaping bandwidth for rate 5Mbit/sec. After some time I would like to change the rate. As fas as I understand I can do that with "change" ...
0
votes
0answers
144 views

tc add delay by specific port

Am trying to simulate WAN latency between an application server and an Oracle database server. The database server itself runs several instances, one of which is my applications 'local' instance, ...
0
votes
2answers
85 views

youtube through google chrome can not be identified by ndpi-netfilter

I have ndpi-netfilter installed on ubuntu and i need to shape the youtube traffic to 100kbps using tc module. I cassify all youtube traffic to a one class through the iptables and apply tc class to ...
1
vote
1answer
40 views

tc filters not working with DRR

I am trying to control the outgoing traffic from two VMs with the DRR qdisc. This is the hierarchy I want to have: root | qdisc drr ...
0
votes
1answer
177 views

linux tc: unstable rate using tbf qdisc

This is the first time I am experimenting with tc. What I am trying to achieve is to limit the download rate that passes through a Virtual Machine that acts as gateway. The VM has two Ethernet ...
0
votes
0answers
48 views

Linux outbound traffic filtering with: cgroups + tc + iptables

I spent a lot of time trying to implement outbound traffic filtering with: cgroups + tc + iptables on Debian Jessie. Unfortunately there is still something wrong. The biggest issue is: - cgroups ...
1
vote
2answers
83 views

Percentual dynamic bandwidth control with tc

Does anyone know if tc (iproute2) can be used to percentually divide the currently available bandwidth? We're on a GPRS connection on which the available bandwidth changes frequently. What I want to ...
3
votes
1answer
636 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 ...
1
vote
1answer
321 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 ...
2
votes
2answers
272 views

Automatic TCP connection slowering (shaping)

I'd like to automatically shape bandwidth-hungry TCP connections corresponding to the already transmitted data. A summary would be : "The first Mbit is transferred at full bandwidth, then it ...
0
votes
1answer
212 views

How to set 1Mb speed per host in pfsense

Currently we are using pfsense latest version and I want to assign download speed upto 1Mbps per host and also setup squid proxy and working on bridgh mode in pfsense box.
0
votes
1answer
591 views

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

Is there a way to limit bandwidth per ip using HTB + a CIDR range in Linux?

I can create rules to limit a entire subnet or to limit individual ip addresses with tc and htb. I am looking to use CIDR ranges to keep things somewhat elegant. The machines in question are all ...
1
vote
1answer
103 views

QoS Traffic Shaping based on packet loss and latency for VPN

I am currently having the following situation: I am using a VPN (OpenVPN) over a rather unstable internet connection. This means the maximum bandwidth varies between 100kbs and 1mbit. Whenever the ...
0
votes
1answer
144 views

Dynamic bandwidth limitation with pfSense

Currently we have a squid proxy to access internet. A single download can saturate the lines and in this circumstance a second user experiences extremely poor performance trying to surf the web. I ...
0
votes
1answer
56 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
1answer
925 views

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

Limit input on a given port with tc filter and u32 match

I'm trying to rate-limit all incoming traffic on ports 8128-8191. I've read everything I found, checked everything ten times, it still doesn't work. The commands: tc qdisc del dev eth0 root tc ...
0
votes
2answers
1k views

Squid packet injection / replace

I have a server which will act as a proxy, using squid. My goal is to have something replace outgoing data. I tried ettercap, no luck whatsoever. The idea is, whatever-will-replace-data needs to run ...
8
votes
3answers
3k 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
0answers
24 views

esxi traffic Shaping

There's a good description of how traffic shaping works on a esxi Standard Switch here. In short, there are three settings: average bandwith peak bandwith burst size Traffic can be sent with peak ...
0
votes
0answers
54 views

TC - delete exact filter

Im't trying to automate traffic shaping on some system n one interface, using next script. This script adds classes and filters by one per class, width command like: tc filter add dev eth0 parent 1: ...
1
vote
0answers
192 views

Linux traffic shaping for multiple clients with tc [closed]

I need to divide bandwidth between several clients connected through IPSEC. I found this article: https://jve.linuxwall.info/blog/index.php?post/2010/10/16/How-can-I-do-traffic-shaping-in-Linux-by-...
0
votes
0answers
125 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
287 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 ...
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. ...
3
votes
2answers
6k views

Traffic shaping HTTP downloads with l7-filter

Given the following: A small, remote office has only a few users and a 1.5 Mbps DSL connection via a ZyXEL 660R. Users experience unacceptable latency and packet loss when even one large file is ...
4
votes
1answer
183 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 ...
2
votes
1answer
820 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 ...
1
vote
0answers
57 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 ...
3
votes
1answer
972 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 ...
2
votes
1answer
1k views

bridge traffic limiting via tc

I have a Linux machine running as a bridge simulating various network conditions. I use tc for this. Introducing delays or packet loss is quite simple but I got into trouble trying to configure ...
2
votes
1answer
351 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
45 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
2k 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: -----------cisco-3725-router----------->...
0
votes
2answers
334 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 ...