Packet forwarding methods and apparatuses
AssigneeNew H3C Technologies Co., Ltd.
InventorTingqiao Wu
Life of this patent
Estimating the term…
Abstract
This application provides a packet forwarding method and apparatus. In the embodiment, a headend releases respectively to other nodes on the current path SRv6 TE Policy source path routing and a source path control probe packet, to trigger other nodes on the current path to generate a source path control table. The source path control table contains routing forwarding information that nodes on the path of the existing SRv6 TE Policy conventionally does not care about, in order to use this source path control table to mitigate risks caused by nodes on the path of the existing SRv6 TE Policy not caring about the above routing forwarding information and improve the security of the SRv6 network.
Claims15
A packet forwarding method, the method applied to a network node, and the method comprising:
- sending, by the network node serving as a headend of an SRv6 Traffic Engineering Policy TE Policy to other nodes on a current path included in the SRv6 TE Policy, an SRv6 TE Policy source path routing;
- the SRv6 TE Policy source path routing carrying first routing information for forwarding packets on the current path, so that any node other than the headend on the current path, upon receiving the SRv6 TE Policy source path routing, records the first routing information carried by the SRv6 TE Policy source path routing;
- sending, by the network node serving as the headend to other nodes on the current path, a source path control probe packet for probing the current path;
- the source path control probe packet carrying second routing information for forwarding packets on the current path, so that any node other than the headend on the current path, when recognizing that the second routing information carried by the source path control probe packet matches with the recorded first routing information, generates a source path control table that matches with the first routing information;
- any node other than the headend on the current path being configured to perform forwarding control on a received service packet based on the generated source path control table.
A packet forwarding method, applied to a network node, and the method comprising:
- if the network node serves as any node other than a headend of an SRv6 Traffic Engineering Policy TE Policy, then:
- receiving an SRv6 TE Policy source path routing sent by a headend of the SRv6 TE Policy for a current path included in the SRv6 TE Policy;
- the SRv6 TE Policy source path routing carrying first routing information for forwarding packets on the current path;
- recognizing whether the network node is on the current path, and if so, recording the first routing information carried by the SRv6 TE Policy source path routing;
- receiving a source path control probe packet sent by the headend;
- the source path control probe packet carrying second routing information for forwarding packets on the current path;
- if recognizing that the second routing information carried by the source path control probe packet matches with the recorded first routing information, generating a source path control table that matches with the first routing information;
- performing forwarding control on a service packet received by the network node based on the source path control table.
Dependencies are inferred from the claim text.