Page 1 of 1
limiting the bandwidth
Posted: Mon Apr 15, 2019 9:12 am
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
Re: limiting the bandwidth
Posted: Mon Apr 15, 2019 9:47 am
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)
Re: limiting the bandwidth
Posted: Mon Apr 15, 2019 10:08 am
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.
Re: limiting the bandwidth
Posted: Mon Apr 15, 2019 10:49 am
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.
Re: limiting the bandwidth
Posted: Mon Apr 15, 2019 11:13 am
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.
Re: limiting the bandwidth
Posted: Mon Apr 15, 2019 4:53 pm
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.