All Questions
Tagged with tc bandwidth-control
18
questions
1
vote
0
answers
294
views
Dynamic bandwidth in Tc (Bandwidth Changes over time)
Basically I wanted to change the bandwidth after every 10 seconds using tc. So how to do that thing in tc.
This is my script.
!/bin/bash
#
# tc uses the following units when passed as a parameter.
# ...
2
votes
1
answer
3k
views
traffic control (tc) filter not working
i am using Debian and am trying to limit the upload-bandwidth on an ip basis.
The configuration is the following:
#!/bin/bash
tc=/sbin/tc
$tc qdisc del dev eth0 root 2> /dev/null > /dev/null
$...
1
vote
1
answer
127
views
Does tc guarantee network bandwidth for a process or run as best effort?
I have a tc rule as follows:
qdisc tbf 1: dev bwp93ce2ea9d929 root refcnt 2 rate 100Mbit burst 100Kb lat 25.0ms
Is this rule guarantee network bandwidth to be 100Mbps or it'll throttle if not enough ...
1
vote
0
answers
536
views
limit bandwidth per IP Linux ubuntu openVPN
I am a newmember in config ubuntu server and I installed an OpenVPN on a ubuntu 18.04 linux server, now I want to limit the server bandwidth with 2Mbit per IP for users that connect to the OpenVPN, ...
0
votes
1
answer
3k
views
Link bandwidth limiting by using tc
I am a newbie network engineer.
I am trying to understand the Linux command tc.
I made a simple network, consisting of two hosts H1, H2 and a switch S1 connecting them by using Mininet.
Then, I ...
2
votes
0
answers
457
views
Bandwidth control with TC for clients yet to be connected
I have applied bandwidth control using TC and iptables using this tutorial on my Strongswan VPN server.
The bandwidth control works fine ONLY if that specific client is already connected.
For example:...
3
votes
0
answers
2k
views
How to configure per IP bandwidth control using TC?
Requirements:
There is an arbitrary number of users per group. Bandwidth for any particular group is 1000kbps. Bandwidth for each user in a group is 70 kbps. At any time no user should not consume ...
1
vote
1
answer
2k
views
rate limiting traffic for internal ip (TC)
I have configured ikev2 VPN on my server, but there is no tunnel interfaces like openvpn (tun0).
So actually, I can't limit the ikev2 vpn speed using tc tool.
Example for traffic shapping of openvpn (...
2
votes
1
answer
903
views
Minimum bandwidth limit on Linux systems
I need to limit the minimum bandwith from an IP to specific services/ports, by dropping all the packets that will not satisfy that minimum rate.
I saw the attribute rate in the HTB class of the Linux ...
1
vote
0
answers
237
views
Create IFB with name or ID in Ubuntu server
I am doing some work relate to limit income bandwidth (ingress) of a NIC in Ubuntu 16.04. Seem like we cannot limit the income bandwidth directly but have to use IFB. In this
this post we have a good ...
0
votes
0
answers
244
views
Bandwidth Policing on Linux gateway - not QoS
I have a linux server providing NAT to a large subnet (/16) using iptables to-destination + multiple external ip's to survive port exhaustion.
I've looked at using tc / htb such as here Limiting ...
2
votes
0
answers
585
views
HTB equal bandwith sharing per ip in one class
In my tc configuration (shown below) in one class all bandwidth is shared among connections equally, but I want to share bandwidth among all IP addresses equally.
Now:
192.168.0.2 - 38KB/s
192.168.0....
0
votes
1
answer
1k
views
Why This TC Script Not Working
Our application has three classes of traffic, and every type of traffic involves three ports. We want to limit the traffic by port number via TC, so I made a simple TC script to have the test, however ...
0
votes
1
answer
264
views
How can we set variable throttle bandwidth values using tc?
I'm building a network application and need to test its behavior under various bandwidths.
This question is an offshoot of this question. I was successfully able to test my application for different ...
4
votes
2
answers
7k
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 ...
5
votes
2
answers
4k
views
lxc bandwidth control using tc
I am trying to restrict bandwidth inside my containers.
I have tried using the following commands , But I think it is not getting effective.
cd /sys/fs/cgroup/net_cls/
echo 0x1001 > A/net_cls....
1
vote
1
answer
3k
views
Limit bandwidth using tc, iptables, and htb
I'm running a Debian server and was wondering if there are good resources out there, to which you can point me, where I can read about traffic limitations.
I have a couple of users sharing one server....
4
votes
2
answers
2k
views
HTB.init / tc behind NAT
I have an Ubuntu 10 box that I'm trying to set up as a bandwidth-shaping router.
The machine has one WAN interface, eth0 and two LAN interfaces, eth1 and eth2. NAT is configured using MASQUERADE as ...