Skip to main content

Questions tagged [traffic-shaping]

The tag has no usage guidance.

0 votes
0 answers
48 views

Transfer speed between distant computers A and B differs wildly from speed tests

For almost 15 years I've suffered the following problem (sometimes chronically and sometimes only rarely), across multiple machines, router hardware, and ISPs at both ends of the connection: My home ...
dg99's user avatar
  • 710
0 votes
0 answers
17 views

How can I delete just one queue in htb?

I would like to delete just one queue in htb when having two. My script would be the following one: TC=/sbin/tc IF=wlan0 # Interface DNLD=1mbit # DOWNLOAD Limit UPLD=1mbit ...
Nfernandez's user avatar
0 votes
0 answers
682 views

How to set speed limit per IP in IP range in Ubuntu

What I want: I've setup a openvpn-server and want the clients in range of 10.8.0.0/21 limit their speed to 10mbit for each IP as a total limit of 100mbit. wan interface : eth0 openvpn interface : ...
Root's user avatar
  • 65
1 vote
1 answer
633 views

Packet filtering with the u32 selector does not work

I'm trying to figure out whether the QoS solution I integrated into my RaspberryPI works or not. I found out that port-based traffic classification doesn't work, so I tried to check the filters used ...
Olexandr Kulinich's user avatar
1 vote
0 answers
28 views

Newby q: what is the backbone of a script to limit incoming and outgoing network speed, using TC? [closed]

I am new to TC / tc (traffic control), but I need to limit the speed of incoming/outgoing network traffic for a docker container. I read a lot, but still I have a lot of confusion on what is needed. ...
gai-jin's user avatar
  • 113
0 votes
1 answer
322 views

Setting a delay between Firecracker microVM tap devices on the same host

I have set up two microVMs using Firecracker on my Ubuntu 18.04 LTS host and have attached a tun/tap device for each of them. Now I'm trying to set a delay between the two VMs (say 100ms) using tc so ...
Tobias Pfandzelter's user avatar
1 vote
0 answers
561 views

The bucket size in TC-HTB

I study the behavior of tc-HTB. I did a tc setting like the below. After reading The bucket in tbf, I expect its burst size will be rate / HZ. sudo /sbin/tc qdisc del dev s1-eth1 root sudo /sbin/tc ...
nimdrak's user avatar
  • 133
0 votes
0 answers
77 views

How can I prioritize packets coming different source one over another?

I am trying to prioritize a stream of packets over other packets coming into the router. I am running twitch and some other background process (iperf, other youtube live etc.) and I want to prioritize ...
taurenfranklin's user avatar
2 votes
0 answers
333 views

tc filter parameter mtu significantly affects iperf bandwidth

I'm testing tc (traffic control) on a bond interface. When setting the ingress filter to ratelimit 1Gbps with burst 100m and default mtu (2k), I actually get only less than 100Mbps bandwidth. tc ...
dastan's user avatar
  • 705
2 votes
0 answers
1k views

traffic control in linux namespace results in very low bandwidth

I'm expecting to limit ingress traffic of veth0 in namespace ns0. What I do is issuing the following commands: # create netns ip netns add ns0 # create veth pair ip link add dev veth0 type veth ...
dastan's user avatar
  • 705
1 vote
1 answer
470 views

How to limit download rate per user from a Linux access point?

I have a Linux based WiFi access point connected to the internet. How can I limit the download speed for each user to 200 kbps? This is a simple question and I could find many "false duplicates" in ...
hdante's user avatar
  • 147
1 vote
0 answers
406 views

traffic shaping with TC(CLASSFUL QDISCS,like prio,HTB,CBQ)not working after upgrade ubuntu from 14.04 to 16.04

all.I have a problem. I used tc with HTB to do traffic shaping on 14.04.like tc qdisc add dev docker0 root handle 1: htb default 1024 This was work well on ubuntu 14.04 with docker 1.11. But after I ...
user705655's user avatar
2 votes
1 answer
772 views

How to slow down traffic with tc?

I'm on Ubuntu 14.04; I'd like to learn the basics of traffic shaping, I made a simple script that should slow down my HTTP(S) traffic to ports 80 and 443. # usage: sudo ./filename.sh #delete ...
elmazzun's user avatar
  • 227
0 votes
1 answer
723 views

Is traffic shaping for speed tests a legitimate approach?

VW recently got into a lot of trouble for designing a car that performed differently when being tested compared to when it was actually out on the road. This seems a bit analogous to ISPs providing ...
WBT's user avatar
  • 1,882
1 vote
1 answer
3k views

Limit access to specific websites by time and usage

Apologies if this is answered elsewhere, I can't find it. Pointers appreciated if so. I want to set up my home network so that access to some sites (e.g. YouTube, Facebook) is restricted: By device, ...
sfinnie's user avatar
  • 111

15 30 50 per page