Patent ID: 7801148

Claim:
An accessing method for supporting a Point to Point Protocol over Asynchronous Transfer Mode (PPPoA) terminal to a broadband access device based on an Internet Protocol (IP) architecture, comprising: assigning, by the broadband access device, a Media Access Control (MAC) address to the PPPoA terminal; setting up a Point to Point Protocol over Ethernet (PPPoE) connection between the broadband access device and a Broadband Access Server (BAS), and acquiring, by the broadband access device, a Session ID assigned by the BAS; converting, by the broadband access device, a PPPoA packet sent by the PPPoA terminal into a PPPoE packet and sending the converted PPPoE packet to the BAS; converting, by the broadband access device, a PPPoE packet sent by the BAS into a PPPoA packet and sending the PPPoA packet to the PPPoA terminal, according to the MAC address and the Session ID; upon detecting a logoff of the PPPoA terminal, the broadband access device instructing the BAS to remove the PPPoE connection; upon receiving the instruction of removing the PPPoE connection, the BAS removing the PPPoE connection between the BAS and the broadband access device, wherein said detecting a logoff of the PPPoA terminal comprises: counting the number of keep alive packets between the PPPoA terminal and the BAS within a pre-configured time, and determining whether the number increases, if the number increases, determining that the PPPoA terminal is online; if the number does not increase, determining that the PPPoA terminal has logged off.