# US 2025/0097150 A1 · Source address validation method, network device, and communication system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0097150 A1
- Document ID: US20250097150A1
- Status: Published application
- Kind: A1
- Application number: 18/962,825
- Filed: 2024-11-27
- Published: 2025-03-20
- Earliest claimed: 2022-06-01
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Nan GENG; Mingqing HUANG; Shunwan ZHUANG
- Web page: https://patentgrep.com/patent/US20250097150A1

## CPC

- H04L 45/42: Centralised routing
- H04L 45/74: Address processing for routing
- H04L 9/40: Network security protocols
- H04L 45/72: {Routing based on the source address}
- H04L 45/745: Address table lookup; Address filtering
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application discloses a source address validation method, a network device, and a communication system. A first network device receives a first packet, where the first packet arrives at the first network device through a newly added path on which a second network device serves as a source node and the first network device serves as a destination node, and the first packet includes newly added path information indicating the newly added path. The first network device adds a source address validation (SAV) rule based on path information and the newly added path information, and the path information includes a reachable path on which the first network device serves as a destination node.

## Claims

### Claim 1

A source address validation method, comprising:
receiving, by a first network device, a first packet, wherein the first packet arrives at the first network device through a newly added path on which a second network device serves as a source node and the first network device serves as a destination node, and the first packet comprises newly added path information indicating the newly added path; and
adding, by the first network device, a source address validation (SAV) rule based on path information and the newly added path information, wherein the path information comprises a reachable path on which the first network device serves as a destination node.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
before the receiving, by the first network device, the first packet, receiving, by the first network device, a probe packet, wherein the probe packet arrives at the first network device through a probe path on which a probe device serves as a source node and the first network device serves as a destination node, and the probe packet comprises an identifier of a network device on the probe path; and
obtaining, by the first network device, the path information based on the identifier of the network device on the probe path.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the adding, by the first network device, an SAV rule based on path information and the newly added path information comprises:
determining, by the first network device based on the newly added path information, that the source node of the first packet is the second network device;
determining, by the first network device, an association device of the first packet based on the path information, wherein a probe packet for which the association device serves as a source node arrives at the first network device after being forwarded by the second network device; and
adding, by the first network device, an SAV rule in which the second network device serves as a source prefix and an SAV rule in which the association device serves as a source prefix.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the newly added path comprises a third network device, the first network device is a next-hop node of the third network device, and the adding, by the first network device, an SAV rule in which the second network device serves as a source prefix and an SAV rule in which the association device serves as a source prefix comprises:
adding, by the first network device, a first SAV rule and a second SAV rule, wherein a source prefix field of the first SAV rule indicates the second network device, a valid ingress field of the first SAV rule indicates an interface path between the third network device and the first network device, a source prefix field of the second SAV rule indicates the association device, and a valid ingress field of the second SAV rule indicates an interface path between the third network device and the first network device.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the first packet further comprises information indicating an association device of the first packet, and the adding, by the first network device, an SAV rule based on path information and the newly added path information comprises:
determining, by the first network device based on the newly added path information, that the source node of the first packet is the second network device;
determining, by the first network device, the association device based on the information indicating the association device of the first packet and the path information; and
adding, by the first network device, an SAV rule in which the second network device serves as a source prefix and an SAV rule in which the association device serves as a source prefix.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
sending, by the first network device, a request packet to a target device, wherein the target device is a network device indicated by a source prefix field in a newly added SAV rule;
receiving, by the first network device, a target probe packet from the target device; and
aging, by the first network device, a target SAV rule based on the target probe packet, wherein a sequence number of the target SAV rule is less than a sequence number of the target probe packet.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
updating, by the first network device, the path information based on the newly added path information.

### Claim 8 (depends on 2)

The method according to claim 2, wherein the probe packet is a destination prefix probe DPP packet, and the probe path is a DPP path.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the newly added path information comprises an identifier of a network device on the newly added path, and the adding, by the first network device, a source address validation SAV rule based on path information and the newly added path information comprises:
adding, by the first network device, the source address validation SAV rule based on the identifier of the network device on the newly added path and the path information.

### Claim 10

A source address validation method, comprising:
sending, by a second network device, a first packet to a first network device, wherein the first packet arrives at the first network device through a newly added path on which the second network device serves as a source node and the first network device serves as a destination node, the first packet comprises newly added path information indicating the newly added path, the newly added path information indicates the first network device to add a source address validation (SAV) rule based on path information and the newly added path information, and the path information comprises a reachable path on which the first network device serves as a destination node.

### Claim 11 (depends on 10)

The method according to claim 10, wherein before the sending, by further comprising:
before the sending, by the second network device, the first packet to the first network device, probing, by the second network device, that the newly added path is added between the second network device and the first network device.

### Claim 12 (depends on 10)

The method according to claim 10, further comprising:
before the sending, by the second network device, the first packet to the first network device, sending, by the second network device, the first packet to the first network device at an interval of preset time.

### Claim 13 (depends on 10)

The method according to claim 10, further comprising:
before the sending, by the second network device, the first packet to the first network device, sending, by the second network device, a probe packet to the first network device, wherein the probe packet arrives at the first network device through a probe path on which the second network device serves as a source node and the first network device serves as a destination node, the probe packet comprises an identifier of a network device on the probe path, and the probe packet is used by the first network device to obtain the path information based on the identifier of the network device on the probe path.

