Questions tagged [bandwidth-control]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

Bandwidth Management for VPS w/ Single Interface

I have a VPS that is presented with only one network interface, ens3 (besides lo). I was thinking I could make a virtual network interface and use the token bucket filter queue discipline to limit ...
pkSML's user avatar
  • 199
0 votes
0 answers
278 views

How to realize a user-based bandwidth throttling in VPN or Proxy server

I created my own VPN or proxy server on a rented Ubuntu server. For example it may be an OpenVPN server with Pritunl or a Wireguard server with wg-easy or wg-install or firezone installation script. ...
Monerig's user avatar
  • 11
1 vote
0 answers
338 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. # ...
Abhishek Chapla's user avatar
2 votes
1 answer
4k 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 $...
Christian's user avatar
  • 141
1 vote
1 answer
160 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 ...
Michel Gokan Khan's user avatar
1 vote
0 answers
154 views

Reserve bandwidth for system (CentOs 7)

There are CentOs 7 server used like video file server. Users download video files from there. Download speed are limited. But 1 time per day server becomes unreachable and unpingable, Only reboot ...
BigBang's user avatar
  • 11
1 vote
0 answers
585 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, ...
mohsen's user avatar
  • 113
1 vote
0 answers
283 views

Linux traffic control did not reach expectation when using HTB and filter

I am doing an tc experiment between two servers. When no tc rules are added, the bandwith between the two servers is about 7Gbps tested with iperf3. Then I add a tc filter based on HTB for testing. ...
UnBeliEvaBle's user avatar
1 vote
2 answers
2k views

Can I limit data transfer within timeframe per IP address?

I'm hosting some relatively large files on my website, and it struck me that it would be trivial for someone to create a script that keeps downloading them over and over again, chewing through my data ...
spacer GIF's user avatar
58 votes
6 answers
14k views

Some ISPs don't charge for bandwidth used on Youtube/Netflix/Facebook. How do they monitor that? [closed]

In Poland, it is common for mobile ISPs to offer plans with limited amount of bandwidth per month, with exclusion of some popular apps. So for example all traffic from YouTube is not counted towards ...
Kuba Orlik's user avatar
0 votes
1 answer
1k views

How can I limit the bandwidth over an SSHFS mount?

I am transfering large media files to my local machine over an SSHFS mount. I am not too concerned about speed and want to provide a better QOS to other network services and so want to limit the ...
dippynark's user avatar
  • 242
1 vote
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 ...
nimdrak's user avatar
  • 139
0 votes
1 answer
383 views

Can I limit bandwidth for certain IP address, subnet or VLAN on Cisco 881?

I have a router with several workstations running on the switched ports. I need to limit their WAN bandwidth. I tried to use rate-limit on Vlan1, but it looks like it had no effect. What is the ...
Hivemaster's user avatar
-1 votes
1 answer
82 views

How can I limit bandwidth on a public network? [closed]

Our workplace has a public network where people often connect with their personal laptops. A sizeable number of users are torrenting which is killing bandwidth for the rest of the network's users. At ...
Calvin's user avatar
  • 1
2 votes
0 answers
470 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:...
Ajji's user avatar
  • 131
2 votes
1 answer
563 views

Total Bandwidth Usage tracking in VMWare

In VMWare vSphere, how can I set and track the monthly bandwidth usage of each guest? I need to reduce the network speed when bandwidth usage exceeds 90% or so. What are my options?
KTM's user avatar
  • 213
1 vote
2 answers
2k views

Limit bandwith of a wireless AP connected to Mikrotik routerboard (via another AP/router)

I have this topology: INTERNET | A Mikrotik RB951G-2HnD | B Wireless Router (can be set up as an AP/switch) | C Guest Wireless AP Is it possible to ...
myro's user avatar
  • 113
0 votes
1 answer
2k views

Linux traffic shaping for large bandwidth (more than 1Gig)

I am doing an experiment between three computers that are connected with 10Gig interfaces and have RTT of 100 microseconds. Let's say these are machines A, B, and C. Machine A is communicating with B ...
Sajjad Rizvi's user avatar
0 votes
1 answer
9k views

