Community discussions

MikroTik App
 
qbtadmin
just joined
Topic Author
Posts: 7
Joined: Tue Oct 20, 2015 1:06 pm

Data limit on LAN interfaces

Tue Dec 08, 2015 7:42 am

Trying to work out how to do this:

We have an ADSL 2+ connection into Ether 1 with a 1TB data limit
We want to split this 1TB data limit across 4 LAN's with the following limits:
eg: Ether 2 - 300MB, Ether 3 - 300MB, Ether 4 - 300MB, Ether 5 - 100MB

These data limits are monthly and will reset at the end of each month

Can someone please point me in the right direction to setup this.
 
noib
Member Candidate
Member Candidate
Posts: 291
Joined: Fri Jan 25, 2013 6:04 pm
Location: France
Contact:

Re: Data limit on LAN interfaces

Tue Dec 08, 2015 10:52 am

What would happen if an ethernet interface reaches the limit ? You want to stop connection or lower the bandwidth or ... ?
Are all clients on the same subnet, or in 4 differents subnets?
 
kzla
newbie
Posts: 36
Joined: Mon Nov 26, 2012 11:39 am

Re: Data limit on LAN interfaces

Sat Dec 12, 2015 8:59 am

Simply make a hotspot on the desired interfaces.

Assign them usernames and password with desired value of total bytes out :D

They would eventually disconnect after crossing the data limit.

also at the month end just hit Reset All Counters in Hotspot menu and you're good to go for another month.
 
qbtadmin
just joined
Topic Author
Posts: 7
Joined: Tue Oct 20, 2015 1:06 pm

Re: Data limit on LAN interfaces

Mon Dec 21, 2015 7:00 am

Thanks for the responses. is there s way to automatically reset the counters? this isn't something we will be managing proactively for the client so if it can be set to reset after 30 days that would be great.
 
troffasky
Member
Member
Posts: 436
Joined: Wed Mar 26, 2014 4:37 pm

Re: Data limit on LAN interfaces

Mon Dec 21, 2015 10:11 pm

this isn't something we will be managing proactively for the client
You wish!
If you can do it from the CLI, you can script it. If you can script it, you can schedule it. If you can schedule it, the router can do it itself.