### Claim 14 (depends on 10)

The method according to claim 10, further comprising:
after the sending, by the second network device, the first packet to the first network device, receiving, by the second network device, a request packet from the first network device; and
sending, by the second network device, a target probe packet to the first network device based on the request packet, wherein the target probe packet is used by the first network device to age a target SAV rule based on the target probe packet, and a sequence number of the target SAV rule is less than a sequence number of the target probe packet.

### Claim 15 (depends on 13)

The method according to claim 13, wherein the probe packet is a destination prefix probe DPP packet, and the probe path is a DPP path.

### Claim 16 (depends on 10)

The method according to claim 10, wherein the newly added path information comprises an identifier of a network device on the newly added path.

### Claim 17

A first network device, comprising:
a processor;
a memory storing program instructions, which, when executed by the processor, cause the first network device to:
receive a first packet, wherein the first packet arrives at the first network device through a newly added path on which a second network device serves as a source node and the first network device serves as a destination node, and the first packet comprises newly added path information indicating the newly added path; and
add a source address validation (SAV) rule based on path information and the newly added path information, wherein the path information comprises a reachable path on which the first network device serves as a destination node.

### Claim 18 (depends on 17)

The first network device according to claim 17,
wherein the program instructions further cause the first network device to receive a probe packet, wherein the probe packet arrives at the first network device through a probe path on which a probe device serves as a source node and the first network device serves as a destination node, and the probe packet comprises an identifier of a network device on the probe path; and
obtain the path information based on the identifier of the network device on the probe path.

### Claim 19 (depends on 17)

The first network device according to claim 17, wherein the program instructions further cause the first network device to:
determine, based on the newly added path information, that the source node of the first packet is the second network device;
determine an association device of the first packet based on the path information, wherein a probe packet for which the association device serves as a source node arrives at the first network device after being forwarded by the second network device; and
add an SAV rule in which the second network device serves as a source prefix and an SAV rule in which the association device serves as a source prefix.

### Claim 20 (depends on 19)

The first network device according to claim 19, wherein the newly added path comprises a third network device, the first network device is a next-hop node of the third network device, and wherein the program instructions further cause the first network device to:
add a first SAV rule and a second SAV rule, wherein a source prefix field of the first SAV rule indicates the second network device, a valid ingress field of the first SAV rule indicates an interface path between the third network device and the first network device, a source prefix field of the second SAV rule indicates the association device, and a valid ingress field of the second SAV rule indicates an interface path between the third network device and the first network device.

### Claim 21 (depends on 17)

The first network device according to claim 17, wherein the first packet further comprises information indicating an association device of the first packet, and wherein the program instructions further cause the first network device to:
determine, based on the newly added path information, that the source node of the first packet is the second network device;
determine the association device based on the information indicating the association device of the first packet and the path information; and
add an SAV rule in which the second network device serves as a source prefix and an SAV rule in which the association device serves as a source prefix.

### Claim 22 (depends on 17)

The first network device according to claim 17,
wherein the program instructions further cause the first network device to: send a request packet to a target device, wherein the target device is a network device indicated by a source prefix field in a newly added SAV rule, and
receive a target probe packet from the target device; and
age a target SAV rule based on the target probe packet, wherein a sequence number of the target SAV rule is less than a sequence number of the target probe packet.

### Claim 23 (depends on 17)

The first network device according to claim 17, wherein the program instructions further cause the first network device to:
update the path information based on the newly added path information.

### Claim 24 (depends on 18)

The first network device according to claim 18, wherein the probe packet is a destination prefix probe DPP packet, and the probe path is a DPP path.

### Claim 25 (depends on 17)

The first network device according to claim 17, wherein the newly added path information comprises an identifier of a network device on the newly added path, and the program instructions further cause the first network device to:
add the source address validation SAV rule based on the identifier of the network device on the newly added path and the path information.

### Claim 26

A second network device, comprising:
a processor;
a memory storing program instructions, which, when executed by the processor, cause the second network device to:
send a first packet to a first network device, wherein the first packet arrives at the first network device through a newly added path on which the second network device serves as a source node and the first network device serves as a destination node, the first packet comprises newly added path information indicating the newly added path, the newly added path information indicates the first network device to add a source address validation (SAV) rule based on path information and the newly added path information, and the path information comprises a reachable path on which the first network device serves as a destination node.

### Claim 27 (depends on 26)

The second network device according to claim 26, wherein the program instructions further cause the second network device to: probe that the newly added path is added between the second network device and the first network device.

### Claim 28 (depends on 26)

The second network device according to claim 26, wherein the program instructions further cause the second network device to: send the first packet to the first network device at an interval of preset time.

### Claim 29 (depends on 26)

The second network device according to claim 26, wherein the program instructions further cause the second network device to: send a probe packet to the first network device, wherein the probe packet arrives at the first network device through a probe path on which the second network device serves as a source node and the first network device serves as a destination node, the probe packet comprises an identifier of a network device on the probe path, and the probe packet is used by the first network device to obtain the path information based on the identifier of the network device on the probe path.

### Claim 30 (depends on 26)

The second network device according to claim 26, wherein the program instructions further cause the second network device to: receive a request packet from the first network device; and
send a target probe packet to the first network device based on the request packet, wherein the target probe packet is used by the first network device to age a target SAV rule based on the target probe packet, and a sequence number of the target SAV rule is less than a sequence number of the target probe packet.
