Packet forwarding method, apparatus, and system
AssigneeHuawei Technologies Co., Ltd.
InventorsXia Chen, Bing Liu, Ling Xu, Jianwei Mao
Life of this patent
Estimating the term…
Abstract
This application discloses a packet forwarding method, an apparatus, and a system, and belongs to the field of communication technologies. The method includes: A first node receives a first packet. The first node sends a second packet to a second node based on the first packet, where a source address of the second packet is obtained by translating a source address of the first packet, a destination address of the second packet is a destination address of the first packet, a packet payload of the second packet is a packet payload of the first packet, the second packet further includes a session identifier, and the session identifier is used by the second node to forward the second packet.
Claims20
A packet forwarding method, comprising:
- receiving, by a second node, a first packet from a first node, wherein the first packet comprises a first session identifier;
- and
- sending, by the second node, the first packet based on the first session identifier comprising:
- generating, by the second node, a session table based on the first session identifier, wherein the session table comprises a key value and next-hop information, and the key value comprises the first session identifier, and
- finding, by the second node, the next-hop information based on the key value corresponding to the first session identifier, and sending the first packet based on the next-hop information.
A computer processing system, comprising:
- a memory storing one or more instructions;
- and
- a processor, coupled with the memory, configured to execute the one or more instructions causing the computer processing system to perform operations for a packet forwarding method, the operations comprising:
- receiving, by a second node, a first packet from a first node, wherein the first packet comprises a first session identifier;
- and
- sending, by the second node, the first packet based on the first session identifier comprising:
- generating, by the second node, a session table based on the first session identifier, wherein the session table comprises a key value and next-hop information, and the key value comprises the first session identifier, and
- finding, by the second node, the next-hop information based on the key value corresponding to the first session identifier, and sending the first packet based on the next-hop information.
A non-transitory computer readable storage medium, having one or more instructions stored thereon, which when executed by a processor of a computer processing system, cause the computer processing system to perform operations for a packet forwarding method, the operations comprising:
- receiving, by a second node, a first packet from a first node, wherein the first packet comprises a first session identifier;
- and
- sending, by the second node, the first packet based on the first session identifier comprising:
- generating, by the second node, a session table based on the first session identifier, wherein the session table comprises a key value and next-hop information, and the key value comprises the first session identifier, and
- finding, by the second node, the next-hop information based on the key value corresponding to the first session identifier, and sending the first packet based on the next-hop information.
Dependencies are inferred from the claim text.