Tracking bandwidth usage by MAC address in Tomato RAF

Discussion in 'Tomato Firmware' started by emperorwu, Oct 31, 2009.

  1. emperorwu

    emperorwu Addicted to LI Member

    So, in the University, WAN usage counts against the 15 GB per month quota (download and upload summed together). Any usage above the quota is billed per MB usage.

    I need the router to log by MAC address the daily WAN usage defined from UTC midnight to the next UTC midnight, download and upload usage. The addresses that DO NOT count against the WAN usage are 128.253.*.*, 128.84.*.*, 132.236.*.*, and 140.251.*.* or the domain, whichever is better to implement.

    I need this in order to bill people accordingly when the 15 GB quota is exceeded.

    So, how do I do this? I am imagining some sort of table with MAC addresses with upload and download usage, with the date stamp next to it. (A way to assign a label to the MAC address to make identification easier would be nice) Also... there should be a way to delete old logs, I suppose.

    I use Tomato RAF 1.25.8515.2 ND on Linksys WRT54G v3
  2. TexasFlood

    TexasFlood Network Guru Member

    The IPTables Bandwidth Monitor should do at least some of what you want, maybe all, not sure. Take a look and see what you think. I'm using it now with a very basic configuration and tracking the usage of a subset of devices on my home network.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice