A method and apparatus for providing computer network access points the
capability for multiple-level accounting. A gateway device located at the
access point is capable of generating Internet protocol accounting start
and stop requests based on various events that need to be accounted for
when a user accesses a network. These events include the user account
logon, the service establishments and the Point to Point protocol (PPP)
connections between the gateway device and public and private domains
within the network. The counter is capable of tracking the duration of
sessions and connections and the byte-count associated with the specified
session or connection. The gateway device communicates with an accounting
server which stores the accounting requests and matches start requests
with subsequent stop requests.