Community discussions

MikroTik App
 
farazhamzaa
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Sun Apr 01, 2012 9:31 am

Total Usage of a pppoe user

Wed Apr 11, 2012 1:50 pm

Hello to all

i have configured my mikrotik os as ppp (pppoe server)
i m bit confused
How can we know how much usage is done by a user. for e.g

a User name = John

He used net for 5 days. then how can we found or seee how much tx bytes he used within 5 days. or this month?
 
farazhamzaa
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Sun Apr 01, 2012 9:31 am

Re: Total Usage of a pppoe user

Thu Apr 12, 2012 9:34 pm

Bump.....
No reply yet
 
scampbell
Trainer
Trainer
Posts: 487
Joined: Thu Jun 22, 2006 5:20 am
Location: Wellington, NZ
Contact:

Re: Total Usage of a pppoe user

Thu Apr 12, 2012 11:16 pm

If you are giving your PPPOE user a fixed IP set up a simple queue with the Target Address set to that of the PPPoE user. This will accumulate the traffic for you.

e.g /queue simple add target-address="172.16.20.23" queue="default/default"

(where 172.16.20.23 is PPPoE Client IP)


Alternatively you can use User Manager (or any other Radius AAA) to authenticate the PPPoE Username and password and it can tell you the usage.
 
n21roadie
Forum Guru
Forum Guru
Posts: 1949
Joined: Fri Aug 07, 2009 10:36 pm
Location: Limerick,Ireland

Re: Total Usage of a pppoe user

Fri Apr 13, 2012 2:17 pm

I discovered the hard way (as usual?) that even with pppoe rate limits set for each customer, simple queue's it will override any pppoe limits set and if not set in simple queue's will give users unlimited bandwidth, so for me for each customer I have duplicated the rate setting in both.
 
User avatar
acim
Member
Member
Posts: 415
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

Re: Total Usage of a pppoe user

Fri Apr 13, 2012 3:37 pm

Go for RADIUS server and fix both issues.

Who is online

Users browsing this forum: lele, pvillarragut, vic666 and 125 guests