摘要 |
Methods for processing a raw Internet Protocol (IP) packet and corresponding devices are provided. A method is applied on a Broadband Network Gateway (BNG) side, and the method includes that after it is acquired that a Customer Premises Equipment (CPE) goes on line, a public network IP address and a public network identifier range are allocated to the CPE; and after a downlink raw IP packet is received, the packet is forwarded to a corresponding CPE according to a destination IP address of the packet and a route of a public network identifier. another method is applied on a CPE side, and the includes that: a public network IP address and a public network identifier range allocated by a BNG are received; after an uplink raw IP packet transmitted by a user is received, a source IP address in the packet is replaced with the public network IP address, a value of an identifier field in the packet is replaced with a value in the public network identifier range allocated by the BNG, and then the uplink raw IP packet is transmitted to the BNG. The present invention remedies the defect that an existing Network Address Translation (NAT) technology does not support forwarding of a raw IP packet. |