Method and apparatus for sending packet
AssigneeHuawei Technologies Co., Ltd.
InventorsYanfei Liu, Qi Lin
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsYanfei Liu, Qi Lin
Estimating the term…
Embodiments of the present invention relate to a method and an apparatus for sending a packet. The method for sending a packet includes: receiving an original packet; querying a pre-configured GRE forwarding entry including next-hop address information and outbound interface information, and obtaining next-hop address information and outbound interface information of a GRE tunnel used to send the original packet; encapsulating the original packet into a GRE packet; encapsulating the GRE packet into an outer layer protocol packet; and selecting a sending path in the GRE tunnel according to the next-hop address information and outbound interface information, and sending the outer layer protocol packet through the sending path. Therefore, according to the method and apparatus, a packet sending path may be independently selected, thereby reasonably configuring and efficiently using each path of a GRE tunnel, and improving packet sending efficiency.
A method for sending a packet, comprising:
An apparatus for sending a packet, comprising:
Dependencies are inferred from the claim text.