WO2022012073A1 - 报文转发的方法、设备以及*** - Google Patents

报文转发的方法、设备以及*** Download PDF

Info

Publication number
WO2022012073A1
WO2022012073A1 PCT/CN2021/082060 CN2021082060W WO2022012073A1 WO 2022012073 A1 WO2022012073 A1 WO 2022012073A1 CN 2021082060 W CN2021082060 W CN 2021082060W WO 2022012073 A1 WO2022012073 A1 WO 2022012073A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
multicast
network device
message
hop
Prior art date
Application number
PCT/CN2021/082060
Other languages
English (en)
French (fr)
Inventor
谢经荣
段方红
耿雪松
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202010939135.XA external-priority patent/CN114006780A/zh
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21841577.6A priority Critical patent/EP4170972A4/en
Publication of WO2022012073A1 publication Critical patent/WO2022012073A1/zh
Priority to US18/154,399 priority patent/US20230171184A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1886Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1854Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with non-centralised forwarding system, e.g. chaincast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Definitions

  • the present application relates to the field of network communication, and more particularly, to a method, device and system for forwarding messages.
  • Multicast is an efficient way to send data at the same time by using a multicast address to multiple devices on a transmission control protocol (TCP)/Internet protocol (Internet Protocol, IP) network.
  • TCP transmission control protocol
  • IP Internet Protocol
  • the multicast source sends the multicast stream to the members of the multicast group via the links in the network, and all the members of the multicast group in the multicast group can receive the multicast stream.
  • the multicast transmission mode realizes the point-to-multipoint data connection between the multicast source and the members of the multicast group. Since the multicast stream only needs to be transmitted once on each network link, and only when the link has a branch, the multicast will be replicated. Therefore, the multicast transmission method improves the data transmission efficiency and reduces the possibility of congestion in the backbone network.
  • the IP multicast technology uses the multicast group address as the destination address of the packet, and uses the independent multicast protocol (protocal independent multicast, PIM) signaling to establish a multicast forwarding tree. And use the multicast forwarding tree to logically tree the network plane to realize multicast point-to-multipoint data forwarding.
  • PIM program independent multicast
  • each device in the network needs to reserve multiple addresses for multiple multicast trees, and different addresses are used to distinguish different multicast trees, so that there is a large waste of address space.
  • the present application provides a packet forwarding method, device and system, which can reduce the waste of address space.
  • a method for forwarding a packet including: acquiring a first packet by a first network device, where the first packet includes a multicast packet; and the first network device according to the source address SA and the first packet.
  • a corresponding relationship determines the next-hop destination address DA of the multicast packet, wherein the SA is used to identify the multicast path corresponding to the multicast packet, and the first corresponding relationship includes the SA and the the next-hop DA of the first network device on the multicast path; the first network device obtains a second packet according to the next-hop DA, and the second packet is a report to the multicast
  • the first network device forwards the second packet along the multicast path according to the next hop DA.
  • the root node (ingress device) is required to reserve multiple addresses corresponding to multiple multicast trees, and other devices do not need to reserve multiple addresses corresponding to multiple multicast trees.
  • the entry device is used as the When the root node establishes multiple multicast trees, the waste of IPv6 address space can be reduced.
  • the method further includes: the first network device determines the SA.
  • the first network device is an ingress device, the first packet is the multicast packet, and the first network device determines the address corresponding to the multicast packet. the multicast path; the first network device determines the SA according to the multicast path and the corresponding relationship between the multicast path and the SA.
  • the first network device is an intermediate device or an egress device
  • the first packet is a unicast packet after IPv6 encapsulation is performed on the multicast packet
  • the first packet is a unicast packet.
  • the network device determines whether the DA of the first packet is the address of the first network device; if the DA of the first packet is the IPv6 address of the first network device, the first network device will The DA of the first packet reads the SA of the first packet.
  • the method further includes: the first network device receives configuration information from a control device, where the configuration information includes the SA and the multicast path corresponding to the multicast packet; the The first network device establishes the first correspondence according to the configuration information.
  • the multicast path includes an Internet Protocol version 6 IPv6 address of a next-hop device of the first network device, and the first network device is based on the next-hop DA as the IPv6 address of the next-hop device, and send the second packet to the next-hop device.
  • the multicast path indicates to decapsulate the packet
  • the method further includes: the first network device decapsulates the second packet to obtain the group broadcast message; the first network device forwards the multicast message.
  • the SA is an IPv6 address.
  • a first network device including:
  • a receiving module configured to obtain a first message, where the first message includes a multicast message
  • a processing module configured to determine the next hop destination address DA of the multicast message according to the source address SA and the first correspondence, wherein the SA is used to identify the multicast path corresponding to the multicast message, and the The first correspondence includes the SA and the next hop DA of the first network device on the multicast path;
  • the processing module is further configured to obtain a second packet according to the next hop DA, where the second packet is a unicast packet after IPv6 encapsulation is performed on the multicast packet;
  • a sending module configured to forward the second packet along the multicast path according to the next hop DA.
  • the processing module is further configured to: determine the SA.
  • the first network device is an ingress device
  • the first packet is the multicast packet
  • the processing module is further configured to: determine that the multicast packet corresponds to the multicast path; the SA is determined according to the multicast path and the corresponding relationship between the multicast path and the SA.
  • the first network device is an intermediate device or an egress device
  • the first packet is a unicast packet after IPv6 encapsulation of the multicast packet
  • the processing module It is specifically used for: determining whether the DA of the first packet is the IPv6 address of the first network device; if the DA of the first packet is the IPv6 address of the first network device, according to the first The DA of the message reads the SA of the first message. .
  • the receiving module is further configured to receive configuration information from the control device, where the configuration information includes the SA and the multicast path corresponding to the multicast packet; the processing module , which is further configured to establish the first correspondence according to the configuration information.
  • the multicast path includes an Internet Protocol version 6 IPv6 address of a next hop device of the first network device, and the sending module is specifically configured to: according to the next hop DA is the IPv6 address of the next-hop device, and sends the second packet to the next-hop device.
  • the multicast path indicates to decapsulate the packet
  • the processing module is further configured to decapsulate the second packet to obtain the multicast packet
  • the sending module is further configured to forward the multicast message.
  • the SA is an IPv6 address.
  • a first network device in a third aspect, has a function of implementing the behavior of the first network device in the above method.
  • the functions can be implemented based on hardware, and can also be implemented based on hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the structure of the first network device includes a processor and an interface, and the processor is configured to support the first network device to perform corresponding functions in the above method.
  • the interface is used to support the first network device to obtain the first packet.
  • the first network device may also include a memory for coupling with the processor and storing necessary program instructions and data for the first network device.
  • the first network device includes: a processor, a transmitter, a receiver, a random access memory, a read only memory, and a bus.
  • the processor is respectively coupled to the transmitter, the receiver, the random access memory and the read only memory through the bus.
  • the basic input/output system solidified in the read-only memory or the bootloader in the embedded system is used to boot the system to start, and the first network device is guided to enter a normal operation state. After the first network device enters the normal operation state, the application program and the operating system are run in the random access memory, so that the processor executes the method in the first aspect or any possible implementation manner of the first aspect.
  • a first network device in a fourth aspect, includes: a main control board and an interface board, and further includes a switching network board.
  • the first network device is configured to execute the method in the first aspect or any possible implementation manner of the first aspect.
  • the first network device includes a module for executing the method in the first aspect or any possible implementation manner of the first aspect.
  • a first network device in a fifth aspect, includes a control module and a first forwarding sub-device.
  • the first forwarding sub-device includes: an interface board, and further, may also include a switching network board.
  • the first forwarding sub-device is configured to perform the function of the interface board in the fourth aspect, and further, may also perform the function of the switching network board in the fourth aspect.
  • the control module includes a receiver, a processor, a transmitter, a random access memory, a read-only memory and a bus. Wherein, the processor is respectively coupled to the receiver, the transmitter, the random access memory and the read only memory through the bus.
  • the basic input/output system solidified in the read-only memory or the bootloader in the embedded system is used to boot the system to start, and the control module is guided to enter a normal operation state.
  • the application program and the operating system are run in the random access memory, so that the processor performs the function of the main control board in the sixth aspect.
  • the first network device may include any number of interfaces, processors or memories.
  • a computer program product comprising: computer program code, when the computer program code is run on a computer, the computer program code enables the computer to execute the above-mentioned first aspect or any one of the possible execution of the first aspect.
  • a computer-readable medium stores program codes, and when the computer program codes are run on a computer, the computer can execute the first aspect or any one of the first aspects. method of execution.
  • These computer-readable storages include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (erasable PROM, EPROM), Flash memory, electrical EPROM (electrically EPROM, EEPROM) and hard drive (hard drive).
  • a chip in an eighth aspect, includes a processor and a data interface, wherein the processor reads an instruction stored in a memory through the data interface to execute the first aspect or any possible implementation manner of the first aspect method in .
  • the chip can be a central processing unit (CPU), a microcontroller (MCU), a microprocessor (microprocessing unit, MPU), a digital signal processor (digital signal processor) processing, DSP), system on chip (SoC), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or programmable logic device (programmable logic device) , PLD).
  • CPU central processing unit
  • MCU microcontroller
  • MPU microprocessor
  • DSP digital signal processor
  • SoC system on chip
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • PLD programmable logic device
  • a system for forwarding a message includes the above-mentioned first network device.
  • FIG. 1 is a schematic diagram of a scenario provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a packet forwarding method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another packet forwarding method provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a first network device 400 provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a hardware structure of a first network device 2000 according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a hardware structure of another first network device 2100 according to an embodiment of the present application.
  • the network architecture and service scenarios described in the embodiments of the present application are to more clearly describe the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application.
  • the evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • references in this specification to "one embodiment” or “some embodiments” and the like mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • At least one means one or more, and “plurality” means two or more.
  • “And/or”, which describes the relationship of the associated objects, means that there can be three relationships, for example, A and/or B, which can mean: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • “At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one item (a) of a, b, or c may represent: a, b, c, ab, ac, bc, or abc, where a, b, and c may be single or multiple .
  • Multicast is an efficient way to send data at the same time by using a multicast address to multiple devices on a transmission control protocol (TCP)/Internet protocol (Internet Protocol, IP) network.
  • TCP transmission control protocol
  • IP Internet Protocol
  • the multicast source sends the multicast stream to the members of the multicast group via the links in the network, and all the members of the multicast group in the multicast group can receive the multicast stream.
  • the multicast transmission mode realizes the point-to-multipoint data connection between the multicast source and the members of the multicast group. Since the multicast stream only needs to be transmitted once on each network link, and only when the link has a branch, the multicast will be replicated. Therefore, the multicast transmission method improves the data transmission efficiency and reduces the possibility of congestion in the backbone network.
  • the IP multicast technology uses the multicast group address as the destination address of the packet, and uses the protocol independent multicast (PIM) signaling to establish a multicast forwarding tree. And use the multicast forwarding tree to logically tree the network plane to realize multicast point-to-multipoint data forwarding.
  • PIM protocol independent multicast
  • This IP multicast technology based on building a multicast forwarding tree can realize high-efficiency point-to-multipoint data transmission in an IP network, and can effectively save network bandwidth and reduce network load. Therefore, it has a wide range of applications in real-time data transmission, multimedia conferences, data copying, internet protocol television (IPTV), games and simulations.
  • IPTV internet protocol television
  • IP multicast technology is implemented by using an Internet Protocol Version 6 (Internet Protocol Version 6, IPv6) unicast address as the destination address of the message.
  • a point-to-multipoint (P2MP) forwarding path is established from an ingress router to multiple egress routers, and multicast packets are forwarded along the P2MP forwarding path.
  • the P2MP forwarding path can be used as a tunnel, the ingress router encapsulates the multicast packet in the tunnel, and the egress router decapsulates the multicast packet, restores it, and sends it.
  • the segment routing replication (SR-replication) domain of FIG. 1 may include: R1, R3, R5, R6, R7, and R8.
  • R1 is the ingress device of the segment routing replication domain, which is responsible for IPv6 encapsulation of multicast packets. Specifically, it can encapsulate an IPv6 header in the outer layer of the multicast packet, and the IPv6 header can contain the destination address. (destination address, DA) field and source address field (source address, SA).
  • R3 and R5 are transit devices in the segment routing replication domain, and are responsible for forwarding packets according to the destination address (DA) in the IPv6 header encapsulated in the outer layer of the multicast packet.
  • R6, R7, and R8 are egress devices of the segment routing replication domain, responsible for decapsulating the encapsulated multicast packets, and then forwarding the inner multicast packets.
  • each node (R1, R3, R5, R6, R7, R8) all need to reserve multiple addresses in their respective IPv6 address spaces, so as to realize the purpose of establishing multiple multicast trees with R1 as the root node.
  • the branch information of the device may be one or more P2MP downstream devices of the device. It should be understood that, if the device is a leaf device of P2MP, the packet is usually decapsulated on the device, and then the inner-layer multicast packet is forwarded. Therefore, such a leaf device may have no downstream device, and its corresponding branch information may be represented by decapsulation (decapsulation, decap).
  • the manner of determining other addresses is the same as the manner of determining the destination address R1_1, and details are not repeated here.
  • each device in the network reserves multiple addresses for multiple multicast trees, and different addresses are used to distinguish different multicast trees. For example, if two multicast trees are established with R1 as the root node, take R5 as an example, R5 reserves two addresses, R5_1 and R5_2 respectively, where R5_1 represents the multicast tree identified by the solid line with R1 as the root node , R5_2 represents the multicast tree identified by the dotted line with R1 as the root node.
  • each device needs to reserve 1000 addresses in its own IPv6 address space, and a total of 100*1000 addresses need to be reserved, and there is a large waste of address space.
  • the embodiment of the present application provides a method for packet forwarding, which only requires the root node R1 to reserve multiple addresses corresponding to multiple multicast trees, and other devices do not need to reserve corresponding addresses for multiple multicast trees. In this way, when multiple multicast trees are established with R1 as the root node, the waste of IPv6 address space can be reduced.
  • a packet forwarding method provided by an embodiment of the present application is described in detail below with reference to FIG. 2 .
  • FIG. 2 is a schematic flowchart of a packet forwarding method provided by an embodiment of the present application. As shown in FIG. 2, the method may include steps 210-230, and the steps 210-230 will be described in detail below respectively.
  • Step 210 The first network device obtains a first packet, where the first packet includes a multicast packet.
  • the first network device may be an ingress (ingress) device, or may also be an intermediate forwarding device, or may also be an egress (egress) device, which is not specifically limited in this application.
  • the first packet acquired by the first network device may be a multicast packet.
  • the first packet obtained by the first network device may be an IPv6 packet, and the IPv6 packet is an IPv6 encapsulation of the multicast packet. message, and the IPv6 message is a unicast message.
  • Step 220 The first network device determines the next hop destination address (destination address, DA) of the multicast packet according to the source address (source address, SA) and the first correspondence.
  • the SA may be used to identify the multicast path corresponding to the multicast packet. That is to say, different SAs can correspond to different multicast paths, and different multicast paths can be distinguished by different SAs.
  • the multicast path refers to the entire forwarding path between the ingress node of the multicast packet and the egress node, and the egress node may be one or multiple, which is not specifically limited in this application.
  • the multicast path may also be referred to as a point-to-multipoint path, where a point represents an ingress node of a multicast packet, and a multipoint may represent a point-to-multipoint path. Multiple exit nodes.
  • the first network device may also determine the SA.
  • SA There are various specific implementation manners, which are not specifically limited in this application, and possible implementation manners are described in detail below.
  • the first network device may determine the multicast packet according to the multicast flow information of the multicast packet. Then, according to the corresponding relationship between the multicast path and SA, the SA of the multicast packet is determined. The first network device encapsulates the SA in the IPv6 header of the outer layer of the multicast packet to obtain the encapsulated IPv6 packet.
  • the first packet The message includes an outer IPv6 header and a multicast message, wherein the outer IPv6 header of the first message includes SA and DA. If the DA in the outer IPv6 header of the first packet is the address of the first network device (for example, an IPv6 address), the first network device determines that it needs to read the outer layer of the first packet according to the DA in the outer IPv6 header of the first packet SA for IPv6 header.
  • the first network device may search for the first correspondence according to the SA in the read outer IPv6 header of the first message and determine the next hop DA of the multicast message, wherein the first correspondence includes the SA and the multicast path. the next hop DA of the above-mentioned first network device.
  • next-hop DA in the first correspondence is a DA list (list), and the list includes one or more next-hop DAs. That is, the first correspondence includes the SA and one or more next-hop DAs of the first network device on the multicast path.
  • next-hop DA of the multicast packet determined according to the SA and the first correspondence is all the next-hop DAs of the list.
  • next hop DA of the multicast packet is the address of the next hop device of the first network device, for example, the IPv6 address of the next hop device.
  • the next-hop device is a device that supports multicast packet forwarding based on the unicast destination address of the IPv6 packet.
  • the next-hop device may be a device directly connected to the first network device, or may be a device indirectly connected to the first network device through other nodes in the network, which is not specifically limited in this application.
  • R1 is the first network device
  • R3 is the next hop device of the first network device
  • R3 can forward the multicast packet based on the unicast destination address of the IPv6 packet. If there is still a device R13 between R1 and R3 that does not forward multicast packets based on the unicast destination address of IPv6 packets (not shown in Figure 1), a possible situation is that R13 does not support the above-mentioned A device that performs multicast forwarding based on a unicast address, so it is necessary to traverse (or skip) such a device when generating the corresponding forwarding table.
  • R13 is a device that supports multicast forwarding based on unicast addresses as described above, but traverses (or skips) such a device when generating the corresponding forwarding table to improve its forwarding performance, This application does not specifically limit this.
  • the next hop DA of the received packet is not itself. Therefore, the packet is transparently transmitted, and the packet is forwarded to the next hop of the first network device according to the next hop DA in the packet. Jump equipment.
  • the first network device may further establish the above-mentioned first correspondence.
  • the first network device may receive configuration information from the control device, where the configuration information includes the SA and the multicast path corresponding to the multicast packet.
  • the first network device establishes the above-mentioned first correspondence according to the configuration information.
  • control device may be an independent device, for example, an independent controller, or may be a control function performed by a certain forwarding device that forwards packets (for example, the control plane of a certain forwarding device) , which is not specifically limited in this application.
  • the first correspondence includes an SA corresponding to the identification multicast path and the multicast path.
  • the multicast path includes a list of next-hop devices forwarded by the first network device along the multicast path, and the list includes IP addresses of one or more next-hop devices.
  • the multicast path is branch information of the multicast tree, which is used to instruct to copy the packet to one or more next-hop devices in the list.
  • the first correspondence includes an SA identifying the multicast path, a list of next-hop devices forwarded by the first network device along the multicast path, and indication information, where the indication information It is used to instruct to copy the packet to one or more next-hop devices in the list.
  • the first network device when the first network device is an Egress node, there is no IP address of the next hop device in the above list, and the branch information of the multicast tree or the indication information in the table indicates that the Packets are decapsulated.
  • the above-mentioned branch list includes both the IP address of the next-hop device and the instruction pair message. Instructions for decapsulation.
  • the next hop DA of the multicast packet determined by the first network device according to the source address SA and the first correspondence may be the IPv6 address of the next hop device forwarded by the first network device along the multicast path.
  • Step 230 The first network device obtains the second packet according to the next hop DA.
  • the first packet obtained by the first network device is a multicast packet
  • the first network device obtains the next hop DA of the multicast packet through step 220 (No.
  • the next-hop DA can be encapsulated in the IPv6 header of the outer layer of the multicast packet to obtain a second packet, and the second packet is for the multicast packet.
  • the first packet obtained by the first network device is an IPv6 packet, wherein the outer IPv6 header of the first packet includes SA and DA.
  • the DA in the received first packet outer IPv6 header may be determined as: The next hop DA of the multicast packet is to obtain the second packet.
  • next hop DA and the address of the next hop device of the first network device please refer to the description in step 220, and details are not repeated here.
  • Step 240 The first network device forwards the second packet along the multicast path according to the next hop DA.
  • the first network device forwards the second packet along the above determined multicast path according to the next hop DA.
  • the multicast path includes the IPv6 address of the next-hop device of the first network device, and the first network device sends the IPv6 address to the next-hop device of the first network device according to the next-hop DA being the IPv6 address of the next-hop device.
  • the next-hop device sends the second packet.
  • the multicast path instructs the first network device to decapsulate the packet.
  • the first network device decapsulates the second packet according to the multicast path, obtains the multicast packet, and forwards the multicast packet.
  • the root node of the multicast tree needs to reserve multiple corresponding IPv6 addresses for the multiple multicast trees, and the rest of the devices only need to configure one IPv6 address as the destination address to implement multiple multicast trees.
  • Multicast forwarding If there are 100 devices in the network, 1000 multicast trees need to be established with the root node. Under the relevant technical solution, each device needs to reserve 1000 addresses in its own IPv6 address space, and a total of 100*1000 addresses need to be reserved; However, in this application, only the root node needs to allocate 1000 addresses to 1000 multicast trees, thereby reducing the problem of wasting IPv6 address space.
  • FIG. 3 is a schematic flowchart of another packet forwarding method provided by an embodiment of the present application. As shown in FIG. 3, the method may include steps 310-330, and the steps 310-330 will be described in detail below respectively.
  • multicast path described above may also be referred to as a multicast tree, and a multicast tree is used as an example for description in FIG. 3 .
  • Step 310 Each device in the network receives the information of the multicast tree.
  • an address R1_1 of R1 needs to be allocated.
  • the address R1_1 is sent to each node under the multicast tree, and the branch information of the multicast tree on each node is sent.
  • the above-mentioned process of allocating and delivering may be completed by the controller, or may be completed by a message on the control plane of the device, which is not specifically limited in this application.
  • the nodes under the multicast tree identified by the solid line with R1 as the root node may include: R1, R3, R5, R6, R7, and R8.
  • the information of the multicast tree identified by the solid lines received by the above nodes is shown in Table 5.
  • the multicast tree is the multicast tree marked by the solid line shown in Figure 1, and the downstream devices of R3 are R7 and R8.
  • an address R1_2 of R1 needs to be allocated.
  • the address R1_2 is sent to each node under the multicast tree, and the branch information of the multicast tree on each node is sent.
  • the above allocation and delivery process may be completed by the controller, or may be completed by a message on the control plane, which is not specifically limited in this application.
  • the nodes under the multicast tree identified by the dotted line with R1 as the root node may include: R1, R3, R5, R6, R7, and R8.
  • the information of the multicast tree identified by the dotted line received by the above nodes is shown in Table 6.
  • the multicast tree is the multicast tree marked by the dotted line shown in Figure 1, and the downstream device of R3 is R7.
  • the multicast tree is the multicast tree marked by the dotted line shown in Figure 1.
  • Step 320 Each device in the network establishes a corresponding relationship according to the information of the multicast tree.
  • each device in the network configures a first address as the destination address of the packet, where the first address is used to instruct to search for the source address corresponding to the packet according to the destination address of the packet.
  • the device searches for the source address of the packet.
  • the first addresses allocated by R1, R3, R5, R6, R7, and R8 are R1_0, R3_0, R5_0, R6_0, R7_0, and R8_0, respectively.
  • R1 searches for the source address of the packet.
  • R3 searches for the source address of the packet. And so on.
  • Step 330 Each device in the network forwards the IPv6 packet based on the established correspondence.
  • R1 receives a multicast packet of the multicast source group (S1, G1) from an interface belonging to a virtual routing forwarding (VRF) instance VRF1.
  • the forwarding plane of R1 can import the multicast stream (VRF1, S1, G1) into the multicast tree marked by the solid line, and forward the multicast stream (VRF1, S1, G1) along the multicast tree marked by the solid line .
  • R1 can import the multicast flow information (VRF1, S1, G1) to the multicast tree marked by the solid line according to the following configuration information.
  • R1 can also encapsulate the multicast packets of the multicast source group (S1, G1) according to the following correspondence, so that the multicast packets of the multicast source group (S1, G1) can follow the multicast tree identified by the solid line forward.
  • R1 encapsulates an outer IPv6 header on the multicast packet, the source address of the outer IPv6 header is R1_1, and the destination address is the first address R1_0 allocated by R1.
  • R1 obtains the destination address of the outer IPv6 header of the packet as R1_0, and searches for the source address SA of the packet according to the instructions of R1_0.
  • the destination address of the packet received by R3 is R3_0, and R3 searches for the source address SA of the packet according to the indication that the destination address is R3_0.
  • the forwarding plane of R3 can modify the destination address of the packet to R5_0 and send it to the R5 node, and change the destination address of the packet to R6_0 and send it to the R6 node.
  • the destination address of the packet received by R5 is R5_0, and R5 searches for the source address SA of the packet according to the indication that the destination address is R5_0.
  • the forwarding plane of R5 can modify the destination address of the packet to R7_0 and send it to the R7 node, and change the destination address of the packet to R8_0 and send it to the R8 node.
  • the destination address of the packet received by R6 is R6_0, and R6 searches for the source address SA of the packet according to the indication that the destination address is R6_0.
  • the destination address of the packet received by R7 is R7_0, and R7 searches for the source address SA of the packet according to the indication that the destination address is R7_0.
  • the destination address of the packet received by R8 is R8_0, and R8 searches for the source address SA of the packet according to the indication that the destination address is R8_0.
  • R1 receives the multicast packet of the multicast source group (S2, G2) from an interface belonging to the virtual routing forwarding (VRF) instance VRF2.
  • the forwarding plane of R1 can import the multicast flow information (VRF2, S2, G2) into the multicast tree marked by the dotted line, and perform the multicast flow information (VRF2, S2, G2) along the multicast tree marked by the dotted line. Forward.
  • R1 can import the multicast stream information (VRF2, S2, G2) to the multicast tree marked by the solid line according to the following configuration information.
  • R1 can also encapsulate the multicast packets of the multicast source group (S2, G2) according to the following correspondence, so that the multicast packets of the multicast source group (S2, G2) can follow the multicast tree identified by the dotted line forward.
  • R1 encapsulates an outer layer IPv6 header on the multicast packet, the source address of the outer layer IPv6 header is R1_2, and the destination address is the first address R1_0 allocated by R1.
  • R1 obtains the destination address of the outer IPv6 header of the packet as R1_0, and searches for the source address SA of the packet according to the instructions of R1_0.
  • the destination address of the packet received by R3 is R3_0, and R3 searches for the source address SA of the packet according to the indication that the destination address is R3_0.
  • the forwarding plane of R3 can modify the destination address of the packet to R5_0 and send it to the R5 node, and change the destination address of the packet to R6_0 and send it to the R6 node.
  • the destination address of the packet received by R5 is R5_0, and R5 searches for the source address SA of the packet according to the indication that the destination address is R5_0.
  • the destination address of the packet received by R6 is R6_0, and R6 searches for the source address SA of the packet according to the indication that the destination address is R6_0.
  • the destination address of the packet received by R7 is R7_0, and R7 searches for the source address SA of the packet according to the indication that the destination address is R7_0.
  • FIG. 4 is a schematic structural diagram of a first network device 400 provided by an embodiment of the present application.
  • the first network device 400 shown in FIG. 4 may perform the corresponding steps performed by the first network device in the methods of the foregoing embodiments.
  • the first network device 400 includes: a receiving module 410, a processing module 420, a sending module 430,
  • a receiving module 410 configured to acquire a first packet, where the first packet includes a multicast packet
  • the processing module 420 is configured to determine the next hop destination address DA of the multicast message according to the source address SA and the first correspondence, wherein the SA is used to identify the multicast path corresponding to the multicast message,
  • the first correspondence includes SA and the next hop DA of the first network device on the multicast path;
  • the processing module 420 is further configured to obtain a second packet according to the next hop DA, where the second packet is a unicast packet after IPv6 encapsulation is performed on the multicast packet;
  • the sending module 430 is configured to forward the second packet along the multicast path according to the next hop DA.
  • processing module 420 is further configured to: determine the SA.
  • the first network device is an ingress device
  • the first packet is the multicast packet
  • the processing module 420 is specifically configured to: determine the multicast corresponding to the multicast packet path; the SA is determined according to the multicast path and the corresponding relationship between the multicast path and the SA.
  • the first network device is an intermediate device or an egress device
  • the first message is a unicast message after IPv6 encapsulation is performed on the multicast message
  • the processing module 420 is specifically configured to: determine Whether the DA of the first packet is the IPv6 address of the first network device; if the DA of the first packet is the IPv6 address of the first network device, read according to the DA of the first packet Get the SA of the first packet.
  • the receiving module 410 is further configured to receive configuration information from the control device, where the configuration information includes the SA and the multicast path corresponding to the multicast packet; the processing module 420 is further configured to The configuration information establishes the first correspondence.
  • the multicast path includes the Internet Protocol version 6 IPv6 address of the next hop device of the first network device, and the sending module 430 is specifically configured to: according to the next hop DA, for the next hop device.
  • the IPv6 address of the first-hop device sends the second packet to the next-hop device.
  • the multicast path indicates to decapsulate the packet
  • the processing module is further configured to decapsulate the second packet to obtain the multicast packet
  • the sending module 430 is further configured to decapsulate the second packet. for forwarding the multicast packet.
  • the SA is an IPv6 address.
  • FIG. 5 is a schematic diagram of a hardware structure of a first network device 2000 according to an embodiment of the present application.
  • the first network device 2000 shown in FIG. 5 may perform the corresponding steps performed by the first network device in the methods of the foregoing embodiments.
  • the first network device 2000 includes a processor 2001 , a memory 2002 , an interface 2003 and a bus 2004 .
  • the interface 2003 may be implemented in a wireless or wired manner, and may specifically be a network card.
  • the above-mentioned processor 2001 , memory 2002 and interface 2003 are connected through a bus 2004 .
  • the interface 2003 may specifically include a transmitter and a receiver, which are used by the first network device to implement the above-mentioned transceiving.
  • the interface 2003 is used for acquiring the first packet, or for sending the second packet.
  • the processor 2001 is configured to execute the processing performed by the first network device in the foregoing embodiment. For example, for determining the next hop DA of the multicast message according to the source address SA and the first correspondence; obtaining the second message according to the next hop DA; and/or other procedures for the techniques described herein .
  • the memory 2002 includes an operating system 20021 and an application program 20022 for storing programs, codes or instructions. When the processor or hardware device executes these programs, codes or instructions, the processing process involving the first network device in the method embodiment can be completed.
  • the memory 2002 may include read-only memory (ROM) and random access memory (RAM).
  • the ROM includes a basic input/output system (basic input/output system, BIOS) or an embedded system;
  • the RAM includes an application program and an operating system.
  • BIOS basic input/output system
  • the system is booted through the BIOS solidified in the ROM or the bootloader in the embedded system, and the first network device 2000 is guided into a normal operation state.
  • the application program and the operating system running in the RAM thus, the processing process involving the first network device 2000 in the method embodiment is completed.
  • FIG. 5 only shows a simplified design of the first network device 2000 .
  • the first network device may contain any number of interfaces, processors or memories.
  • FIG. 6 is a schematic diagram of a hardware structure of another first network device 2100 according to an embodiment of the present application.
  • the first network device 2100 shown in FIG. 6 may perform the corresponding steps performed by the first network device in the methods of the foregoing embodiments.
  • the first network device 2100 includes: a main control board 2110 , an interface board 2130 , a switching network board 2120 and an interface board 2140 .
  • the main control board 2110, the interface boards 2130 and 2140, and the switching network board 2120 are connected to the system backplane through the system bus to realize intercommunication.
  • the main control board 2110 is used to complete functions such as system management, equipment maintenance, and protocol processing.
  • the switch fabric board 2120 is used to complete data exchange between interface boards (interface boards are also called line cards or service boards).
  • the interface boards 2130 and 2140 are used to provide various service interfaces (eg, POS interface, GE interface, ATM interface, etc.), and realize data packet forwarding.
  • the interface board 2130 may include a central processing unit 2131 , a forwarding table entry memory 2134 , a physical interface card 2133 and a network processor 2132 .
  • the central processing unit 2131 is used to control and manage the interface board and communicate with the central processing unit on the main control board.
  • the forwarding entry storage 2134 is used to store entries, eg, BIFT above.
  • the physical interface card 2133 is used to receive and transmit traffic.
  • first network device 2100 in this embodiment may correspond to the functions and/or various steps performed by the foregoing method embodiments, and details are not described herein again.
  • main control boards there may be one or more main control boards, and when there are multiple main control boards, they may include an active main control board and a backup main control board.
  • the first network device may not need to switch the network board, and the interface board undertakes the processing function of the service data of the entire system.
  • the first network device may have at least one switching network board, and the switching network board realizes data exchange between multiple interface boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of the first network device in the distributed architecture are greater than those in the centralized architecture.
  • the specific architecture used depends on the specific networking deployment scenario, and there is no restriction here.
  • Embodiments of the present application further provide a computer-readable medium, where program codes are stored in the computer-readable medium, and when the computer program codes are run on a computer, the computer executes the method performed by the first network device.
  • These computer-readable storages include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (erasable PROM, EPROM), Flash memory, electrical EPROM (electrically EPROM, EEPROM) and hard drive (hard drive).
  • An embodiment of the present application further provides a chip system, which is applied to the first network device, the chip system includes: at least one processor, at least one memory, and an interface circuit, where the interface circuit is responsible for information between the chip system and the outside world interaction, the at least one memory, the interface circuit and the at least one processor are interconnected by a wire, and the at least one memory stores instructions; the instructions are executed by the at least one processor to perform the above aspects The operation of the first network device in the method.
  • the chip can be a central processing unit (CPU), a microcontroller (MCU), a microprocessor (microprocessing unit, MPU), a digital signal processor (digital signal processor) processing, DSP), system on chip (SoC), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or programmable logic device (programmable logic device) , PLD).
  • CPU central processing unit
  • MCU microcontroller
  • MPU microprocessor
  • DSP digital signal processor
  • SoC system on chip
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • PLD programmable logic device
  • Embodiments of the present application further provide a computer program product, which is applied to a first network device, where the computer program product includes a series of instructions, when the instructions are executed, to perform the methods described in the above aspects. Operation of the first network device.
  • the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请提供了一种报文转发的方法、设备以及***,该方法包括:第一网络设备获取第一报文,第一报文包括组播报文;第一网络设备根据源地址SA以及第一对应关系确定组播报文的下一跳目的地址DA,SA用于标识所述组播报文对应的组播路径,第一对应关系包括SA与组播路径上第一网络设备的下一跳DA;第一网络设备根据所述下一跳DA获得第二报文,所述第二报文是对所述组播报文进行IPv6封装后的单播报文;第一网络设备根据所述下一跳DA,将所述第二报文沿着所述组播路径进行转发。本申请提供的技术方案可以减少地址空间的浪费。

