• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 966
  • Last Modified:

MRTG for PPPoE

I am using 7206 as PPPoE aggregator.
now i need to maintain the history of bandwidth consumption graph for each vpdn user connected. when ever a user gets connected he gets a virtual-interface which keeps changing every time he gets disconnected. is there any way i can achieve this taks.

0
mknazeer
Asked:
mknazeer
  • 4
  • 4
1 Solution
 
giltjrCommented:
I don't think you can.  If, BIG IF, somehow you could assign each user their own VLAN then MRTG could track by VLAN, but I don't think you can.

Does the 7206 support exporting NetFlow?  If so then you may want to look into a NetFlow collector like NTOP.  Doing this would require assigning each user their own specific IP address how ever and NTOP does more than just bandwidth consumption.

One thing to think about with MRTG is that although it keeps track of bandwidth for a year, once you get beyond 36 hours (if you do 5 minute intervals) you start seeing the avg. of avg.s.  which will dilute any spikes.
0
 
mknazeerAuthor Commented:
what is understand is IF we can map users <userid@ips.com> to the virtual interfaces that they are assigned when it is online then i think we can do some thing.
0
 
giltjrCommented:
Using MRTG you would need to map the user-id to a virtual interface.  

If you used netflow, you would need to map their user-id to an IP address.

No matter what if you want to use a charge for bandwidth usage you need to assign the user-id to something.  Now of you are not worried about "actual bandwidth" you could use RADIUS type accounting.  This should send an accounting record to a RADIUS server when they  disconnect with the length of the session and total bytes sent and received.

What is handling the user-id passward validation?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
mknazeerAuthor Commented:
I agree what you say about radius accounting, it will show the total bandwidth it consumed during the session(s). but what i need the at what speed it consumed that maount of bandwidth.

Just like monitoring the bandwidth for any physical inter interface on router...in Kb/sec

hope you understand my question now.
0
 
giltjrCommented:
I did understand your question, I was asking if you really needed bandwidth vs. total traffic.

I don't think you can assign a specific interface during PPP login.  Again, the only way you might be able to do this is to create a unique IP Subnet/VLAN for each user and assign them to their "VLAN" through PPP by assigning their ID a specific IP address.  MRTG will then track each VLAN interface.
0
 
mknazeerAuthor Commented:

Well this might me scalable for 10-50 users....but just think of 10k users or more...
0
 
mknazeerAuthor Commented:
By bandwidth i dont mean total bandwidth consumption, this i can get easily from radius start stop accounting.

I need to graph the interface speed just like any MRTG report will show for ethernet or serial interface.  Hope now my question is more clear
0
 
giltjrCommented:
Well, you are limited to what technology can provide and that I am aware there is nothing I know of right now that would allow you to do what you are asking.

That I am aware of there is no way to fix a virtual interface to a user, especially since the interface has to exist before you know who the user is and once you know who the the user is, you can't change the virtual interface.

With that many users, I doubt if you could provide a static IP address for each one, so even using something that was netflow based would limit you.

Sorry, I know of nothing that could help you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now