We interface tag using iptables / ulogd / uacctd (pmacct), then use a tag map to assign a simple numeric code for each provider and direction. (E.g APE in/out, vocus in/out etc). Works and scales well for CPU time / database lookups. Hit me up off list if you want some examples. We also built our own destination / source billing engine on top of this so we can bill per destination / source gb, per customer ip/net block. (Also pretty graphs). Cheers -- Liam Farr +64-22-6107884 +64-27-5222624 Sent from my iPhone
On 8/10/2013, at 7:16 am, Shane Hanson
wrote: Hello All
I’m sure this question has been asked a number of times before but a quick search through the list and a Google pretty much draws a blank.
I’m working for a service provider (Mothership) and we’re trying to differentiate between national and international traffic. Any pointers?
Thanks
SHANE
lE shane(a)mothership.co.nz lW mothership.co.nz lA PO Box 99814, Newmarket lM +64 21 623 903
_______________________________________________ NZNOG mailing list NZNOG(a)list.waikato.ac.nz http://list.waikato.ac.nz/mailman/listinfo/nznog