limiting the bandwidth

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Post Reply
srieva
Posts: 3
Joined: Mon Apr 15, 2019 5:24 am

limiting the bandwidth

Post by srieva »

total network band with is 20mbps
is it possible like following:
host [a perticular ip]
1.default speed 3mbps
2. if max total usage greated than 1gb throttle down to 1mbps
3. and this rule valid from 23 april to 22 may

Lantis
Moderator
Posts: 6920
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: limiting the bandwidth

Post by Lantis »

Yes, you need to use QOS to apply the 3mbps limit, and Quotas to apply the smaller limit.
You’ll need 3 classes in QoS
1. All traffic (no limits). This is your default class
2. Limited (max 3mbps). Rule is required to make all traffic from desired host go to this class.
3. Throttled (Max 1mbps)
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

srieva
Posts: 3
Joined: Mon Apr 15, 2019 5:24 am

Re: limiting the bandwidth

Post by srieva »

Thanks Lantis
and the last one ,can i validate the rule by date range or may the rule expire after 30 days is also ok.

Lantis
Moderator
Posts: 6920
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: limiting the bandwidth

Post by Lantis »

That depends.
If you want them to have 1GB for that entire period, yes no problem. Just make it a monthly quota that resets on the right day.

If you want them to have 1GB per day or week, you would need to set it up, and then delete or disable the quota when you want it to end. There aren’t any real “date range” functions.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

srieva
Posts: 3
Joined: Mon Apr 15, 2019 5:24 am

Re: limiting the bandwidth

Post by srieva »

Yes i can understand "that resets on the right day".
what i want is that expire(no more data) after a perticular day.

Lantis
Moderator
Posts: 6920
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: limiting the bandwidth

Post by Lantis »

No sorry no permanent quota like that.
A restriction rule would need to be added on the appropriate day.

An adventurous user might be able to setup the restriction, disable it, and then use a cronjob to enable it on the right day.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply