摘要 |
The present invention provides a method for processing a raw IP packet, and a corresponding apparatus. The method is applied on a broadband network gateway (BNG) side, and comprises: after it is obtained that a customer premises equipment (CPE) goes online, allocating a public network IP address and a public network identifier range to the CPE; and after a downlink raw IP packet is received, forwarding the packet to the corresponding CPE according to a destination IP address and a route of the public network identifier. The method is applied on a CPE side, and comprises: receiving a public network IP address and a public network identifier range allocated by a BNG; after a uplink raw packet sent by a user is received, replacing a source IP address in the packet into the public network IP address, replacing a value of an Identifier field in the packet into a value in the public network identifier range, and sending the uplink raw IP packet to the BNG. The present invention remedies the defect that an existing NAT technology does not support the forwarding of a raw IP packet. |