This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Accounting on Dynamic Interface

Hi!

Does anyone of you know, if in v5 the accounting works on an PPPoE-DSL-Interface?

We had the problem with v4 that the accounting reports resets, as soon as the IP changes. And since our provider disconnects every 24 hours, the reports were useless.

We want to check the DSL-traffic, since we pay per GB.

Thanks,
Thorsten


This thread was automatically locked due to age.
Parents
  • Hi THoehne,

    I had the same "issue". Assuming that your DSL provider has a range of class-b addresses to provide you create a network object e.g. pppoe_pool : A.B.0.0 255.255.0.0.

    When you assign this object under [Reporting] - [Accounting] to the "Queried networks" field you will see ALL traffic that passed your external interface - at least that is what I assume (since I have no other way to crosscheck). But the amount of bytes and the traffic graph look like what I expect.

    techno.kid
  • What Interface do I have to select in the Network->Accounting menu?

    And doesn't your configuration just count the traffic TO the providers network? What about the traffic to other Internet Hosts?

    Maybe someone could explain, how the accounting collects its data, since I don't really unterstand the online help...

    I now configured the accounting to query the DSL-interface (Network->Accounting) and to generate reports on ALL defined networks except the DSL network (Reporting->Accounting).

    Wrong again? [:S]
  • Oh... I forgot: since I´m not quite sure myself (I will test this these days) I enabled ALL interfaces - usually the external one should be sufficent.
    Anyway... if you look to the reporting/accounting details you will see the following:

     Code:
    ::
    :: nacctdreport.pl (c) 2002 Tom Kistner 
    ::
    :: Start Date/Time -> 2004/04/01 00:00
    ::   End Date/Time -> 2004/04/30 23:59
    ::
    :: Networks: A.B.0.0/255.255.0.0  
    ::
    ::
    ::  `-All queried networks  . . . . . . . . . . . . 100% (4727 MB)
    ::     `-A.B.0.0/255.255.0.0 . . . . . . . . . .    100% (4727 MB)
    ::        |-incoming  . . . . . . . . . . . . . . .  60% (2868 MB)
    ::        |  |-tcp  . . . . . . . . . . . . . . . .  60% (2852 MB)
    ::        |  |  |-http  . . . . . . . . . . . . . .   5% (281 MB)
    ::        |  |  `-ssh . . . . . . . . . . . . . . .   1% (57 MB)
    ::        |  `-udp  . . . . . . . . . . . . . . . .   0% (16 MB)
    ::        |     |-unknown (2746->2746/udp)  . . . .   0% (8106 kB)
    ::        |     |-domain  . . . . . . . . . . . . .   0% (3271 kB)
    ::        |     |-netbios-ns  . . . . . . . . . . .   0% (387 kB)
    ::        |     |-ntp . . . . . . . . . . . . . . .   0% (196 kB)
    ::        |     `-isakmp  . . . . . . . . . . . . .   0% (76 kB)
    ::        `-outgoing  . . . . . . . . . . . . . . .  39% (1858 MB)
    ::           |-tcp  . . . . . . . . . . . . . . . .  39% (1845 MB)
    ::           |  |-ssh . . . . . . . . . . . . . . .   3% (145 MB)
    ::           |  |-https . . . . . . . . . . . . . .   1% (61 MB)
    ::           |  `-http  . . . . . . . . . . . . . .   0% (27 MB)
    ::           `-udp  . . . . . . . . . . . . . . . .   0% (12 MB)
    ::              |-domain  . . . . . . . . . . . . .   0% (1469 kB)
    ::              |-isakmp  . . . . . . . . . . . . .   0% (470 kB)
    ::              `-ntp . . . . . . . . . . . . . . .   0% (343 kB)
    ::
    :: Notes:   - Percentage values refer to the parent nodes total byte sum,
    ::            NOT the absolute total.
    ::          - Byte sums for services below 1 percent of
    ::            the parent node are not shown, but accounted for in the
    ::            percentage values and absolute parent numbers.
    ::          - Traffic between all queried networks is IGNORED !  



    As you can see also the outgoing traffic is considered.

    techno.kid
  • Just to clearify: you do NOT need to put other interfaces than your external one to the "Interfaces" at the "Accounting" configuration menu.

    techno.kid
  • That's what I did! And no ignored networks...

    But do I have to query all networks in the Rporting menu or just the one of our provider? That's what I don't get...
  • In the "Reporting" menu you just have to query your providers ip addresses...

    BUT: I just recognized: you have V5 running... my configuration is about V4 (though it "should" work the same).

    techno.kid
  • No, I'm using v4!

    I had some issues with the accounting on v4 in the past, so i wanted to know, wether v5 fixes the problem with the changing IP of the DSL connecting.

    But right now, I'm using v4! 
  • It seems to work now! I'm counting all the traffic of our DSL-IP to the providers network... Values seem to be right...

    But when I'm checking the Accounting Report, I'm missing our Terminal-Server traffic in the list... Since it's frequently used, there should be some TerminalServer-Traffic accounted by ASL...
    But I only find outgoing HTTP, HTTPS, SMTP, POP3 & FTP traffic!
Reply
  • It seems to work now! I'm counting all the traffic of our DSL-IP to the providers network... Values seem to be right...

    But when I'm checking the Accounting Report, I'm missing our Terminal-Server traffic in the list... Since it's frequently used, there should be some TerminalServer-Traffic accounted by ASL...
    But I only find outgoing HTTP, HTTPS, SMTP, POP3 & FTP traffic!
Children
No Data