Packet processing method and related apparatus

US12184545B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12184545-B2
Application numberUS-202217577579-A
CountryUS
Kind codeB2
Filing dateJan 18, 2022
Priority dateJan 19, 2021
Publication dateDec 31, 2024
Grant dateDec 31, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

This application provides a packet processing method and a network device. A third network device is multi-homed to a first network device and a second network device, the first network device is configured with a first physical MAC address and a virtual MAC address, the second network device is configured with a second physical MAC address and the virtual MAC address, and the virtual MAC address is used to forward a user data packet to a network side. The method includes: a first network device receives a protocol packet from a third network device, where the protocol packet includes the second physical MAC address; and the first network device forwards the protocol packet to the second network device based on the second physical MAC address. Thus, the protocol packet can be normally forwarded without special configuration on a server, so that a cumbersome configuration process is avoided.

First claim

Opening claim text (preview).

What is claimed is: 1. A packet processing method comprising: receiving, by a first network device in a network system, a protocol packet from a third network device multi-homed to the first network device and a second network device, wherein the protocol packet comprises a second physical media access control (MAC) address associated with the second network device, wherein the network system comprises the first network device, a second network device, and the third network device, wherein the first network device is configured with a first physical MAC address and a virtual MAC address, wherein the second network device is configured with the second physical MAC address and the virtual MAC address, wherein the virtual MAC address is used to forward a user data packet to a network side, wherein the protocol packet received by the first network device from the third network device comprises a time to live (TTL), and wherein the TTL in the protocol packet forwarded by the first network device to the second network device is not decreased by 1; and forwarding, by the first network device, the protocol packet to the second network device based on the second physical MAC address. 2. The method according to claim 1 , wherein the method further comprises: receiving, by the first network device, a request message from the third network device, wherein the request message comprises a physical internet protocol (IP) address of the first network device; and sending, by the first network device, a response message to the third network device, wherein the response message comprises the first physical MAC address, and wherein there is a correspondence between the first physical MAC address and the physical IP address of the first network device. 3. The method according to claim 2 , wherein the request message is an address resolution protocol (ARP) request message or a neighbor discovery message. 4. The method according to claim 1 , wherein the forwarding, by the first network device, the protocol packet to the second network device based on the second physical MAC address comprises: searching, by the first network device, a MAC forwarding entry based on the second physical MAC address to obtain a first outbound interface corresponding to the protocol packet; and forwarding, by the first network device, the protocol packet to the second network device based on the first outbound interface. 5. The method according to claim 1 , wherein the forwarding, by the first network device, the protocol packet to the second network device based on the second physical MAC address comprises: forwarding, by the first network device, the protocol packet to the second network device in a broadcast manner based on the second physical MAC address. 6. The method according to claim 1 , wherein the protocol packet comprises a border gateway protocol (BGP) packet, a bidirectional forwarding detection (BFD) protocol packet, an open shortest path first (OSPF) protocol packet, or an intermediate system to intermediate system (IS-IS) protocol packet. 7. The method according to claim 1 , wherein the method further comprises: receiving, by the first network device, the user data packet from the third network device; searching, by the first network device, a routing entry based on the virtual MAC address comprised in the user data packet, to obtain a second outbound interface; and forwarding, by the first network device, the user data packet through the second outbound interface. 8. A third network device in a network system, the third network device comprising a processor and a memory, wherein the memory is configured to store instructions, and the processor is configured to execute the instructions in the memory, so that the third network device performs operations comprising: sending a request message, wherein the request message comprises a physical internet protocol (IP) address of a first network device, wherein the network system comprises the first network device, a second network device, and the third network device, and wherein the third network device is multi-homed to the first network device and the second network device; receiving a response message, wherein the response message comprises a physical media access control (MAC) address of the first network device, and wherein there is a correspondence between the physical IP address of the first network device and the physical MAC address of the first network device; and sending a protocol packet, wherein the protocol packet comprises the physical MAC address, and wherein the physical MAC address is used by the first network device to forward the protocol packet to the second network device. 9. The third network device according to claim 8 , wherein the operations further comprise: receiving a route sent by the first network device, wherein the route comprises a destination address of a user and a next-hop address, and wherein the next-hop address is a virtual IP address of the first network device. 10. The third network device according to claim 9 , wherein the operations further comprise: generating a user data packet, wherein the user data packet comprises the destination address of the user; searching a routing entry based on the destination address of the user to determine that the next-hop address of the user data packet is the virtual IP address of the first network device; obtaining a virtual MAC address corresponding to the virtual IP address of the first network device; and updating the user data packet based on the virtual MAC address, to obtain an updated user data packet, wherein the updated user data packet comprises the virtual MAC address. 11. The third network device according to claim 8 , wherein the request message is an address resolution protocol (ARP) request message or a neighbor discovery message. 12. The third network device according to claim 8 , wherein the protocol packet comprises a border gateway protocol (BGP) packet, a bidirectional forwarding detection (BFD) protocol packet, an open shortest path first (OSPF) protocol packet, or an intermediate system to intermediate system (IS-IS) protocol packet. 13. A first network device in a network system, the first network device comprising a processor and a memory, wherein the memory is configured to store instructions, and the processor is configured to execute the instructions in the memory, so that the first network device performs operations comprising: receiving a protocol packet from a third network device multi-homed to the first network device and a second network device, wherein the protocol packet comprises a second physical media access control (MAC) address associated with the second network device, wherein the network system comprises the first network device, the second network device, and the third network device, wherein the first network device is configured with a first physical MAC address and a virtual MAC address, wherein the second network device is configured with the second physical MAC address and the virtual MAC address, wherein the virtual MAC address is used to forward a user data packet to a network side, wherein the protocol packet received by the first network device from the third network device comprises a time to live (TTL), and wherein the TTL in the protocol packet forwarded by the first network device to the second network device is not decreased by 1; and forwarding the protocol packet to the second network device based on the second physical MAC address. 14. The first network device according to claim 13 , wherein the operations further comprise: receiving a request message from the third n

Assignees

Inventors

Classifications

  • across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP] · CPC title

  • Address table lookup; Address filtering · CPC title

  • Hop count for routing purposes, e.g. TTL · CPC title

  • H04L45/66Primary

    Layer 2 routing, e.g. in Ethernet based MAN's · CPC title

  • Link aggregation, e.g. trunking · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12184545B2 cover?
This application provides a packet processing method and a network device. A third network device is multi-homed to a first network device and a second network device, the first network device is configured with a first physical MAC address and a virtual MAC address, the second network device is configured with a second physical MAC address and the virtual MAC address, and the virtual MAC addre…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L45/66. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Dec 31 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).