Description

报文转发的方法、设备以及***
本申请要求于2020年7月14日提交国家知识产权局、申请号为202010671831.7、发明名称为“一种组播转发方法、设备及***”的中国专利申请的优先权,以及于2020年9月9日提交国家知识产权局、申请号为202010939135.X、发明名称为“报文转发的方法、设备以及***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及网络通信领域,并且更具体地,涉及一种报文转发的方法、设备以及***。
背景技术
组播(multicast)是一种通过使用一个组播地址将数据在同一时间以高效的方式发往处于传输控制协议(transmission control protocol,TCP)/互联网协议(internet protocol,IP)网络上的多个接收者的数据传输方式。组播源经由网络中的链路向组播组中的组播组成员发送组播流,该组播组中的组播组成员均可以接收到该组播流。组播传输方式实现了组播源和组播组成员之间的点对多点的数据连接。由于组播流在每条网络链路上只需传递一次,且只有在链路出现支路时,该组播才会被复制。因此,组播传输方式提高了数据传输效率和减少了骨干网络出现拥塞的可能性。
IP组播技术以组播组地址作为报文的目的地址,使用独立多播协议(protocal independent multicast,PIM)信令建立组播转发树。并利用组播转发树将网络平面逻辑树状,以实现组播点到多点的数据转发。这种以构建组播转发树的IP组播技术可以实现IP网络中点到多点的高效数据传送,能够有效地节约网络带宽、降低网络负载。
相关的技术方案中,网络中的各个设备为多个组播树需要预留多个地址,不同的地址用于区分不同的组播树,这样,存在较大的地址空间的浪费。
发明内容
本申请提供一种报文转发的方法、设备以及***,可以减少地址空间的浪费。
第一方面,提供了一种报文转发的方法,包括:第一网络设备获取第一报文,所述第一报文包括组播报文;所述第一网络设备根据源地址SA以及第一对应关系确定述组播报文的下一跳目的地址DA,其中,所述SA用于标识所述组播报文对应的组播路径,所述第一对应关系包括所述SA与所述组播路径上所述第一网络设备的所述下一跳DA;所述第一网络设备根据所述下一跳DA获得第二报文,所述第二报文是对所述组播报文进行IPv6封装后的单播报文;所述第一网络设备根据所述下一跳DA,将所述第二报文沿着所述组播路径进行转发。
上述技术方案中,只需要根节点(入口设备)为多个组播树预留对应的多个地址,其余设备无需为多个组播树预留对应的多个地址,这样,以入口设备为根节点建立多个组播 树时,可以减少IPv6地址空间的浪费。
在一种可能的实现方式中,在第一网络设备根据源地址SA以及第一对应关系确定下一跳目的地址DA之前,所述方法还包括:所述第一网络设备确定所述SA。
在另一种可能的实现方式中,所述第一网络设备为入口设备,所述第一报文为所述组播报文,所述第一网络设备确定所述组播报文对应的所述组播路径;所述第一网络设备根据所述组播路径以及组播路径和SA的对应关系确定所述SA。
在另一种可能的实现方式中,所述第一网络设备为中间设备或出口设备,所述第一报文是对所述组播报文进行IPv6封装后的单播报文,所述第一网络设备确定所述第一报文的DA是否为所述第一网络设备的地址;如果所述第一报文的DA为所述第一网络设备的IPv6地址,所述第一网络设备根据所述第一报文的DA读取所述第一报文的SA。
在另一种可能的实现方式中,所述方法还包括:所述第一网络设备从控制设备接收配置信息,所述配置信息包括所述SA和组播报文对应的组播路径;所述第一网络设备根据所述配置信息建立所述第一对应关系。
在另一种可能的实现方式中,所述组播路径包含所述第一网络设备的下一跳设备的互联网协议第6版IPv6地址,所述第一网络设备根据所述下一跳DA为所述下一跳设备的IPv6地址,向所述下一跳设备发送所述第二报文。
在另一种可能的实现方式中,所述组播路径指示对报文进行解封装,所述方法还包括:所述第一网络设备对所述第二报文进行解封装,得到所述组播报文;所述第一网络设备对所述组播报文进行转发。
在另一种可能的实现方式中,所述SA为IPv6地址。
第二方面,提供了一种第一网络设备,包括:
接收模块,用于获取第一报文,所述第一报文包括组播报文;
处理模块,用于根据源地址SA以及第一对应关系确定所述组播报文的下一跳目的地址DA,其中,所述SA用于标识所述组播报文对应的组播路径,所述第一对应关系包括所述SA与所述组播路径上所述第一网络设备的所述下一跳DA;
所述处理模块,还用于根据所述下一跳DA获得第二报文,所述第二报文是对所述组播报文进行IPv6封装后的单播报文;
发送模块,用于根据所述下一跳DA,将所述第二报文沿着所述组播路径进行转发。
在一种可能的实现方式中,所述处理模块还用于:确定所述SA。
在另一种可能的实现方式中,所述第一网络设备为入口设备,所述第一报文为所述组播报文,所述处理模块还用于:确定所述组播报文对应的所述组播路径;根据所述组播路径以及组播路径和SA的对应关系确定所述SA。
在另一种可能的实现方式中,所述第一网络设备为中间设备或出口设备,所述第一报文是对所述组播报文进行IPv6封装后的单播报文,所述处理模块具体用于:确定所述第一报文的DA是否为所述第一网络设备的IPv6地址;如果所述第一报文的DA为所述第一网络设备的IPv6地址,根据所述第一报文的DA读取所述第一报文的SA。。
在另一种可能的实现方式中,所述接收模块,还用于从控制设备接收配置信息,所述配置信息包括所述SA和所述组播报文对应的组播路径;所述处理模块,还用于根据所述配置信息建立所述第一对应关系。
在另一种可能的实现方式中,所述组播路径包含所述第一网络设备的下一跳设备的互联网协议第6版IPv6地址,所述发送模块具体用于:根据所述下一跳DA为所述下一跳设备的IPv6地址,向所述下一跳设备发送所述第二报文。
在另一种可能的实现方式中,所述组播路径指示对报文进行解封装,所述处理模块,还用于对所述第二报文进行解封装,得到所述组播报文;所述发送模块,还用于对所述组播报文进行转发。
在另一种可能的实现方式中,所述SA为IPv6地址。
第二方面和第二方面的任意一个可能的实现方式的有益效果和第一方面以及第一方面的任意一个可能的实现方式的有益效果是对应的,对此,不再赘述。
第三方面,提供了一种第一网络设备,所述第一网络设备具有实现上述方法中第一网络设备行为的功能。所述功能可以基于硬件实现,也可以基于硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一个可能的设计中,第一网络设备的结构中包括处理器和接口,所述处理器被配置为支持第一网络设备执行上述方法中相应的功能。所述接口用于支持第一网络设备获取第一报文。
所述第一网络设备还可以包括存储器,所述存储器用于与处理器耦合,其保存第一网络设备必要的程序指令和数据。
在另一个可能的设计中,所述第一网络设备包括:处理器、发送器、接收器、随机存取存储器、只读存储器以及总线。其中,处理器通过总线分别耦接发送器、接收器、随机存取存储器以及只读存储器。其中,当需要运行第一网络设备时,通过固化在只读存储器中的基本输入/输出***或者嵌入式***中的bootloader引导***进行启动,引导第一网络设备进入正常运行状态。在第一网络设备进入正常运行状态后,在随机存取存储器中运行应用程序和操作***,使得该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。
第四方面,提供一种第一网络设备,所述第一网络设备包括:主控板和接口板,进一步,还可以包括交换网板。所述第一网络设备用于执行第一方面或第一方面的任意可能的实现方式中的方法。具体地,所述第一网络设备包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的模块。
第五方面,提供一种第一网络设备,所述第一网络设备包括控制模块和第一转发子设备。所述第一转发子设备包括:接口板,进一步,还可以包括交换网板。所述第一转发子设备用于执行第四方面中的接口板的功能,进一步,还可以执行第四方面中交换网板的功能。所述控制模块中包括接收器、处理器、发送器、随机存取存储器、只读存储器以及总线。其中,处理器通过总线分别耦接接收器、发送器、随机存取存储器以及只读存储器。其中,当需要运行控制模块时,通过固化在只读存储器中的基本输入/输出***或者嵌入式***中的bootloader引导***进行启动,引导控制模块进入正常运行状态。在控制模块进入正常运行状态后,在随机存取存储器中运行应用程序和操作***,使得该处理器执行第六方面中主控板的功能。
可以理解的是,在实际应用中,第一网络设备可以包含任意数量的接口,处理器或者存储器。
第六方面,提供了一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码在计算机上运行时,使得计算机执行上述第一方面或第一方面的任一种可能执行的方法。
第七方面,提供了一种计算机可读介质,该计算机可读介质存储有程序代码,当该计算机程序代码在计算机上运行时,使得计算机执行上述第一方面或第一方面的任一种可能执行的方法。这些计算机可读存储包括但不限于如下的一个或者多个:只读存储器(read-only memory,ROM)、可编程ROM(programmable ROM,PROM)、可擦除的PROM(erasable PROM,EPROM)、Flash存储器、电EPROM(electrically EPROM,EEPROM)以及硬盘驱动器(hard drive)。
第八方面,提供一种芯片,该芯片包括处理器与数据接口,其中,处理器通过该数据接口读取存储器上存储的指令,以执行第一方面或第一方面任意一种可能的实现方式中的方法。在具体实现过程中,该芯片可以以中央处理器(central processing unit,CPU)、微控制器(micro controller unit,MCU)、微处理器(micro processing unit,MPU)、数字信号处理器(digital signal processing,DSP)、片上***(system on chip,SoC)、专用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或可编辑逻辑器件(programmable logic device,PLD)的形式实现。
第九方面,提供了一种报文转发的***,该***包括上述第一网络设备。
附图说明
图1是本申请实施例提供的一种场景示意图。
图2是本申请实施例提供的一种报文转发的方法的示意性流程图。
图3是本申请实施例提供的另一种报文转发的方法的示意性流程图。
图4是本申请实施例提供的一种第一网络设备400的示意性结构图。
图5是本申请实施例的第一网络设备2000的硬件结构示意图。
图6为本申请实施例的另一种第一网络设备2100的硬件结构示意图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
本申请将围绕包括多个设备、组件、模块等的***来呈现各个方面、实施例或特征。应当理解和明白的是,各个***可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。
另外,在本申请实施例中,“示例的”、“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。
本申请实施例中,“相应的(corresponding,relevant)”和“对应的(corresponding)”有时可以混用,应当指出的是,在不强调其区别时,其所要表达的含义是一致的。
本申请实施例描述的网络架构以及业务场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知, 随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:包括单独存在A,同时存在A和B,以及单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
组播(multicast)是一种通过使用一个组播地址将数据在同一时间以高效的方式发往处于传输控制协议(transmission control protocol,TCP)/互联网协议(internet protocol,IP)网络上的多个接收者的数据传输方式。组播源经由网络中的链路向组播组中的组播组成员发送组播流,该组播组中的组播组成员均可以接收到该组播流。组播传输方式实现了组播源和组播组成员之间的点对多点的数据连接。由于组播流在每条网络链路上只需传递一次,且只有在链路出现支路时,该组播才会被复制。因此,组播传输方式提高了数据传输效率和减少了骨干网络出现拥塞的可能性。
IP组播技术以组播组地址作为报文的目的地址,使用独立多播协议(protocol independent multicast,PIM)信令建立组播转发树。并利用组播转发树将网络平面逻辑树状,以实现组播点到多点的数据转发。这种以构建组播转发树的IP组播技术可以实现IP网络中点到多点的高效数据传送,能够有效地节约网络带宽、降低网络负载。因此,在实时数据传送、多媒体会议、数据拷贝、交互式网络电视(internet protocol television,IPTV)、游戏和仿真等诸多方面都有广泛的应用。
一种相关的技术方案中,通过互联网协议第六版(internet protocol version 6,IPv6)单播地址作为报文的目的地址实现上述IP组播技术。在从一个入口(ingress)路由器到多个出口(egress)路由器之间建立点到多点(point to multipoint,P2MP)的转发路径,将组播报文沿着P2MP转发路径进行转发。作为示例,可以将P2MP转发路径作为隧道,ingress路由器将组播报文封装在隧道中,egress路由器将组播报文解封装还原并发送。
以图1所示的场景为例。在图1的段路由复制(segment routing replication,SR-replication)域中可以包括:R1、R3、R5、R6、R7、R8。其中,R1为段路由复制域的入口(ingress)设备,负责对组播报文进行IPv6封装,具体的,可以是在组播报文的外层封装一个IPv6头,IPv6头中可以包含目的地址(destination address,DA)字段和源地址字段(source address,SA)。R3、R5为段路由复制域的中间(transit)设备,负责根据组播报文外层封装的IPv6头中的目的地址(destination address,DA)对报文进行转发。 R6、R7、R8为段路由复制域的出口(egress)设备,负责对封装后的组播报文进行解封装,再对内层的组播报文进行转发。
当需要以R1为根节点建立多个组播树(也可以称为P2MP树)时,上述相关的技术方案中,图1所示的段路由复制域中的各个节点(R1、R3、R5、R6、R7、R8)均需要在各自的IPv6地址空间中预留出多个地址,从而实现以R1为根节点建立多个组播树的目的。
以图1所示的实线标识的组播树为例。控制器下发的实线标识的组播树的信息如下表1所示。
表1 实线标识的组播树的信息
Figure PCTCN2021082060-appb-000001
其中,复制标识(replication ID,RepID)=1为实线标识的组播树。设备的branch信息可以是该设备的一个或多个P2MP的下游设备。应理解,如果该设备为P2MP的叶子(leaf)设备,通常在该设备上要进行报文的解封装,再对内层组播报文进行转发。因此,这种叶子设备可以没有下游设备,其对应的branch信息可以使用解封装(decapsulation,decap)表示。
图1中的各设备根据控制器下发的实线标识的组播树的信息生成的对应关系如下表2所示。
表2 实线标识的组播树的对应关系
Figure PCTCN2021082060-appb-000002
其中,表中的目的地址(destination address,DA)R1_1是根据R1的节点标识(node identifier,node ID)以及RepID=1确定的,在应用于IPv6数据面时,R1_1是一个IPv6地址。其他地址的确定方式与目的地址R1_1的确定方式相同,此处不再赘述。
以图1所示的虚线标识的组播树为例。控制器下发的虚线标识的P2MP树的信息如下表3所示。
表3 虚线标识的组播树的信息
Figure PCTCN2021082060-appb-000003
Figure PCTCN2021082060-appb-000004
其中,复制标识(replication ID,RepID)=2为虚线标识的组播树。
图1中的各设备根据控制器下发的虚线标识的组播树的信息生成的对应关系如下表4所示。
表4 虚线标识的组播树对应的对应关系
Figure PCTCN2021082060-appb-000005
以R1为例,如果获取到报文的外层IPv6头中的目的地址为R1_1,转发面进一步查DA=R1_1的转发表,查到如前所描述的P2MP的表项,获知报文要“复制”给R3_1,因此转发面将报文的目的地址再改为R3_1并发送给R3。此后报文就会沿着实线标识的P2MP树发送给各leaf节点、并由各leaf节点解封装。
如果获取到报文的外层IPv6头中的目的地址为R1_2,转发面进一步查DA=R1_2的转发表,查到如前所描述的P2MP的表项,获知报文要“复制”给R3_2,因此转发面将报文的目的地址再改为R3_2并发送给R3。此后报文就会沿着虚线标识的P2MP树发送给各leaf节点、并由各leaf节点解封装。
也就是说,在上述相关的技术方案中,网络中的各个设备为多个组播树预留多个地址,不同的地址用于区分不同的组播树。例如,如果以R1为根节点建立2个组播树,以R5为例,R5预留2个地址,分别为R5_1、R5_2,其中,R5_1代表以R1为根节点的实线标识的组播树,R5_2代表以R1为根节点的虚线标识的组播树。
如果网络中有100个设备,要以R1为根节点建立1000个组播树。上述相关的技术方案下,每个设备需要在各自IPv6地址空间预留1000个地址,总共需要预留100*1000个地址,存在较大的地址空间的浪费。
有鉴于此,本申请实施例提供了一种报文转发的方法,只需要根节点R1为多个组播树预留对应的多个地址,其余设备无需为多个组播树预留对应的多个地址,这样,在以R1为根节点建立多个组播树时,可以减少IPv6地址空间的浪费。
下面结合图2,对本申请实施例提供的一种报文转发的方法进行详细描述。
图2是本申请实施例提供的一种报文转发的方法的示意性流程图。如图2所示,该方法可以包括步骤210-230,下面分别对步骤210-230进行详细描述。
步骤210:第一网络设备获取第一报文,该第一报文包括组播报文。
第一网络设备可以是入口(ingress)设备,或者也可以是中间转发设备,或者还可以是出口(egress)设备,本申请对此不做具体限定。
以第一网络设备为入口(ingress)设备为例,第一网络设备获取到的第一报文可以是组播报文。
以第一网络设备为中间转发设备或出口(egress)设备为例,第一网络设备获取到的 第一报文可以是一个IPv6报文,该IPv6报文是对组播报文进行IPv6封装的报文,且该IPv6报文是一个单播报文。
步骤220:第一网络设备根据源地址(source address,SA)以及第一对应关系确定组播报文的下一跳目的地址(destination address,DA)。
本申请实施例中,SA可以用于标识所述组播报文对应的组播路径。也就是说,不同的SA可以对应不同的组播路径,可以通过不同的SA来区分不同的组播路径。
应理解,组播路径指组播报文的入口节点到出口节点之间的整个转发路径,该出口节点可以是一个,或者也可以是多个,本申请对此不做具体限定。作为示例,当组播报文的出口节点有多个时,组播路径也可以称为点到多点路径,其中,点表示组播报文的入口节点,多点可以表示组播报文的多个出口节点。
可选的,在步骤220之前,第一网络设备还可以确定SA。具体的实现方式多种,本申请对此不做具体限定,下面对可能的实现方式进行详细描述。
一种可能的实现方式中,以第一网络设备可以是入口(ingress)设备为例,第一网络设备接收到组播报文之后,可以根据组播报文的组播流信息确定组播报文转发的组播路径,再根据组播路径和SA的对应关系确定组播报文的SA。第一网络设备将该SA封装在组播报文外层的IPv6头中,得到封装后的IPv6报文。
另一种可能的实现方式中,以第一网络设备为中间转发设备或出口(egress)设备为例,第一网络设备接收到的是一个IPv6报文(第一报文),该第一报文包括外层IPv6头以及组播报文,其中,第一报文的外层IPv6头中包括SA和DA。如果第一报文外层IPv6头的DA为第一网络设备的地址(例如,IPv6地址),第一网络设备根据第一报文外层IPv6头的DA确定需要读取第一报文外层IPv6头的SA。第一网络设备可以根据读取的第一报文外层IPv6头的SA查找第一对应关系并确定组播报文的下一跳DA,其中,第一对应关系包括SA与所述组播路径上所述第一网络设备的所述下一跳DA。
应理解,第一对应关系中的下一跳DA是一个DA列表(list),该list中包括一个或多个下一跳DA。也就是说,第一对应关系中包括所述SA与组播路径上所述第一网络设备的一个或多个下一跳DA。
还应理解,本申请实施例中根据SA和第一对应关系确定的组播报文的下一跳DA是所述list的全部下一跳DA。
需要说明的是,所述组播报文的下一跳DA为第一网络设备的下一跳设备的地址,例如,下一跳设备的IPv6地址。所述下一跳设备为支持基于IPv6报文的单播目的地址进行组播报文转发的设备。所述下一跳设备可以是和第一网络设备直连的设备、也可以是通过网络中的其他节点和第一网络设备间接相连的设备,本申请对此不做具体限定。
以图1所示的场景为例,R1为第一网络设备,R3为第一网络设备的下一跳设备,R3可以基于IPv6报文的单播目的地址进行组播报文的转发。如果R1和R3之间还存在不进行基于IPv6报文的单播目的地址进行组播报文转发的设备R13(图1中未示出),一种可能的情况,R13是不支持如上所述的基于单播地址进行组播转发的设备,因此在生成相应的转发表时要穿越(或称为跳过)这样的设备。另一种可能的情况,R13是支持如上所述的基于单播地址进行组播转发的设备,但在生成相应的转发表时穿越(或称为跳过)这样的设备以提升其转发性能,本申请对此不做具体限定。对于R13而言,其接收到的报文 的下一跳DA不是自己,因此,会对报文进行透传,根据报文中的下一跳DA将报文转发给第一网络设备的下一跳设备。
可选地,在步骤220之前,第一网络设备还可以建立上述第一对应关系。作为示例,第一网络设备可以从控制设备接收配置信息,所述配置信息包括所述SA和组播报文对应的组播路径。第一网络设备根据配置信息建立上述第一对应关系。
需要说明的是,控制设备可以是一个独立的设备,例如,一个独立的控制器,还可以是对报文进行转发的某个转发设备执行的控制功能(例如,某个转发设备的控制面),本申请对此不做具体限定。
第一对应关系的形式可以有多种,一种可能的实现方式中,该第一对应关系中包括标识组播路径对应的SA以及该组播路径。该组播路径包括第一网络设备沿着所述组播路径进行转发的下一跳设备的列表,该列表中包括一个或多个下一跳设备的IP地址。例如,该组播路径为组播树的分叉(branch)信息,用于指示将报文复制给所述列表中的一个或多个下一跳设备。另一种可能的实现方式中,该第一对应关系中包括标识组播路径的SA、第一网络设备沿着所述组播路径进行转发的下一跳设备的列表以及指示信息,该指示信息用于指示将报文复制给所述列表中的一个或多个下一跳设备。
可选地,在一些实施例中,当第一网络设备为Egress节点时,上述列表中没有下一跳设备的IP地址,组播树的分叉(branch)信息或表中的指示信息指示对报文进行解封装。
可选地,在一些实施例中,当第一网络设备为Egress节点并且同时还作为另一些节点的Transit节点时,上述branch列表中既有下一跳设备的IP地址、又有指示对报文进行解封装的指示信息。
第一网络设备根据源地址SA以及第一对应关系确定的组播报文的下一跳DA可以是第一网络设备沿着所述组播路径进行转发的下一跳设备的IPv6地址。
步骤230:第一网络设备根据下一跳DA获得第二报文。
以第一网络设备为入口(ingress)设备为例,第一网络设备获取到的第一报文是组播报文,第一网络设备通过步骤220获得组播报文的下一跳DA(第一网络设备的下一跳设备的地址)后,可以将该下一跳DA封装在组播报文外层的IPv6头中,得到第二报文,该第二报文是对组播报文进行IPv6封装后的单播报文。
以第一网络设备为中间转发设备或出口(egress)设备为例,第一网络设备获取到的第一报文是一个IPv6报文,其中,第一报文的外层IPv6头中包括SA和DA。第一网络设备通过步骤220获得组播报文的下一跳DA(第一网络设备的下一跳设备的地址)后,可以将接收到的第一报文外层IPv6头中的DA确定为组播报文的下一跳DA,从而得到第二报文。
具体的有关下一跳DA、第一网络设备的下一跳设备的地址的描述,请参考步骤220中的说明,此处不再赘述。
步骤240:第一网络设备根据下一跳DA,将所述第二报文沿着所述组播路径进行转发。
第一网络设备根据下一跳DA,将所述第二报文沿着上述确定的组播路径进行转发。一个示例,组播路径包含所述第一网络设备的下一跳设备的IPv6地址,第一网络设备根据下一跳DA为所述下一跳设备的IPv6地址,向所述第一网络设备的下一跳设备发送所 述第二报文。
可选地,如果第一网络设备为出口(egress)设备,组播路径指示第一网络设备对报文进行解封装。第一网络设备根据该组播路径,对第二报文进行解封装,得到所述组播报文,并对组播报文进行转发。
上述技术方案中,只需要组播树的根节点为多个组播树预留对应的多个IPv6地址,其余的设备只需要配置一个IPv6地址作为目的地址就可以实现多个组播树下的组播转发。如果网络中有100个设备,要以根节点建立1000个组播树,相关的技术方案下,每个设备需要在各自IPv6地址空间预留1000个地址,总共需要预留100*1000个地址;而本申请中只需要根节点为1000个组播树分配1000个地址即可,从而可以减少IPv6地址空间浪费的问题。
下面以图1所示的场景为例,结合图3对本申请实施例提供的报文转发的方法的一种具体实现过程进行详细描述。
应理解,图3的例子仅仅是为了帮助本领域技术人员理解本申请实施例,而非要将申请实施例限制于所示例的具体数值或具体场景。本领域技术人员根据下面所给出的图3的例子,显然可以进行各种等价的修改或变化,这样的修改和变化也落入本申请实施例的范围内。
图3是本申请实施例提供的另一种报文转发的方法的示意性流程图。如图3所示,该方法可以包括步骤310-330,下面分别对步骤310-330进行详细描述。
应理解,上文所述的组播路径也可以称为组播树,图3中以组播树为例进行描述。
步骤310:网络中的各个设备接收组播树的信息。
本申请实施例中,建立以R1为根节点的多个组播树时,在R1上需要为每个组播树分别分配一个地址。
一种可能的实现方式中,以需要建立图1所示的,以R1为根节点的实线标识的组播树为例,需要分配一个R1的地址R1_1。向该组播树下的各个节点发送地址R1_1,并发送各个节点上该组播树的branch信息。
需要说明的是,上述分配和下发的过程可以通过控制器完成,也可以通过设备控制面的消息完成,本申请对此不做具体限定。
以R1为根节点的实线标识的组播树下的节点可以包括:R1、R3、R5、R6、R7、R8。上述各个节点接收到的实线标识的组播树的信息如表5所示。
表5 实线标识的组播树的信息
Figure PCTCN2021082060-appb-000006
以R1为例,“tree=R1_1”表示组播树为图1所示的实线标识的组播树及组播树与源地址R1_1的对应关系,“branch=R3”表示R1的下游设备为R3。
以R5为例,组播树为图1所示的实线标识的组播树,R3的下游设备为R7和R8。对 于R6而言,组播树为图1所示的实线标识的组播树,“branch=Decap”表示R6为叶子(leaf)设备,其需要对封装后的组播报文进行解封装,再对内层的组播报文进行转发。
另一种可能的实现方式中,以需要建立图1所示的,以R1为根节点的虚线标识的组播树为例,需要分配一个R1的地址R1_2。向该组播树下的各个节点发送地址R1_2,并发送各个节点上该组播树的branch信息。
需要说明的是,上述分配和下发过程可以是通过控制器完成,也可以通过控制面的消息完成,本申请对此不做具体限定。
以R1为根节点的虚线标识的组播树下的节点可以包括:R1、R3、R5、R6、R7、R8。上述各个节点接收到的虚线标识的组播树的信息如表6所示。
表6 虚线标识的组播树的信息
Figure PCTCN2021082060-appb-000007
以R1为例,“tree=R1_2”表示组播树为图1所示的虚线标识的组播树及组播树与源地址R1_2的对应关系,“branch=R3”表示R1的下游设备为R3。
以R5为例,组播树为图1所示的虚线标识的组播树,R3的下游设备为R7。对于R6而言,组播树为图1所示的虚线标识的组播树,“branch=Decap”表示R6为叶子(leaf)设备,其需要对封装后的组播报文进行解封装,再对内层的组播报文进行转发。
步骤320:网络中的各个设备根据组播树的信息建立对应关系。
以图1所示的实线标识的组播树为例,网络中的各个设备根据表5所示的组播树信息建立的对应关系如表7所示。
表7 实线标识的组播树的对应关系
Figure PCTCN2021082060-appb-000008
应理解,网络中的设备各自分别配置一个第一地址作为报文的目的地址,该第一地址用于指示根据报文的目的地址查找该报文对应的源地址。当设备上收到的报文目的地址为该第一地址时,设备会对报文的源地址进行查找。
作为示例,R1、R3、R5、R6、R7、R8分配的第一地址分别为R1_0、R3_0、R5_0、R6_0、R7_0、R8_0。当R1上收到的报文目的地址为R1_0时,R1会对报文的源地址进行查找。当R3上收到的报文目的地址为R3_0时,R3会对报文的源地址进行查找。以此类推。
以R1为例,由于组播树为图1所示的实线标识的组播树,R1的下游设备为R3,因 此,R1建立的对应关系中的“SA=R1_1”表示的源地址为R1_1,“branch_IP=R3_0”表示R1下游设备的IP地址为R3分配的第一地址R3_0。
以R5为例,由于组播树为图1所示的实线标识的组播树,R5的下游设备为R7和R8,因此,R5建立的对应关系中的“SA=R1_1”表示的源地址为R1_1,“branch_IP=R7_0/R8_0”表示R5下游设备的IP地址为R7分配的第一地址R7_0以及为R8分配的第一地址R8_0。
以图1所示的虚线标识的组播树为例,网络中的各个设备根据表6所示的组播树信息建立的对应关系如表8所示。
表8 虚线标识的组播树的对应关系
Figure PCTCN2021082060-appb-000009
步骤330:网络中的各个设备基于建立的对应关系对IPv6报文进行转发。
一种可能的实现方式中,以图1所示的实线标识的组播树为例,基于表7所示的对应关系,对网络中的设备转发IPv6报文的过程进行详细描述。
R1从某个隶属于虚拟路由转发(virtual routing forwarding,VRF)实例VRF1的接口上收到组播源组(S1,G1)的组播报文。R1的转发面可以将组播流(VRF1,S1,G1)导入到实线标识的组播树上,并沿着实线标识的组播树对该组播流(VRF1,S1,G1)进行转发。
作为示例,R1可以根据如下的配置信息将组播流信息(VRF1,S1,G1)导入到实线标识的组播树上。
R1:(vrf1,S1,G1,tree=R1_1)
R1还可以根据如下的对应关系对组播源组(S1,G1)的组播报文进行封装,使得组播源组(S1,G1)的组播报文可以沿着实线标识的组播树进行转发。具体的,R1对组播报文封装一个外层IPv6头,该外层IPv6头的源地址为R1_1,目的地址为R1分配的第一地址R1_0。
R1:(vrf1,S1,G1,SA=R1_1,DA=R1_0)
R1获取到报文外层IPv6头的目的地址为R1_0,根据R1_0的指示查找报文的源地址SA。R1确定报文的源地址SA为R1_1,并根据表7所示的对应关系确定SA=R1_1对应的branch_IP为R3_0。因此,R1获知报文要“复制”给R3_0,R1的转发面可以将报文的目的地址修改为R3_0并发送给R3节点。
R3接收到的报文的目的地址为R3_0,R3根据目的地址为R3_0的指示查找报文的源地址SA。R3确定报文的源地址SA为R1_1,并根据表7所示的对应关系确定SA=R1_1对应的branch_IP为R5_0/R6_0。因此,R3获知报文要“复制”给R5_0以及R6_0,R3的转发面可以将报文的目的地址修改为R5_0发送给R5节点,并将报文的目的地址修改为R6_0发送给R6节点。
R5接收到的报文的目的地址为R5_0,R5根据目的地址为R5_0的指示查找报文的源 地址SA。R5确定报文的源地址SA为R1_1,并根据表7所示的对应关系确定SA=R1_1对应的branch_IP为R7_0/R8_0。因此,R5获知报文要“复制”给R7_0以及R8_0,R5的转发面可以将报文的目的地址修改为R7_0发送给R7节点,并将报文的目的地址修改为R8_0发送给R8节点。
R6接收到的报文的目的地址为R6_0,R6根据目的地址为R6_0的指示查找报文的源地址SA。R6确定报文的源地址SA为R1_1,并根据表7所示的对应关系确定SA=R1_1对应的branch_IP为Decap。因此,R6确定其自己为叶子(leaf)设备,R6对封装后的组播报文进行解封装,再对内层的组播报文进行转发。
R7接收到的报文的目的地址为R7_0,R7根据目的地址为R7_0的指示查找报文的源地址SA。R7确定报文的源地址SA为R1_1,并根据表7所示的对应关系确定SA=R1_1对应的branch_IP为Decap。因此,R7确定其自己为叶子(leaf)设备,R7对封装后的组播报文进行解封装,再对内层的组播报文进行转发。
R8接收到的报文的目的地址为R8_0,R8根据目的地址为R8_0的指示查找报文的源地址SA。R8确定报文的源地址SA为R1_1,并根据表7所示的对应关系确定SA=R1_1对应的branch_IP为Decap。因此,R8确定其自己为叶子(leaf)设备,R8对封装后的组播报文进行解封装,再对内层的组播报文进行转发。
另一种可能的实现方式中,以图1所示的虚线标识的组播树为例,基于表8所示的对应关系,对网络中的设备转发IPv6报文的过程进行详细描述。
R1从某个隶属于虚拟路由转发(virtual routing forwarding,VRF)实例VRF2的接口上收到组播源组(S2,G2)的组播报文。R1的转发面可以将组播流信息(VRF2,S2,G2)导入到虚线标识的组播树上,并沿着虚线标识的组播树对该组播流信息(VRF2,S2,G2)进行转发。
作为示例,R1可以根据如下的配置信息将组播流信息(VRF2,S2,G2)导入到实线标识的组播树上。
R1:(vrf2,S2,G2,tree=R1_2)
R1还可以根据如下的对应关系对组播源组(S2,G2)的组播报文进行封装,使得组播源组(S2,G2)的组播报文可以沿着虚线标识的组播树进行转发。具体的,R1对组播报文封装一个外层IPv6头,该外层IPv6头的源地址为R1_2,目的地址为R1分配的第一地址R1_0。
R1:(vrf2,S2,G2,SA=R1_2,DA=R1_0)
R1获取到报文外层IPv6头的目的地址为R1_0,根据R1_0的指示查找报文的源地址SA。R1确定报文的源地址SA为R1_2,并根据表8所示的对应关系确定SA=R1_2对应的branch_IP为R3_0。因此,R1获知报文要“复制”给R3_0,R1的转发面可以将报文的目的地址修改为R3_0并发送给R3节点。
R3接收到的报文的目的地址为R3_0,R3根据目的地址为R3_0的指示查找报文的源地址SA。R3确定报文的源地址SA为R1_2,并根据表8所示的对应关系确定SA=R1_2对应的branch_IP为R5_0/R6_0。因此,R3获知报文要“复制”给R5_0以及R6_0,R3的转发面可以将报文的目的地址修改为R5_0发送给R5节点,并将报文的目的地址修改为R6_0发送给R6节点。
R5接收到的报文的目的地址为R5_0,R5根据目的地址为R5_0的指示查找报文的源地址SA。R5确定报文的源地址SA为R1_2,并根据表8所示的对应关系确定SA=R1_2对应的branch_IP为R7_0。因此,R5获知报文要“复制”给R7_0,R5的转发面可以将报文的目的地址修改为R7_0发送给R7节点。
R6接收到的报文的目的地址为R6_0,R6根据目的地址为R6_0的指示查找报文的源地址SA。R6确定报文的源地址SA为R1_2,并根据表8所示的对应关系确定SA=R1_2对应的branch_IP为Decap。因此,R6确定其自己为叶子(leaf)设备,R6对封装后的组播报文进行解封装,再对内层的组播报文进行转发。
R7接收到的报文的目的地址为R7_0,R7根据目的地址为R7_0的指示查找报文的源地址SA。R7确定报文的源地址SA为R1_2,并根据表8所示的对应关系确定SA=R1_2对应的branch_IP为Decap。因此,R7确定其自己为叶子(leaf)设备,R7对封装后的组播报文进行解封装,再对内层的组播报文进行转发。
上文结合图1至图3,详细描述了本申请实施例提供的一种报文转发的方法,下面将结合图4至图6,详细描述本申请的装置的实施例。应理解,方法实施例的描述与装置实施例的描述相互对应,因此,未详细描述的部分可以参见前面方法实施例。
图4是本申请实施例提供的一种第一网络设备400的示意性结构图。图4所示的该第一网络设备400可以执行上述实施例的方法中第一网络设备执行的相应步骤。如图4所示,所述第一网络设备400包括:接收模块410、处理模块420,发送模块430,
接收模块410,用于获取第一报文,所述第一报文包括组播报文;
处理模块420,用于根据源地址SA以及第一对应关系确定所述组播报文的下一跳目的地址DA,其中,所述SA用于标识所述组播报文对应的组播路径,所述第一对应关系中包括SA与所述组播路径上所述第一网络设备的所述下一跳DA;
所述处理模块420,还用于根据所述下一跳DA获得第二报文,所述第二报文是对所述组播报文进行IPv6封装后的单播报文;
发送模块430,用于根据所述下一跳DA,将所述第二报文沿着所述组播路径进行转发。
可选地,所述处理模块420还用于:确定所述SA。
可选地,所述第一网络设备为入口设备,所述第一报文为所述组播报文,所述处理模块420具体用于:确定所述组播报文对应的所述组播路径;根据所述组播路径以及组播路径和SA的对应关系确定所述SA。
可选地,所述第一网络设备为中间设备或出口设备,所述第一报文是对所述组播报文进行IPv6封装后的单播报文,所述处理模块420具体用于:确定所述第一报文的DA是否为所述第一网络设备的IPv6地址;如果所述第一报文的DA为所述第一网络设备的IPv6地址,根据所述第一报文的DA读取所述第一报文的SA。
可选地,所述接收模块410还用于从控制设备接收配置信息,所述配置信息包括所述SA和所述组播报文对应的组播路径;所述处理模块420还用于根据所述配置信息建立所述第一对应关系。
可选地,所述组播路径包含所述第一网络设备的下一跳设备的互联网协议第6版IPv6地址,所述发送模块430具体用于:根据所述下一跳DA为所述下一跳设备的IPv6地址, 向所述下一跳设备发送所述第二报文。
可选地,所述组播路径指示对报文进行解封装,所述处理模块,还用于对所述第二报文进行解封装,得到所述组播报文;所述发送模块430还用于对所述组播报文进行转发。
可选地,所述SA为IPv6地址。
图5是本申请实施例的第一网络设备2000的硬件结构示意图。图5所示第一网络设备2000可以执行上述实施例的方法中第一网络设备执行的相应步骤。
如图5所示,所述第一网络设备2000包括处理器2001、存储器2002、接口2003和总线2004。其中接口2003可以通过无线或有线的方式实现,具体来讲可以是网卡。上述处理器2001、存储器2002和接口2003通过总线2004连接。
所述接口2003具体可以包括发送器和接收器,用于第一网络设备实现上述收发。例如,所述接口2003用于获取第一报文,或者用于发送第二报文。
所述处理器2001用于执行上述实施例中由第一网络设备进行的处理。例如,用于根据源地址SA以及第一对应关系确定组播报文的下一跳DA;根据所述下一跳DA获得第二报文;和/或用于本文所描述的技术的其他过程。存储器2002包括操作***20021和应用程序20022,用于存储程序、代码或指令,当处理器或硬件设备执行这些程序、代码或指令时可以完成方法实施例中涉及第一网络设备的处理过程。可选的,所述存储器2002可以包括只读存储器(read-only memory,ROM)和随机存取存储器(random access memory,RAM)。其中,所述ROM包括基本输入/输出***(basic input/output system,BIOS)或嵌入式***;所述RAM包括应用程序和操作***。当需要运行第一网络设备2000时,通过固化在ROM中的BIOS或者嵌入式***中的bootloader引导***进行启动,引导第一网络设备2000进入正常运行状态。在第一网络设备2000进入正常运行状态后,运行在RAM中的应用程序和操作***,从而,完成方法实施例中涉及第一网络设备2000的处理过程。
可以理解的是,图5仅仅示出了第一网络设备2000的简化设计。在实际应用中,第一网络设备可以包含任意数量的接口,处理器或者存储器。
图6为本申请实施例的另一种第一网络设备2100的硬件结构示意图。图6所示的第一网络设备2100可以执行上述实施例的方法中第一网络设备执行的相应步骤。
如图6所述,第一网络设备2100包括:主控板2110、接口板2130、交换网板2120和接口板2140。主控板2110、接口板2130和2140,以及交换网板2120之间通过***总线与***背板相连实现互通。其中,主控板2110用于完成***管理、设备维护、协议处理等功能。交换网板2120用于完成各接口板(接口板也称为线卡或业务板)之间的数据交换。接口板2130和2140用于提供各种业务接口(例如,POS接口、GE接口、ATM接口等),并实现数据包的转发。
接口板2130可以包括中央处理器2131、转发表项存储器2134、物理接口卡2133和网络处理器2132。其中,中央处理器2131用于对接口板进行控制管理并与主控板上的中央处理器进行通信。转发表项存储器2134用于保存表项,例如,上文中的BIFT。物理接口卡2133用于完成流量的接收和发送。
应理解,本申请实施例中接口板2140上的操作与所述接口板2130的操作一致,为了简洁,不再赘述。
应理解,本实施例的第一网络设备2100可对应于上述方法实施例所具有的功能和/或所实施的各种步骤,在此不再赘述。
此外,需要说明的是,主控板可能有一块或多块,有多块的时候可以包括主用主控板和备用主控板。接口板可能有一块或多块,第一网络设备的数据处理能力越强,提供的接口板越多。接口板上的物理接口卡也可以有一块或多块。交换网板可能没有,也可能有一块或多块,有多块的时候可以共同实现负荷分担冗余备份。在集中式转发架构下,第一网络设备可以不需要交换网板,接口板承担整个***的业务数据的处理功能。在分布式转发架构下,第一网络设备可以有至少一块交换网板,通过交换网板实现多块接口板之间的数据交换,提供大容量的数据交换和处理能力。所以,分布式架构的第一网络设备的数据接入和处理能力要大于集中式架构的设备。具体采用哪种架构,取决于具体的组网部署场景,此处不做任何限定。
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有程序代码,当该计算机程序代码在计算机上运行时,使得计算机执行上述第一网络设备执行的方法。这些计算机可读存储包括但不限于如下的一个或者多个:只读存储器(read-only memory,ROM)、可编程ROM(programmable ROM,PROM)、可擦除的PROM(erasable PROM,EPROM)、Flash存储器、电EPROM(electrically EPROM,EEPROM)以及硬盘驱动器(hard drive)。
本申请实施例还提供了一种芯片***,应用于第一网络设备中,该芯片***包括:至少一个处理器、至少一个存储器和接口电路,所述接口电路负责所述芯片***与外界的信息交互,所述至少一个存储器、所述接口电路和所述至少一个处理器通过线路互联,所述至少一个存储器中存储有指令;所述指令被所述至少一个处理器执行,以进行上述各个方面的所述的方法中所述第一网络设备的操作。
在具体实现过程中,该芯片可以以中央处理器(central processing unit,CPU)、微控制器(micro controller unit,MCU)、微处理器(micro processing unit,MPU)、数字信号处理器(digital signal processing,DSP)、片上***(system on chip,SoC)、专用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或可编辑逻辑器件(programmable logic device,PLD)的形式实现。
本申请实施例还提供了一种计算机程序产品,应用于第一网络设备中,所述计算机程序产品包括一系列指令,当所述指令被运行时,以进行上述各个方面的所述的方法中所述第一网络设备的操作。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装 置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (16)

  1. 一种报文转发的方法,其特征在于,所述方法包括:
    第一网络设备获取第一报文,所述第一报文包括组播报文;
    所述第一网络设备根据源地址SA以及第一对应关系确定所述组播报文的下一跳目的地址DA,其中,所述SA用于标识所述组播报文对应的组播路径,所述第一对应关系包括所述SA与所述组播路径上所述第一网络设备的所述下一跳DA;
    所述第一网络设备根据所述下一跳DA获得第二报文,所述第二报文是对所述组播报文进行IPv6封装后的单播报文;
    所述第一网络设备根据所述下一跳DA,将所述第二报文沿着所述组播路径进行转发。
  2. 根据权利要求1所述的方法,其特征在于,所述第一网络设备为入口设备,所述第一报文为所述组播报文,
    所述方法还包括:
    所述第一网络设备确定所述组播报文对应的所述组播路径;
    所述第一网络设备根据所述组播路径以及组播路径和SA的对应关系确定所述SA。
  3. 根据权利要求1所述的方法,其特征在于,所述第一网络设备为中间设备或出口设备,所述第一报文是对所述组播报文进行IPv6封装后的单播报文,
    所述方法还包括:
    所述第一网络设备确定所述第一报文的DA是否为所述第一网络设备的互联网协议第6版IPv6地址;
    如果所述第一报文的DA为所述第一网络设备的IPv6地址,所述第一网络设备根据所述第一报文的DA读取所述第一报文的SA。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备从控制设备接收配置信息,所述配置信息包括所述SA和所述组播报文对应的组播路径;
    所述第一网络设备根据所述配置信息建立所述第一对应关系。
  5. 根据权利要求4所述的方法,其特征在于,所述组播路径包含所述第一网络设备的下一跳设备的IPv6地址,
    所述第一网络设备根据所述下一跳DA,将所述第二报文沿着所述组播路径进行转发,包括:
    所述第一网络设备根据所述下一跳DA为所述下一跳设备的IPv6地址,向所述下一跳设备发送所述第二报文。
  6. 根据权利要求4所述的方法,其特征在于,所述组播路径指示对报文进行解封装,所述方法还包括:
    所述第一网络设备对所述第二报文进行解封装,得到所述组播报文;
    所述第一网络设备对所述组播报文进行转发。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述SA为IPv6地址。
  8. 一种第一网络设备,其特征在于,包括:
    接收模块,用于获取第一报文,所述第一报文包括组播报文;
    处理模块,用于根据源地址SA以及第一对应关系确定所述组播报文的下一跳目的地址DA,其中,所述SA用于标识所述组播报文对应的组播路径,所述第一对应关系包括所述SA与所述组播路径上所述第一网络设备的所述下一跳DA;
    所述处理模块,还用于根据所述下一跳DA获得第二报文,所述第二报文是对所述组播报文进行IPv6封装后的单播报文;
    发送模块,用于根据所述下一跳DA,将所述第二报文沿着所述组播路径进行转发。
  9. 根据权利要求8所述的第一网络设备,其特征在于,所述第一网络设备为入口设备,所述第一报文为所述组播报文,
    所述处理模块还用于:
    确定所述组播报文对应的所述组播路径;
    根据所述组播路径以及组播路径和SA的对应关系确定所述SA。
  10. 根据权利要求8所述的第一网络设备,其特征在于,所述第一网络设备为中间设备或出口设备,所述第一报文是对所述组播报文进行IPv6封装后的单播报文,
    所述处理模块还用于:
    确定所述第一报文的DA是否为所述第一网络设备的IPv6地址;
    如果所述第一报文的DA为所述第一网络设备的IPv6地址,根据所述第一报文的DA读取所述第一报文的SA。
  11. 根据权利要求8至10中任一项所述的第一网络设备,其特征在于,
    所述接收模块,还用于从控制设备接收配置信息,所述配置信息包括所述SA和所述组播报文对应的组播路径;
    所述处理模块,还用于根据所述配置信息建立所述第一对应关系。
  12. 根据权利要求11所述的第一网络设备,其特征在于,所述第一对应关系路径包含所述第一网络设备的下一跳设备的互联网协议第6版IPv6地址,所述发送模块具体用于:
    根据所述下一跳DA为所述下一跳设备的IPv6地址,向所述下一跳设备发送所述第二报文。
  13. 根据权利要求11所述的第一网络设备,其特征在于,所述第一对应关系路径指示对报文进行解封装,
    所述处理模块,还用于对所述第二报文进行解封装,得到所述组播报文;
    所述发送模块,还用于对所述组播报文进行转发。
  14. 根据权利要求8至13中任一项所述的第一网络设备,其特征在于,所述SA为IPv6地址。
  15. 一种第一网络设备,其特征在于,包括:处理器和存储器,所述存储器用于存储程序,所述处理器用于从存储器中调用并运行所述程序以执行权利要求1至7中任一项所述的方法。
  16. 一种报文转发的***,包括如权利要求8至14中任一项所述的第一网络设备。
PCT/CN2021/082060 2020-07-14 2021-03-22 报文转发的方法、设备以及*** WO2022012073A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21841577.6A EP4170972A4 (en) 2020-07-14 2021-03-22 MESSAGE FORWARDING METHOD, APPARATUS AND SYSTEM
US18/154,399 US20230171184A1 (en) 2020-07-14 2023-01-13 Packet Forwarding Method, Device, and System

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202010671831 2020-07-14
CN202010671831.7 2020-07-14
CN202010939135.XA CN114006780A (zh) 2020-07-14 2020-09-09 报文转发的方法、设备以及***
CN202010939135.X 2020-09-09

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/154,399 Continuation US20230171184A1 (en) 2020-07-14 2023-01-13 Packet Forwarding Method, Device, and System

Publications (1)

Publication Number Publication Date
WO2022012073A1 true WO2022012073A1 (zh) 2022-01-20

Family

ID=79556114

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082060 WO2022012073A1 (zh) 2020-07-14 2021-03-22 报文转发的方法、设备以及***

Country Status (3)

Country Link
US (1) US20230171184A1 (zh)
EP (1) EP4170972A4 (zh)
WO (1) WO2022012073A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118233371A (zh) * 2024-05-24 2024-06-21 新华三半导体技术有限公司 一种报文转发方法、装置、网络设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244230A (zh) * 2014-10-20 2014-12-24 常熟理工学院 下一代无线网络的组播通信实现方法
CN110661628A (zh) * 2018-06-30 2020-01-07 华为技术有限公司 一种实现数据组播的方法、装置和***
US10616063B1 (en) * 2018-10-12 2020-04-07 Nokia Solutions And Networks Oy Stateless multicast in IP networks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8208463B2 (en) * 2006-10-24 2012-06-26 Cisco Technology, Inc. Subnet scoped multicast / broadcast packet distribution mechanism over a routed network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244230A (zh) * 2014-10-20 2014-12-24 常熟理工学院 下一代无线网络的组播通信实现方法
CN110661628A (zh) * 2018-06-30 2020-01-07 华为技术有限公司 一种实现数据组播的方法、装置和***
US10616063B1 (en) * 2018-10-12 2020-04-07 Nokia Solutions And Networks Oy Stateless multicast in IP networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4170972A4

Also Published As

Publication number Publication date
EP4170972A1 (en) 2023-04-26
US20230171184A1 (en) 2023-06-01
EP4170972A4 (en) 2023-12-20

Similar Documents

Publication Publication Date Title
US9178831B2 (en) Methods and apparatus for RBridge hop-by-hop compression and frame aggregation
WO2022100554A1 (zh) Bier报文转发的方法、设备以及***
WO2019137355A1 (zh) 传输数据的方法、设备和网络***
WO2021082812A1 (zh) 报文的发送方法和第一网络设备
CN113114576B (zh) 报文发送的方法、设备和***
WO2021093463A1 (zh) 报文转发的方法、第一网络设备以及第一设备组
CN107623636B (zh) 一种用户隔离方法和交换机
WO2022012073A1 (zh) 报文转发的方法、设备以及***
US20240022508A1 (en) Bierv6 packet processing method, device, and system
WO2021052381A1 (zh) 报文的发送方法和装置
WO2024001701A1 (zh) 数据处理方法、装置及***
US20230318974A1 (en) BIER Packet Forwarding Method, Device, and System
US20220337521A1 (en) Packet Sending Method, Device and System
CN114006780A (zh) 报文转发的方法、设备以及***
CN113285878B (zh) 负载分担的方法、第一网络设备
WO2021254454A1 (zh) Bier oam检测的方法、设备以及***
CN113938446A (zh) 一种基于mlag环境的组播表项同步方法及设备
WO2022027978A1 (zh) IPv6报文发送的方法、设备以及***
WO2022171014A1 (zh) 报文传输方法及装置
WO2014086242A1 (zh) 多链路透明互连网络中组播转发方法及装置、路由桥
WO2022135217A1 (zh) 负载分担的方法、根节点设备、叶子节点设备以及***
CN108881015B (zh) 一种报文广播方法和装置
CN114726795A (zh) 负载分担的方法、根节点设备、叶子节点设备以及***
CN114071375A (zh) IPv6报文发送的方法、设备以及***
CN113765815A (zh) 组播报文负载分担的方法、设备和***

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21841577

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021841577

Country of ref document: EP

Effective date: 20230119

NENP Non-entry into the national phase

Ref country code: DE