How to calculate Contention Ratio

I am managing network for a college which provides shared internet access to students and employees. I have been asked to find the contention ratio for the internet provided. Is it the ratio of users ...
jerrin francis's user avatar
0 votes
1 answer
2k views

Proxmox Virtual Machine Bandwidth monitoring

I have been trying to find some tool to allow me to monitor and get stats from virtual machine network usage. I have a proxmox host with several virtual machines, and I would like to have some sort ...
Miguel Mesquita Alfaiate's user avatar
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 ...
techiek7's user avatar
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 (...
JohnsonGoey's user avatar
2 votes
1 answer
946 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 ...
Lucap's user avatar
  • 21
1 vote
2 answers
12k views

Limit bandwidth on a Mikrotik router by port number?

I have this one Mikrotik router (RB951G-2HnD) that serves as a main router with port forwarding for HTTP/HTTPS and Plex to a server behind NAT. Now since there isn't much upload bandwidth (15Mbps), I'...
Manuth Chek's user avatar
1 vote
0 answers
247 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 ...
Andiana's user avatar
  • 121
-1 votes
1 answer
65 views

Downloading a file chokes the entire network, can't browse etc

(I had a look at this post here: Downloading a file brings network to a crawl But it doesn't provide any answers for my situation,) We have dedicated enterprise fibre lines with bandwidth at 2MB/s. ...
leo_cape's user avatar
  • 198
0 votes
2 answers
3k views

How does a router without QoS decide bandwidth distribution?

I've been searching for this and from what little I've found modern day routers try to balance internet bandwidth as fairly as possible. (I'm using a Asus AC66U myself) For example, if I have a 100 ...
Linus Lundgren's user avatar
1 vote
0 answers
151 views

how to monitor client bandwidth in saas app?

I am building a SaaS which allows customers there own space. They get a subdomain but they can also add their own custom domain by setting their CNAME to my server. The subdomains and custom domains ...
nhiik's user avatar
  • 11
0 votes
1 answer
577 views

zeroshell qos global bandwidth maximum vs guaranteed

When using Zeroshell QoS what is the difference between the maximum and guaranteed bandwidth when talking about the global bandwidth for the interface? I understand the difference for each of the ...
BeowulfNode42's user avatar
2 votes
2 answers
8k views

Wondershaper does not work

I am using wondershaper to limit download upload speed. What it does is, it limits download but then it blocks upload. I have an 1 gbit connection and I want to limit it's download speed to 500 mbps ...
Lolak's user avatar
  • 141
3 votes
1 answer
843 views

Baidu Spider causing 3Gb of traffic a day - but I do business in China

I'm in a difficult situation, the Baidu spider is hitting my site causing about 3Gb a day worth of bandwidth. At the same time I do business in China so don't want to just block it. Has anyone else ...
d.lanza38's user avatar
  • 357
1 vote
1 answer
112 views

How can I bring an interface down once the amount of data transferred reaches a predefined limit?

I'm using a Linux box as a router between two of its network interfaces to route local traffic to and from the internet. The internet connection in question has a defined data allowance, and exceeding ...
Nick Kennedy's user avatar
0 votes
1 answer
755 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 ...
Filippo's user avatar
  • 373
0 votes
1 answer
138 views

95/5 Network Billing - cap speeds once close to using up 5%

Is anyone aware of a good way to limit overages due to 95/5 burstable billing by capping a server's bandwidth once it gets close to having large peaks more than 5% of the time during the month? I'm ...
sa289's user avatar
  • 1,338
-1 votes
1 answer
2k views

How can I limit server bandwidth per IP

I would like to limit the download speed of my .mkv and my .mp4 files My page have got 1000-3000 visitor per day I would like to give 200KiB/s / per ip. Is there any easy installable apache module? ...
Ricardo's user avatar
  • 11
-1 votes
1 answer
8k views

ethtool error for limiting interface speed

i am limiting my bandwidth using ethtool and i used this command: sudo ethtool -s eth2 speed 500 But i got error message: Cannot advertise speed 500 i tried adding duplex half ...
yasmink's user avatar
  • 13
1 vote
0 answers
1k views

How to fix the amount of bandwidth of iperf in tcp mode?

I'm working on some experiments about my master's degree project. I'm studying some load-balancers (I'm not supposed to cite them here) and the aim is to get for each bandwidth the cpu % usage of a ...
user2567806's user avatar
0 votes
0 answers
245 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 ...
SomePoorTech's user avatar
0 votes
1 answer
84 views

Metering/monitoring wifi usage on multi-building campus

I am planning to design a multi-building wifi network for a facility with several thousand visitors (each visitor remaining on site for a month). I need to ensure no single user is hogging massive ...
TSG's user avatar
  • 1,852
0 votes
1 answer
2k views

Apache: Limit Traffic per domain or file

On my Ubuntu 14.04.2 LTS Server with Apache/2.4.7, I'm hosting a website. Soon, I plan to publish a large file for which I expect a high number of downloads. I want to restrict the percentage of ...
helm's user avatar
  • 103
0 votes
2 answers
358 views

Individuals able to hit our bandwidth cap... Only a recent phenomenon?

We have a 10Mbps (synchronous) connection with our ISP. Recently we have discovered that if a single user is watching Netflix, or if I run Windows Update on a PC, we will totally saturate that 10Mbps ...
NaOH's user avatar
  • 411
0 votes
1 answer
47 views

vnstats // stats showing large tx amount

I have installed vnstat 2 days ago; the site got something like 20k+ visits in this time frame. I can read a rx value of 2.16Gb but a tx value of 61.2Gb. Feels like something's going wrong. How ...
Ben's user avatar
  • 113
0 votes
2 answers
6k 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----------->...
Ahmad's user avatar
  • 23
-1 votes
1 answer
209 views

Prevent internet from being monopolized by one user

In our company, there is a training room which contains 15 computers. Our employees (or external individuals) can follow a training there using these computers. However, we want to prevent the ...
Sam Hendrickx's user avatar
1 vote
0 answers
86 views

Web server losing bandwidth for 6 hours a day

For the past week or so our CentOS server (that runs Apache and NGIX as a proxy) has been acting odd as its bandwidth output has been consistently dropping from around 10/11pm until 4am to around 1M (...
OWhysall's user avatar
-1 votes
2 answers
159 views

Huge Outgoing traffic on windwos azure [closed]

I have a vm on Windows Azure running centos6 as dev node, and have recently experiencing a huge increase in outgoing traffic. VM was stopped and after started by 1 day it shows 236.63 GB on outgoing ...
user1012345's user avatar
0 votes
1 answer
444 views

Symantec LiveUpdate Location Based Bandwidth Throttling

I have been lumped with our Symantec Endpoint responsibilities, and would like to look at fixing a long term issue we've been having of LiveUpdate smashing the links to our smaller sites. I've done a ...
The Woo's user avatar
  • 579
0 votes
0 answers
860 views

Brute force attack on my servers ports burning through bandwidth

Am having some form of brute force attack being done to my server and I have a screenshot of what's happening below. Remote Address 121.14.154.206 is somehow abusing all of my ports and burning ...
Maruf's user avatar
  • 159
0 votes
2 answers
1k views

Can I limit my autoSSH Tunneling Speed with trickle and ssh config file option?

When I use only ~$ autossh site1 it work perfectly, but whit trickle the pameter site1 is considered as DNS Name instead of conf block. User@VM:~$ sudo trickle -d 10 -u 10 -- autossh site1 [sudo] ...
Alban's user avatar
  • 297
-2 votes
3 answers
1k views

Leased Line bandwidth distribution among users [closed]

Say that i purchase a 4 Mb leased line (Radio wave), and also i have around 50-75 users using the connection. What will the speed will each user get ? Will the 4MB be divided among all 75 users or ...
Shaen Ator's user avatar