0

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 amounts of bandwidth. If so, I need to be able to isolate/identify the devices (and contact the user). As well (or alternatively) I would like to throttle this user's bandwidth.

Is there an easy way to accomplish this? I have a central DHCP server in case that helps, and the buildings are divided into subnets. I have Microtik routers between subnets (but I can change those out)

1 Answer 1

-1

General steps: I am not familiar with that specific router so I listed general objectives.

Is there any central logging in place now at the gateway IP that you can leverage? Is the system logging to a SQL database?

Is there a central authentication server, radius server? If yes, does it return a unique id or you may want to use the login id.

You have to dump the data to a central database containing ethernet mac address also include bytes in and bytes out. [userid, customerid from authentication server/method]

Once you have a database in place you perform aggregate queries sorted by bytes and mac address.

You can create your own rules on bytes in vs bytes out or just create a cumulative total of both.

Do you want the restrictions on the user or the specific device or both?

Once you have your targets you can script actions against the network using QOS, diff-serv and tag the users packets.

Setup general rules: max bandwidth per connection allocation Network must be capable of QOS, Diffserv & WMM [would be nice]

Routers, switches should have QOS, diffserv capabilities. Check the switches to see what impact changing the QOS, diffserv tagging has on the different switches, routers etc. This may impact your frequency and method of updating. The whole reason for implementation is to keep a network running smoothly. You want to make sure this type of network management does not have an adverse effect on the network.

How often do you want to update and enforce?

Do you want to enforce at next login or in real time /semi-realtime? At login check SQL flags: read bytes flag or rules flags.

Do you want to warn the user of the rules? if yes, create warning at threshold percentage of usage [however you decide to factor usage]

Create triggers for queries

Script results to network devices using SNMPv3 or alternative method.

I have done a few of these for different reasons over the years. In one case we put a box in the middle to offload the extra workload caused by the overall process. The computer acted as a filter. We also added dead gateway detection method in front of the filtering computer. If it was down the traffic would flow directly to the gateway bypassing the filtering system. As stated earlier, the general goal of these projects is to provide reliability and stability to all users overall.

2
  • There's a lot of generic info/terms above but I don't see the HOW. Are you saying the gateway should constantly be logging to a SQL database? How? What app is doing that logging? I don't want to manually script for each event/violation - I'm looking for an automated way where possible
    – TSG
    May 26, 2015 at 12:57
  • I am not aware of your specific assets what you may or may not have. The intent is to leverage out of the box automation as much as possible. You can get the logs into SQL a few different ways either Syslog or SNMP. There are network management applications that save your logs into SQL from various vendors: HP, Solarwinds, Microsoft. You can get you all the event logging in one place for from your routers, switches, servers, workstations, etc for analysis.
    – Tom Clancy
    May 26, 2015 at 18:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .