WO2022166773A1 - 一种组播报文传输方法、位转发路由器及存储介质 - Google Patents

一种组播报文传输方法、位转发路由器及存储介质 Download PDF

Info

Publication number
WO2022166773A1
WO2022166773A1 PCT/CN2022/074403 CN2022074403W WO2022166773A1 WO 2022166773 A1 WO2022166773 A1 WO 2022166773A1 CN 2022074403 W CN2022074403 W CN 2022074403W WO 2022166773 A1 WO2022166773 A1 WO 2022166773A1
Authority
WO
WIPO (PCT)
Prior art keywords
ipv6
bier
bfr
service
multicast
Prior art date
Application number
PCT/CN2022/074403
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
Application filed by 中国移动通信有限公司研究院, 中国移动通信集团有限公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2022166773A1 publication Critical patent/WO2022166773A1/zh

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • the present disclosure relates to the technical field of wireless communication, and in particular, to a multicast message transmission method, a bit forwarding router and a storage medium.
  • Multicast as a communication method in parallel with unicast and broadcast, transmits data packets to all devices in a multicast group by using a specific multicast address.
  • a device sends data to a group of devices, it does not have to send the data to each device, but sends the data to a specific multicast address, and all devices that join the multicast group can receive the data .
  • data needs to be sent only once to all recipients.
  • the use of multicast technology can facilitate the development of some network services, including Internet information services such as live TV, distance education, telemedicine, Internet radio, multimedia conferences, and video surveillance.
  • IPv6 Internet Protocol Version 6, Internet Protocol Version 6
  • IPv6 Internet Protocol Version 6, Internet Protocol Version 6
  • the embodiments of the present disclosure provide a multicast packet transmission method, a bit forwarding router, and a storage medium, so as to at least solve the problem that the packet header space cannot be fully utilized when forwarding multicast data.
  • an embodiment of the present disclosure provides a method for transmitting multicast packets, including:
  • BFR Bit-Forwarding Router receives IP (Internet Protocol, Internet Protocol) multicast packets
  • IPv6 BIER Bit Index Explicit Replication
  • BFIR bit forwarding entry router, Bit-Forwarding Ingress Router
  • MPRA Multicast Policy Reserved Address
  • the IPv6 BIER message header is set by adding a type of Option (option) to the Destination Option Header (destination option header) at the header position of the IPv6 extension message.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL bit string length
  • SD subfield
  • SI subset identifier
  • RSV reserve bit
  • TTL time to live
  • Entropy information entropy
  • DSCP differentiated service code point
  • Ver version number
  • OAM operation and maintenance management
  • BitString bit string
  • the IPv6 BIER message includes one of the following settings or a combination thereof:
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as a reserved field
  • Proto is set as a reserved field
  • BFIR-id Bit Forwarding Ingress Router Identifier
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL is the length of BitString
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • I-PMSI Inclusion-Public Network Multicast Service Interface
  • S-PMSI Select-Public Network Multicast Service Interface
  • AD Auto Discovery route PTA (PMSI Tunnel Attributes)
  • MPLS Label Multi-Protocol Label Switching Label
  • the IPv6 source address is a 128-bit (bit) field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of L3VPN (Layer 3 Virtual Private Network), L2VPN (Layer 2 Virtual Private Network) or EVPN (Ethernet Virtual Private Network).
  • L3VPN Layer 3 Virtual Private Network
  • L2VPN Layer 2 Virtual Private Network
  • EVPN Ethernet Virtual Private Network
  • the network prefix set as BFIR and the IPv6 source address of the service ID are carried using BGP (Border Gateway Protocol) attributes.
  • an embodiment of the present disclosure further provides a method for transmitting a multicast packet, including:
  • the BFR receives the IPv6 BIER message, wherein, in the IPv6 BIER message, the IPv6 source address is set to the network prefix and service ID of the BFIR, and the IPv6 destination address is set to the MPRA of the next hop BFR;
  • the BFR processes the IPv6 BIER message according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof.
  • the IPv6 BIER message header is set by adding a type of Option to the Destination Option Header at the header position of the IPv6 extension message.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the IPv6 BIER message includes one of the following settings or a combination thereof:
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as a reserved field
  • Proto is set as a reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL is the length of BitString
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the value of the MPLS Label field in the PTA attributes of the I-PMSI and S-PMSI AD routes is set to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the network prefix set as BFIR and the IPv6 source address of the service ID are carried using BGP attributes.
  • the BFR processes the IPv6 BIER packet according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof, including one of the following processes or a combination thereof:
  • a specific BIFT table according to the information in the BIER header to determine whether the node is a BFER. If it is a BFER, decapsulate the inner-layer multicast packet of the payload, search the corresponding multicast routing table according to the service ID information, and perform related replication. Forwarding; if it is a common BFR, look up the BIFT table for BIER replication and forwarding, where the IPv6 destination address is set to the MPRA of the next hop, and the IPv6 source address is set unchanged.
  • an embodiment of the present disclosure also provides a BFR, including:
  • the processor for reading the program in memory, performs the following processes:
  • IP multicast message carry out multicast message replication, carry out IPv6 BIER message encapsulation and forwarding, wherein, in the IPv6 BIER message, the IPv6 source address is set to the network prefix of BFIR and the service ID, and the IPv6 destination address is set to MPRA of the next hop BFR;
  • a transceiver for receiving and transmitting data under the control of the processor.
  • the IPv6 BIER message header is set by adding a type of Option to the Destination Option Header at the header position of the IPv6 extension message.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the IPv6 BIER message includes one of the following settings or a combination thereof:
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as a reserved field
  • Proto is set as a reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL is the length of BitString
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the value of the MPLS Label field in the PTA attribute of the I-PMSI and S-PMSI AD routes is set to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the network prefix set as BFIR and the IPv6 source address of the service ID are carried using BGP attributes.
  • an embodiment of the present disclosure further provides a BFR, including:
  • a first receiving module configured to receive IP multicast packets
  • the first processing module is configured to replicate the multicast message, encapsulate and forward the IPv6 BIER message, wherein the IPv6 source address in the IPv6 BIER message is set to the network prefix and service ID of BFIR, and the IPv6 destination address is set to MPRA of the next hop BFR.
  • the first processing module is configured to set the IPv6 BIER message header by adding a type of Option to the Destination Option Header at the header position of the IPv6 extension message.
  • the first processing module is configured to process the IPv6 BIER packet including one of the following information or a combination thereof:
  • BSL SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the first processing module is configured to process the IPv6 BIER packet including one of the following settings or a combination thereof:
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as a reserved field
  • Proto is set as a reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL is the length of BitString
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the first processing module is configured to set the value of the MPLS Label field in the PTA attributes of the I-PMSI and S-PMSI AD routes to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the network prefix set as BFIR and the IPv6 source address of the service ID are carried using BGP attributes.
  • an embodiment of the present disclosure further provides a BFR, including:
  • the processor for reading the program in memory, performs the following processes:
  • IPv6 BIER message wherein, in the IPv6 BIER message, the IPv6 source address is set to the network prefix of BFIR and the service ID, and the IPv6 destination address is set to the MPRA of the next hop BFR; According to the network prefix or the service ID, the MPRA of the BFR One or a combination thereof processes the IPv6 BIER message;
  • a transceiver for receiving and transmitting data under the control of the processor.
  • the IPv6 BIER message header is set by adding a type of Option to the Destination Option Header at the header position of the IPv6 extension message.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the IPv6 BIER message includes one of the following settings or a combination thereof:
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as a reserved field
  • Proto is set as reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL is the length of BitString
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the value of the MPLS Label field in the PTA attributes of the I-PMSI and S-PMSI AD routes is set to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the network prefix set as BFIR and the IPv6 source address of the service ID are carried using BGP attributes.
  • the processor is further configured to read the program in the memory, and execute: according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof, to the IPv6 BIER packet processing, including one or a combination of the following:
  • a specific BIFT table according to the information in the BIER header to determine whether the node is a BFER. If it is a BFER, decapsulate the inner-layer multicast packet of the payload, search the corresponding multicast routing table according to the service ID information, and perform related replication. Forwarding; if it is a common BFR, look up the BIFT table for BIER replication and forwarding, where the IPv6 destination address is set to the MPRA of the next hop, and the IPv6 source address is set unchanged.
  • an embodiment of the present disclosure also provides a BFR, including:
  • the second receiving module is configured to receive an IPv6 BIER message, wherein, in the IPv6 BIER message, the IPv6 source address is set to the network prefix and service ID of BFIR, and the IPv6 destination address is set to the MPRA of the next hop BFR;
  • the second processing module is configured to process the IPv6 BIER message according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof.
  • the second receiving module is configured to receive the IPv6 BIER packet header by adding a type of Option to the Destination Option Header at the IPv6 extension packet header position. set.
  • the second receiving module is configured to receive the IPv6 BIER packet including one of the following information or a combination thereof:
  • BSL SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the second receiving module is configured to receive the IPv6 BIER message including one of the following settings or a combination thereof:
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as a reserved field
  • Proto is set as reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL is the length of BitString
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the value of the MPLS Label field in the PTA attributes of the I-PMSI and S-PMSI AD routes is set to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the second receiving module is configured to receive the network prefix set as BFIR and the IPv6 source address of the service ID carried by using the BGP attribute.
  • the second processing module is configured to include the following processing when processing the IPv6 BIER packet according to one of the network prefix or service ID, MPRA of BFR, or a combination thereof one or a combination of:
  • a specific BIFT table according to the information in the BIER header to determine whether the node is a BFER. If it is a BFER, decapsulate the inner-layer multicast packet of the payload, search the corresponding multicast routing table according to the service ID information, and perform related replication. Forwarding; if it is a common BFR, look up the BIFT table for BIER replication and forwarding, where the IPv6 destination address is set to the MPRA of the next hop, and the IPv6 source address is set unchanged.
  • an embodiment of the present disclosure further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for executing the multicast message transmission method of the first aspect or the second aspect.
  • the IPv6 source address in the IPv6 BIER message is set to the network prefix and service ID of BFIR, and the IPv6 destination address is set to the MPRA of the next hop BFR. Since the IPv6 source address is divided into the prefix part and the service ID In the service ID identification part, the multicast application instance (MVPN/EVPN, etc.) allocates the service ID identification, and the multicast receiver device can directly correspond to the specified multicast application instance according to the IPv6 source address. Since the BIER encapsulation is simplified and embedded in the IPv6 header encapsulation, an IPv6-based BIER forwarding mode is formed. Since the IPv6 destination address is separately planned for multicast IPv6 BIER forwarding reservation, BIER forwarding can be deployed in the IPv6 network.
  • the BFR node Since the BFR node recognizes the MPRA issued by the destination address when it receives the packet, it can query the IPv6 BIER header for multicast forwarding. When the multicast data is forwarded, because the source address already contains the service ID, it is no longer required. Carry the VPN label, and thus avoid occupying the 32bit packet header space.
  • IPv6 addresses introduce multicast service attributes to expand the application scope of network programming
  • the IPv6 network can be smoothly upgraded and deployed.
  • FIG. 1 is a schematic diagram of the MPLS Label field format in an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of the encapsulation format of BIER in an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of the implementation of a method for transmitting multicast packets when BFR is used as BFIR in an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of implementing a method for transmitting a multicast packet of BFR in an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of the structure of the BIER IPv6 header in an embodiment of the disclosure.
  • FIG. 6 is a schematic diagram of the format of an IPv6 BIER message in an embodiment of the disclosure.
  • FIG. 7 is a schematic diagram of an IPv6 BIER message transmission path in an embodiment of the disclosure.
  • FIG. 8 is a schematic diagram of a BGP attribute format in an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a sub-sub-TLV format of an MSI attribute in an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of the implementation of the IPv6 BIER multicast scheme of the disclosed example 1;
  • 11 is a schematic diagram of the implementation of the IPv6 BIER multicast scheme of the disclosed example 2;
  • FIG. 12 is a schematic diagram of the implementation of the IPv6 BIER multicast scheme of the disclosed example 3.
  • FIG. 13 is a schematic diagram of a BFR structure in an embodiment of the disclosure.
  • FIG. 14 is a second schematic diagram of a BFR structure in an embodiment of the disclosure.
  • the traditional PIM (Protocol Independent Multicast) protocol needs to join hop-by-hop to establish a multicast tree, but the new BIER protocol does not need a protocol for explicitly building a multicast distribution tree, nor does it require intermediate nodes to maintain any Multicast stream status.
  • the ingress router determines the set of egress routers to which to send the packet.
  • the ingress router then encapsulates the packet in a BIER header.
  • the BIER packet header contains a string of bits, where each bit represents an egress router in the domain; in order to forward the packet to a given set of egress routers, the BIER packet header is set with the corresponding egress router. bit.
  • the BIER protocol simplifies multicast routing and forwarding, does not require the operation of the multicast control protocol, and does not need to establish a multicast tree and multicast tunnel.
  • the intermediate nodes cannot see any multicast stream state information, and do not need to save any multicast state.
  • the BIER node forwards only according to the network topology, and inherits the unicast FRR (Fast Reroute) and LFA (Loss of Frame Alignment).
  • the convergence speed of BIER network is as fast as that of unicast, and there is no need for signaling interaction and convergence process in multicast state.
  • the multicast bearer in the IPv6 network environment is encapsulated by IPv6 packets, and the VPN (Virtual Private Network) needs to be identified for the private network multicast data.
  • PIM and P2MP point-to-multipoint master station, Point 2 Multiple Point
  • MPLS MultiProtocol Label Switching, MultiProtocol Label Switching
  • BIER BIER bearer mode
  • FIG. 1 is a schematic diagram of the format of the MPLS Label field. The specific format encapsulation is shown in Figure 1.
  • Ingress PE Ingress PE; PE: Provider Edge Router, Provider Edge
  • BGP Border Gateway Protocol
  • MVPN Multicast Virtual Private Network, Multicast Virtual Private Network
  • X-PMSI I-PMSI (including PMSI, Inclusive-PMSI)/S-PMSI (Selective PMSI, Selective-PMSI) collectively
  • AD Auto Discovery, Auto Discovery route advertisement to each Egress PE (exit PE).
  • IPv6 IPv6
  • the VPN Label must be used to identify the corresponding MVPN.
  • FIG. 2 is a schematic diagram of the encapsulation format of BIER.
  • the core information of BIER multicast replication and forwarding is the BIFT-id (BIFT identifier, BIFT: bit index transfer) in the BIER header. Published, Bit Index Forwarding Table) and BitString (bit string), BIFT-id determines the BIER sub-domain and BFR (Bit-Forwarding Router) subset where the BIER message is located, and the bit in BitString is determined in BFER set of multicast packets in this subdomain and subdomain.
  • BIFT-id BIFT identifier, BIFT: bit index transfer
  • BitString bit string
  • BIER header encapsulation has provided QoS (Quality of Service), ECMP (Equal-cost Multipath), loop avoidance, OAM (Operation Administration and Maintenance), multi-service bearer, etc. Capability, the Underlay (lower) layer mainly solves the transmission of BIER messages.
  • BIER-MPLS BIER-Ethernet
  • BIERin6 draft-zhang-bier-bierin6-07
  • BIERv6 draft-xie-bier- ipv6-encapsulation-08
  • BIERin6 only encapsulates BIER packets as Payload (payload) into IPv6 , cannot take advantage of the high scalability of the existing IPv6 header
  • BIERv6 has redundant conflicts in the BIER header and IPv6 header fields in the encapsulation.
  • IPv6 networks carry multicast traffic. Regardless of whether PIM, P2MP MPLS or BIER is used, according to the existing solution, VPN labels need to be allocated from the Ingress PE to identify different VPNs, so that the multicast traffic can enter the corresponding VPN to find the IP address after reaching the egress PE. The multicast table continues to forward. The VPN label needs to be carried when multicast data is forwarded, which occupies 32 bits of header space.
  • BFR Bit-Forwarding Router
  • BIER domain egress router, Bit-Forwarding exit Router
  • Figure 3 is a schematic diagram of the implementation flow of the multicast packet transmission method when BFR is used as BFIR, as shown in the figure, including:
  • Step 301 the BFR receives the IP multicast packet
  • Step 302 BFR carry out multicast message replication, carry out IPv6 BIER message encapsulation and forwarding, wherein, in the IPv6 BIER message, the IPv6 source address is set to the network prefix and service ID of BFIR, and the IPv6 destination address is set to the next hop MPRA of BFR.
  • Figure 4 is a schematic diagram of the implementation flow of the method for transmitting multicast packets of BFR, as shown in the figure, including:
  • Step 401 BFR receive the IPv6 BIER message, wherein, in the IPv6 BIER message, the IPv6 source address is set to the network prefix and the service ID of BFIR, and the IPv6 destination address is set to the MPRA of the next hop BFR;
  • Step 402 the BFR processes the IPv6 BIER message according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof.
  • the IPv6 BIER message header is set by adding a type of Option to the Destination Option Header at the header position of the IPv6 extension message.
  • FIG. 5 is a schematic diagram of the structure of the BIER IPv6 header.
  • the BIER IPv6 header selects the Destination Option Header (Destination Option Header (Destination Option Header) in the IPv6 extension message header position Part), a new type of Option is added, which inherits the attributes and order defined by the existing IPv6 extension header, and only changes the internal data of the extension header.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the IPv6 BIER message includes one or a combination of the following settings: replace the BIFT-id field with explicit BSL, SD, and SI;
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble (representing load sharing) is set as a reserved field
  • Proto is set as reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one or a combination of the following information:
  • BSL is the length of BitString
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • Figure 6 is a schematic diagram of the IPv6 BIER message format.
  • the IPv6-based BIER header format does not completely inherit the BIER header defined by the existing message section (section, paragraph) 2, but is based on IPv6.
  • the header has an existing format definition for adjustment. The specific definition can be as follows:
  • BSL Indicates the length of BitString (log2(k)-5), which is not only used to determine the BIER forwarding table according to the BSL, SD, and SI fields during data plane forwarding, but also used to verify G- Correctness of BIER header and option length.
  • SD sub-domain, an independent sub-domain within the BIER domain.
  • SI Set Identifier.
  • the length of the used BSL is not enough to include the BFR-id of all nodes in a sub-domain, it needs to be divided into different sets, and different sets are identified by different SIs.
  • BitStirng Bit string, used to identify the set of bits of the exit node of the BIER domain, same as SD and SI to indicate a group of BFER routers.
  • the BIFT-id field is replaced with an explicit BSL/SD/SI, reducing one mapping.
  • the explicit BSL field also identifies the length of the BitString, and the original BSL field is no longer used and set as a reserved field; among them, different Bitstrings need to be displayed in different reports.
  • a Bitstring corresponds to a ⁇ SD, BSL, SI>
  • SD is the sub-domain (sub-domain) of BIER
  • BSL is the bitstringlength (bit string length) of the encapsulation header
  • SI is the subset identifier (setidentifier)
  • the sub-domain SD can be divided into multiple subsets and identified by SI.
  • TC Transmission Class, Traffic Class
  • Traffic Class Transmission Class
  • S flag (S flag) and Nibble (nibble) are only related to MPLS forwarding, and are no longer used and set as reserved fields;
  • Proto has the same meaning as the Next Header (next hop header) of the extension header, and is no longer used and set as a reserved field;
  • BFIR-id has the same meaning as IPv6 Source address (source address), and is no longer used and set as a reserved field;
  • TTL Same as the use of TTL encapsulated by MPLS.
  • RFC3032 Same as the use of TTL encapsulated by MPLS.
  • Entropy Support ECMP, the same Entropy+BitString, select the same path.
  • DSCP Differentiated Service Codepoint, differentiated service code point, differentiates priority by encoding value.
  • IPv6 header TTL (Time To Live), Entropy (Information Entropy), DSCP (Differentiated Service Code Point, DiffServ Code Point)
  • IPv6 header also has corresponding fields, the BIER header definition can only be applied to multicast, and continue to use .
  • Ver indicates the version number
  • the current value of 0 indicates the version in the experiment.
  • OAM The default value is 0, which can be used for OAM functions such as Performance Measurement (PM) without affecting forwarding and QoS.
  • PM Performance Measurement
  • RSV Reserved: reserved bit, currently not used by default to 0.
  • RSV and Reserved both identify reserved bits, which are marked differently in the figure because of the limitation of space representation.
  • IPv6 BIER scheme in the embodiment of the present disclosure defines the IPv6 source and destination addresses as follows:
  • the IPv6 destination address is used as the MPRA (Multicast Policy Reserved Address) of the next hop of the IPv6 BIER. It adopts a separately planned IP address and is separated from the loopback port address segment of the interface, which is convenient for the configuration and deployment of security policies.
  • the BIER forwarding router (BFR) needs to configure an IPv6 address dedicated to BIER forwarding locally, and publish the IPv6 address of the node through control plane messages to notify other neighbors to use the IPv6 address when sending IPv6 BIER packets to the node .
  • next-hop BFR address When forwarding an IPv6 BIER message, set the next-hop BFR address to the MPRA of the corresponding node, so that when the next-hop BFR node receives the message, it recognizes the MPRA issued by the destination address and can query the IPv6 BIER header for Multicast forwarding.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the method further includes: setting the value of the MPLS Label field in the PTA attributes of the I-PMSI and S-PMSI AD routes to 0.
  • the IPv6 source address introduces the idea of network programming, and divides the 128-bit address into two parts: prefix and service identifier.
  • the prefix part is used as the BFIR node network identifier
  • the service identifier part is used as L3VPN (layer 3 VPN) and L2VPN (layer 2 VPN).
  • EVPN Error Network VPN, Ethernet VPN
  • IPv6 BIER packet forwarding no longer uses a separate VPN Label field, but uses the IPv6 source address to identify the MVPN instance. From the point of view of the control message, by using the new BGP attribute to advertise the corresponding BFIR prefix and service ID, the MPLS Label field value in the PTA attribute of the aforementioned X-PMSI AD route can be set to 0.
  • FIG. 7 is a schematic diagram of the transmission path of IPv6 BIER packets.
  • the egress PE node needs to support grouping according to the selected UMH (Upstream Multicast Hop). Broadcast RPF (Reverse path forwarding) check, so it is not only necessary to know which MVPN instance the IPv6 BIER packet belongs to, but also which ingress PE the packet comes from.
  • An IPv6 source address can contain both pieces of information. Specifically, In other words, which ingress PE the packet comes from is the prefix part of the IPv6 source address, and which MVPN instance the packet belongs to is the service ID part of the IPv6 source address, but the service ID takes a specific node as the context.
  • IPv6 source addresses to identify MVPN instances can be further extended to identify EVPN instances, used for EVPN multicast or BUM (broadcast, unknown unicast, multicast, broadcast&unknown-unicast&multicast) broadcasts on the same network segment of EVPN.
  • BUM Broadcast, unknown unicast, multicast, broadcast&unknown-unicast&multicast
  • each NVE (Network Virtualization Edge) node of the tenant only needs to know which Intra-subnet (intra-subnet) EVI (Ethernet Virtualization Edge) the received packet belongs to.
  • VNI Virtual Network Identifier
  • This scheme of using IPv6 source address prefix and service ID for multicast forwarding can be carried by a new BGP attribute, which can be referred to as the "Multicast Service Identifier" attribute or MSI attribute for short. That is, in the implementation, the network prefix set as BFIR and the IPv6 source address of the service ID are carried by using the BGP attribute.
  • FIG. 8 is a schematic diagram of a BGP attribute format, and reference may be made to FIG. 8 for the newly added attribute definition format.
  • FIG. 9 is a schematic diagram of a sub-sub-TLV format of MSI attributes, wherein the format definition used to define the division of IPv6 source address fields can be used as a sub-sub-TLV of BGP newly defined MSI attributes (sub-sub-TLV; TLV: Type, length, value, Tag, Length, Value) can refer to Figure 9.
  • IPv6 BIER the basic forwarding process of IPv6 BIER can be as follows:
  • the multicast packet is copied, the BIFT table (BIER forwarding table) is searched, and the IPv6 BIER packet is encapsulated and forwarded.
  • the IPv6 source address (SA) is set to the network prefix of the BFIR + service ID, and the IPv6 destination address (DA) is set to the MPRA of the next hop BFR.
  • the BFR processes the IPv6 BIER packet according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof, including one of the following processes or a combination thereof:
  • a specific BIFT table according to the information in the BIER header to determine whether the node is a BFER. If it is a BFER, decapsulate the inner-layer multicast packet of the payload, search the corresponding multicast routing table according to the service ID information, and perform related replication. Forwarding; if it is a common BFR, look up the BIFT table for BIER replication and forwarding, where the IPv6 destination address is set to the MPRA of the next hop, and the IPv6 source address is set unchanged.
  • the unicast routing table is searched according to the IPv6 BIER message DA, and the reserved address of the local multicast policy is matched. If the match is successful, the IPv6 BIER message needs to be parsed.
  • BFER decapsulate the inner-layer multicast packet of the payload, search for the corresponding multicast routing table according to the MS ID (multicast service identifier) information in the SA, and perform related replication and forwarding. If it is a common BFR, continue to look up the BIFT table for BIER replication and forwarding according to the BitString information, where the DA is set as the address reserved for the multicast policy of the next hop, and the SA remains unchanged.
  • the identifiers of the PSR-PE-MB-SR nodes are A:1, B:1/B:2, C:1/C:2, D:1/D:2/D:3;
  • the MPRAs of the PSR-PE-MB-SR nodes are A:1::FFFE, B:1::FFFE/B:2::FFFE, C:1::FFFE/C:2::FFFE, D:1 ::FFFE/D:2::FFFE/D:3::FFFE;
  • the address of A:1:6:/112 is used on the PSR to identify the BFIR prefix, and the lower 16-bit 1000 identifies the MVPN ID.
  • FIG. 10 is a schematic diagram of the implementation of the IPv6 BIER multicast scheme of Example 1. As shown in the figure, it can be as follows:
  • the private network side of the PSR1 MVPN instance receives an IP multicast packet from a CE (Customer Edge) (not shown), finds the MVPN forwarding instance associated with the interface that received the multicast packet, and forwards the instance in the MVPN forwarding instance.
  • CE Customer Edge
  • DA destination address
  • the MB1 node receives the packet, the IPv6 DA of the packet hits MPRA C:1::FFFE, searches the local IPv6 BIER forwarding table according to the BSL/SD/SI and BitString of the packet, and determines to copy it to the neighbor SR1/SR2/SR3
  • the encapsulation of the packets forwarded to SR2/SR3 is similar and will not be repeated here (the format of the packets forwarded to SR3 is shown in the figure).
  • the SR1 node receives the packet, the IPv6 DA of the packet hits MRPA D:1::FFFE, and the BFR-id corresponding to the bit set to 1 in Bit String 0001 is SR1's own BFR-id.
  • the IPv6 BIER decapsulates, and at the same time, checks whether the BFIR in the IPv6 SA prefix part passes the RPF check, finds the local MVPN instance corresponding to the MVPN ID, and the packet payload enters the corresponding MVPN forwarding instance for private network IP multicast forwarding.
  • the packet processing process of the SR2/SR3 node is similar and will not be repeated here.
  • non-branch nodes do not support the IPv6 BIER multicast scheme.
  • FIG. 11 is a schematic diagram of the implementation of the IPv6 BIER multicast scheme of Example 2. As shown in the figure, it can be as follows:
  • the branch node does not support the IPv6 BIER multicast scheme.
  • Figure 12 is a schematic diagram of the implementation of the IPv6 BIER multicast scheme of Example 3. As shown in the figure, it can be as follows:
  • the packet encapsulation and forwarding process of the PSR1 node is the same as the first scenario.
  • MB1 is a branch point and does not support IPv6 BIER multicast replication
  • the actual multicast traffic is copied from PE1 and forwarded to SR1/SR2/SR3 respectively, which makes the multicast traffic on the PE1-MB1 path redundant.
  • Embodiments of the present disclosure also provide a BFR and a computer-readable storage medium. Since the principle of these devices for solving problems is similar to the multicast packet transmission method, the implementation of these devices can refer to the implementation of the method, and the repetition is not repeated. Repeat.
  • the BFR includes:
  • the processor 1300 is used to read the program in the memory 1320, and performs the following processes: receiving an IP multicast message; performing multicast message replication, encapsulating and forwarding the IPv6 BIER message, wherein, in the IPv6 BIER message
  • the IPv6 source address is set to the network prefix and service ID of the BFIR, and the IPv6 destination address is set to the MPRA of the next hop BFR;
  • the transceiver 1310 is used to receive and transmit data under the control of the processor 1300 .
  • the IPv6 BIER message header is set by adding a type of Option to the Destination Option Header at the header position of the IPv6 extension message.
  • the IPv6 BIER message includes one or a combination of the following information: BSL, SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the IPv6 BIER message includes one or a combination of the following settings: replace the BIFT-id field with explicit BSL, SD, and SI;
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as a reserved field
  • Proto is set as a reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one of the following information or a combination thereof: BSL is the length of BitString;
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the value of the MPLS Label field in the PTA attribute of the I-PMSI and S-PMSI AD routes is set to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the network prefix set as BFIR and the IPv6 source address of the service ID are carried using BGP attributes.
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1300 and various circuits of memory represented by memory 1320 are linked together.
  • the bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein.
  • the bus interface provides the interface.
  • Transceiver 1310 may be a number of elements, including a transmitter and a receiver, that provide a means for communicating with various other devices over a transmission medium.
  • the processor 1300 is responsible for managing the bus architecture and general processing, and the memory 1320 may store data used by the processor 1300 in performing operations.
  • An embodiment of the present disclosure also provides a BFR, including:
  • a first receiving module configured to receive IP multicast packets
  • the first processing module is configured to replicate the multicast message, encapsulate and forward the IPv6 BIER message, wherein the IPv6 source address in the IPv6 BIER message is set to the network prefix of BFIR and the service ID, and the IPv6 destination address is set to MPRA of the next hop BFR.
  • the first processing module is configured to set the IPv6 BIER message header by adding a type of Option to the Destination Option Header at the header position of the IPv6 extension message.
  • the first processing module is configured to process the IPv6 BIER packet including one of the following information or a combination thereof:
  • BSL SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the first processing module is configured to process the IPv6 BIER packet including one of the following settings or a combination thereof:
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as a reserved field
  • Proto is set as a reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one of the following information or a combination thereof: BSL is the length of BitString;
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the first processing module is configured to set the value of the MPLS Label field in the PTA attributes of the I-PMSI and S-PMSI AD routes to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the network prefix set as BFIR and the IPv6 source address of the service ID are carried using BGP attributes.
  • each part of the device described above is divided into various modules or units by function and described respectively.
  • the functions of each module or unit may be implemented in one or more software or hardware.
  • FIG. 14 is a second schematic diagram of a BFR structure in an embodiment of the disclosure. As shown in FIG. 14 , the BFR includes:
  • the processor 1400 for reading the program in the memory 1420, performs the following process: receiving an IPv6 BIER message, wherein, in the IPv6 BIER message, the IPv6 source address is set to the network prefix of BFIR and the service ID, and the IPv6 destination address is set to Be the MPRA of the next hop BFR; process the IPv6 BIER message according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof;
  • the transceiver 1410 is used for receiving and transmitting data under the control of the processor 1400 .
  • the IPv6 BIER message header is set by adding a type of Option to the Destination Option Header at the header position of the IPv6 extension message.
  • the IPv6 BIER message includes one or a combination of the following information: BSL, SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the IPv6 BIER message includes one or a combination of the following settings: replace the BIFT-id field with explicit BSL, SD, and SI;
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as reserved field
  • Proto is set as reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one of the following information or a combination thereof: BSL is the length of BitString;
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the value of the MPLS Label field in the PTA attribute of the I-PMSI and S-PMSI AD routes is set to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the network prefix set as BFIR and the IPv6 source address of the service ID are carried using BGP attributes.
  • the processor 1400 is further configured to read a program in a memory, and execute: process the IPv6 BIER packet according to a network prefix or service ID, one of MPRAs of BFR, or a combination thereof , including one or a combination of the following treatments:
  • a specific BIFT table according to the information in the BIER header to determine whether the node is a BFER. If it is a BFER, decapsulate the inner-layer multicast packet of the payload, search the corresponding multicast routing table according to the service ID information, and perform related replication. Forwarding; if it is a common BFR, look up the BIFT table for BIER replication and forwarding, where the IPv6 destination address is set to the MPRA of the next hop, and the IPv6 source address is set unchanged.
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1400 and various circuits of memory represented by memory 1420 are linked together.
  • the bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein.
  • the bus interface provides the interface.
  • Transceiver 1410 may be a number of elements, including a transmitter and a receiver, that provide a means for communicating with various other devices over a transmission medium.
  • the processor 1400 is responsible for managing the bus architecture and general processing, and the memory 1420 may store data used by the processor 1400 in performing operations.
  • An embodiment of the present disclosure also provides a BFR, including:
  • the second receiving module is configured to receive an IPv6 BIER message, wherein, in the IPv6 BIER message, the IPv6 source address is set to the network prefix and service ID of BFIR, and the IPv6 destination address is set to the MPRA of the next hop BFR;
  • the second processing module is configured to process the IPv6 BIER message according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof.
  • the second receiving module configured to receive the IPv6 BIER message header is set by adding a type of Option in the Destination Option Header at the IPv6 extension message header position.
  • the second receiving module is configured to receive the IPv6 BIER message including one of the following information or a combination thereof:
  • BSL SD, SI, RSV, TTL, Entropy, DSCP, Ver, OAM, BitString.
  • the second receiving module is configured to receive the IPv6 BIER message including one of the following settings or a combination thereof:
  • the explicit BSL field identifies the BitString length
  • the original BSL field is set as a reserved field
  • TC is set as a reserved field
  • S flag is set as a reserved field
  • Nibble is set as reserved field
  • Proto is set as reserved field
  • BFIR-id is set as a reserved field.
  • the IPv6 BIER message includes one of the following information or a combination thereof: BSL is the length of BitString;
  • SD is the BIER subdomain identifier
  • SI is the BIER set identifier
  • TTL is the life cycle value of BIER message
  • Entropy is used to support ECMP path selection
  • OAM is an identifier used for BIER forwarding performance measurement
  • RSV is a reserved bit, it is not currently used and defaults to 0;
  • DSCP identifies differentiated services and differentiates priorities by coded values
  • BitStirng is a set of bits used to identify the exit node of the BIER domain.
  • the value of the MPLS Label field in the PTA attribute of the I-PMSI and S-PMSI AD routes is set to 0.
  • the IPv6 source address is a 128-bit field
  • the network prefix is the network identifier of the BFIR node, and/or the service ID is the service ID of the L3VPN, L2VPN or EVPN.
  • the second receiving module is configured to receive the network prefix set as BFIR and the IPv6 source address of the service ID carried by using the BGP attribute.
  • the second processing module is configured to include one of the following processing or a combination thereof when processing the IPv6 BIER packet according to the network prefix or service ID, one of the MPRAs of the BFR, or a combination thereof :
  • a specific BIFT table according to the information in the BIER header to determine whether the node is a BFER. If it is a BFER, decapsulate the inner-layer multicast packet of the payload, search the corresponding multicast routing table according to the service ID information, and perform related replication. Forwarding; if it is a common BFR, look up the BIFT table for BIER replication and forwarding, where the IPv6 destination address is set to the MPRA of the next hop, and the IPv6 source address is set unchanged.
  • each part of the device described above is divided into various modules or units by function and described respectively.
  • the functions of each module or unit may be implemented in one or more software or hardware.
  • An embodiment of the present disclosure further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for executing the foregoing multicast packet transmission method.
  • the IPv6 source address is divided into a prefix part and a service ID identification part, a multicast application instance (MVPN/EVPN, etc.)
  • the address directly corresponds to the specified multicast application instance.
  • BIER encapsulation simplifies and embeds IPv6 header encapsulation to form an IPv6-based BIER forwarding mode.
  • IPv6 destination address is separately planned for multicast IPv6 BIER forwarding reservation, and BIER forwarding can be deployed in the IPv6 network.
  • IPv6 addresses introduce multicast service attributes to expand the application scope of network programming
  • the IPv6 network can be smoothly upgraded and deployed.
  • embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.
  • These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

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

Abstract

本公开实施例公开了一种组播报文传输方法、位转发路由器及存储介质,包括:BFR接收IP组播报文;BFR进行组播报文复制,进行IPv6 BIER报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA。BFR接收IPv6 BIER报文;BFR根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理。

Description

一种组播报文传输方法、位转发路由器及存储介质
相关申请的交叉引用
本公开基于申请号为202110168399.4、申请日为2021年02月07日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本公开。
技术领域
本公开涉及无线通信技术领域,特别涉及一种组播报文传输方法、位转发路由器及存储介质。
背景技术
组播作为一种与单播和广播并列的通信方式,通过使用特定的组播地址,将数据包传输到一个组播组内的所有的设备。当某一设备向一组设备发送数据时,不必向每个设备都发送该数据,而是将该数据发送到一个特定的组播地址,所有加入该组播组的设备均可以收到该数据。对发送端设备而言,数据只需发送一次即可以发送到所有接收者。利用组播技术可方便开展一些网络业务,包括电视直播、远程教育、远程医疗、网络电台、多媒体会议、视频监控等互联网的信息服务。
在IPv6(互联网协议第6版,Internet Protocol Version 6)网络承载组播流量时,在转发组播数据时报文头部空间不能充分利用。
发明内容
本公开实施例提供了一种组播报文传输方法、位转发路由器及存储介质,以至少解决在转发组播数据时报文头部空间不能充分利用的问题。
本公开实施例提供以下技术方案:
第一方面,本公开实施例提供了一种组播报文传输方法,包括:
BFR(位转发路由器,Bit-Forwarding Router)接收IP(互联网协议,Internet Protocol)组播报文;
BFR进行组播报文复制,进行IPv6 BIER(位索引显式复制,Bit Index Explicit Replication)报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR(位转发入口路由器,Bit-Forwarding Ingress Router)的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA(组播策略保留地址,)。
在本公开的一些可选实施例中,在IPv6扩展报文头部位置通过在Destination Option Header(目的选项头部)增加一种类型Option(选项)来设置所述IPv6 BIER报文头部。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL(位串长度)、SD(子域)、SI(子集标识)、RSV(保留位)、TTL(存活时间)、Entropy(信息熵)、DSCP(区分服务码点)、Ver(版本号)、OAM(操作维护管理)、BitString(位串)。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下设置之一或者其组合:
用显式的BSL、SD以及SI替换BIFT-id(位索引转发表标识)字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id(位转发入口路由器标识)设置为保留字段。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在本公开的一些可选实施例中,I-PMSI(包含-公网组播服务接口)和S-PMSI(选择-公网组播服务接口)AD(自动发现)路由的PTA(PMSI隧道属性)属性中MPLS Label(多协议标签交换标签)字段值的设置为0。
在本公开的一些可选实施例中,所述IPv6源地址为128比特(bit)的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN(3层虚拟专用网络)、L2VPN(2层虚拟专用网络)或EVPN(以太网虚拟专用网络)的业务ID。
在本公开的一些可选实施例中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP(边界网关协议)属性来携带的。
第二方面,本公开实施例还提供了一种组播报文传输方法,包括:
BFR接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
BFR根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理。
在本公开的一些可选实施例中,在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下设置之一或者其组合:
用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在本公开的一些可选实施例中,I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在本公开的一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在本公开的一些可选实施例中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
在本公开的一些可选实施例中,BFR根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理,包括以下处理之一或者其组合:
根据IPv6 BIER报文的BFR的MPRA查找单播路由表,在匹配本地组播策略保留地址成功后,解析IPv6-BIER报文;
根据BIER报头中的信息查找特定的BIFT表,判断本节点是否为BFER,如为BFER,解封装payload的内层组播报文,根据业务ID信息查找对应的组播路由表,进行相关的复制转发;如为普通BFR,则查找BIFT表进行BIER复制转发,其中,IPv6目的地址设置为下一跳的MPRA,IPv6源地址设置不变。
第三方面,本公开实施例还提供了一种BFR,包括:
处理器,用于读取存储器中的程序,执行下列过程:
接收IP组播报文;进行组播报文复制,进行IPv6 BIER报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
收发机,用于在处理器的控制下接收和发送数据。
在本公开的一些可选实施例中,在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下设置之一或者其组合:
用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在本公开的一些可选实施例中,I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在本公开的一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在本公开的一些可选实施例中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
第四方面,本公开实施例还提供了一种BFR,包括:
第一接收模块,配置为接收IP组播报文;
第一处理模块,配置为进行组播报文复制,进行IPv6 BIER报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA。
在本公开的一些可选实施例中,所述第一处理模块,配置为在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
在本公开的一些可选实施例中,所述第一处理模块,配置为处理包括 以下信息之一或者其组合的所述IPv6 BIER报文:
BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在本公开的一些可选实施例中,所述第一处理模块,配置为处理包括以下设置之一或者其组合的所述IPv6 BIER报文:
用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在本公开的一些可选实施例中,所述第一处理模块,配置为将I-PMSI 和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在本公开的一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在本公开的一些可选实施例中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
第五方面,本公开实施例还提供了一种BFR,包括:
处理器,用于读取存储器中的程序,执行下列过程:
接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理;
收发机,用于在处理器的控制下接收和发送数据。
在本公开的一些可选实施例中,在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下设置之一或者其组合:
用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在本公开的一些可选实施例中,I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在本公开的一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在本公开的一些可选实施例中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
在本公开的一些可选实施例中,所述处理器,还用于读取存储器中的程序,执行:根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所 述IPv6 BIER报文进行处理,包括以下处理之一或者其组合:
根据IPv6 BIER报文的BFR的MPRA查找单播路由表,在匹配本地组播策略保留地址成功后,解析IPv6-BIER报文;
根据BIER报头中的信息查找特定的BIFT表,判断本节点是否为BFER,如为BFER,解封装payload的内层组播报文,根据业务ID信息查找对应的组播路由表,进行相关的复制转发;如为普通BFR,则查找BIFT表进行BIER复制转发,其中,IPv6目的地址设置为下一跳的MPRA,IPv6源地址设置不变。
第六方面,本公开实施例还提供了一种BFR,包括:
第二接收模块,配置为接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
第二处理模块,配置为根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理。
在本公开的一些可选实施例中,所述第二接收模块,配置为接收的所述IPv6 BIER报文头部是在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置的。
在本公开的一些可选实施例中,所述第二接收模块,配置为接收包括以下信息之一或者其组合的所述IPv6 BIER报文:
BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在本公开的一些可选实施例中,所述第二接收模块,配置为接收包括以下设置之一或者其组合的所述IPv6 BIER报文:
用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在本公开的一些可选实施例中,I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在本公开的一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在本公开的一些可选实施例中,所述第二接收模块,配置为接收使用BGP属性来携带的设置为BFIR的网络前缀以及业务ID的IPv6源地址。
在本公开的一些可选实施例中,所述第二处理模块,配置为在根据网 络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理时,包括以下处理之一或者其组合:
根据IPv6 BIER报文的BFR的MPRA查找单播路由表,在匹配本地组播策略保留地址成功后,解析IPv6-BIER报文;
根据BIER报头中的信息查找特定的BIFT表,判断本节点是否为BFER,如为BFER,解封装payload的内层组播报文,根据业务ID信息查找对应的组播路由表,进行相关的复制转发;如为普通BFR,则查找BIFT表进行BIER复制转发,其中,IPv6目的地址设置为下一跳的MPRA,IPv6源地址设置不变。
第七方面,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有执行上述第一方面或第二方面组播报文传输方法的计算机程序。
本公开实施例提供的技术方案中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA,由于IPv6源地址划分前缀部分和业务ID标识部分,组播应用实例(MVPN/EVPN等)分配业务ID标识,组播接收者设备可以根据IPv6源地址直接对应指定的组播应用实例。由于BIER封装简化并嵌入IPv6头部封装,形成基于IPv6的BIER转发模式。由于IPv6目的地址单独规划用于组播IPv6 BIER转发预留,可在IPv6网络中插花部署BIER转发。
由于BFR节点接收到该报文时识别目的地址为本节点发布的MPRA,就可以查询IPv6 BIER头部进行组播转发,组播数据转发时由于因为源地址已经包含了业务ID,因此不再需要携带VPN标签,也因而避免了占用32bit报文头部空间。
进一步的,本公开实施例至少还有以下效果之一:
IPv6地址引入组播业务属性,扩展网络编程应用范围;
BIER封装与IPv6扩展有效结合,充分利用IPv6丰富扩展能力;
可以使IPv6网络平滑升级部署。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1为本公开实施例中MPLS Label字段格式示意图;
图2为本公开实施例中BIER的封装格式示意图;
图3为本公开实施例中BFR作为BFIR时的组播报文传输方法实施流程示意图;
图4为本公开实施例中BFR的组播报文传输方法实施流程示意图;
图5为本公开实施例中BIER IPv6头部结构示意图;
图6为本公开实施例中IPv6 BIER报文格式示意图;
图7为本公开实施例中IPv6 BIER报文传输路径示意图;
图8为本公开实施例中BGP属性格式示意图;
图9为本公开实施例中MSI属性的一个sub-sub-TLV格式示意图;
图10为本公开示例1的IPv6 BIER组播方案的实施示意图;
图11为本公开示例2的IPv6 BIER组播方案的实施示意图;
图12为本公开示例3的IPv6 BIER组播方案的实施示意图;
图13为本公开实施例中BFR结构一示意图;
图14为本公开实施例中BFR结构二示意图。
具体实施方式
传统的PIM(协议无关组播,Protocol Independent Multicast)协议需要逐跳加入建立组播树,但新型的BIER协议不需要用于显式构建多播分发树 的协议,也不需要中间节点来维护任何组播流状态。当组播数据包进入BIER区域内,入口路由器会确定要将数据包发送到的出口路由器的集合。然后,入口路由器将数据包封装在BIER标头中。BIER报文头部包含一个位字符串,其中每个位表示域中的一个出口路由器;为了将数据包转发到给定的出口路由器集,在BIER报文头部设置了与出口路由器相对应的位。
BIER协议简化组播路由转发,无需组播控制协议运行,无需建立组播树和组播隧道,中间节点看不到任何组播流状态信息,也无需保存任何组播状态,只需要网络入口和出口设备上交互源和接收者信息。BIER节点仅根据网络拓扑进行转发,继承单播的FRR(快速重路由,Fast Reroute)和LFA(帧丢失,Loss of Frame Alignment)。BIER网络收敛速度跟单播一样快,无需组播状态的信令交互和收敛过程。
同时IPv6网络环境下组播承载使用IPv6报文封装,对于私网组播数据还需要对VPN(虚拟专用网络,Virtual Private Network)进行标识。从控制面来看,有方案定义PIM和P2MP(点对多点主站,Point 2 Multiple Point)MPLS(多协议标签交换,MultiProtocol Label Switching)承载方式,有方案定义BIER承载方式,均要使用PTA(PMSI隧道属性,PMSI Tunnel Attribute;PMSI:公网组播服务接口,P-Multicast Service Interface)中的MPLS Label(标签)字段标识,图1为MPLS Label字段格式示意图,具体格式封装见图1所示,由Ingress PE(入口PE;PE:运营商边缘路由器,Provider Edge)通过BGP(边界网关协议,Border Gateway Protocol)MVPN(组播虚拟专用网,Multicast Virtual Private Network)X-PMSI(I-PMSI(包含PMSI,Inclusive-PMSI)/S-PMSI(选择PMSI,Selective-PMSI)统称)AD(自动发现,Auto Discovery)路由通告各Egress PE(出口PE)。从数据面来看,组播数据报文通过IPv6封装,均需要使用VPN Label标识对应的MVPN。
图2为BIER的封装格式示意图,如图所示,根据现有方案公开的BIER的封装格式,BIER组播复制转发的核心信息是BIER头中的BIFT-id(BIFT标识,BIFT:位索引转发表,Bit Index Forwarding Table)和BitString(位串),BIFT-id确定BIER报文所在BIER子域和BFR(位转发路由器,Bit-Forwarding Router)子集,BitString中的bit(比特)位确定在该子域和子集中组播报文的BFER集合。BIER头部封装已经提供了QoS(服务质量,Quality of Service)、ECMP(等价多径,Equal-cost Multipath)、环路避免、OAM(操作管理维护,Operation Administration and Maintenance)、多业务承载等能力,Underlay(下层)层面主要解决BIER报文的传输。
目前,BIER Underlay层面主要封装模式有四种,分别是:BIER-MPLS、BIER-Ethernet(BIER-以太网)、BIERin6(draft-zhang-bier-bierin6-07)、BIERv6(draft-xie-bier-ipv6-encapsulation-08),针对IPv6网络不同封装模式尚未形成业界的统一意见,其中BIER-MPLS、BIER-Ethernet封装均不支持IPv6网络;BIERin6仅把BIER报文作为Payload(有效载荷)封装到IPv6,无法利用现有IPv6报文头的高扩展性;BIERv6在封装上BIER头部和IPv6头部部分字段存在冗余冲突。
IPv6网络承载组播流量,无论使用PIM、P2MP MPLS还是BIER,按照现有方案均需要从Ingress PE分配VPN标签,用于标识不同VPN,使得组播流量到达egress PE后可以进入对应的VPN查找IP组播表继续转发。组播数据转发时需要携带VPN标签,占用32bit报文头部空间。
基于此,本公开实施例中提供了组播报文传输方案,下面结合附图对本公开的具体实施方式进行说明。
具有BIER能力的路由器称之为BFR,即位转发路由器(Bit-Forwarding Router),BFR组成的域称之为BIER域,组播流量进入和离开BIER域的BFR分别称之为BFIR和BFER(位转发出口路由器,Bit-Forwarding exit  Router)。在说明过程中,将分别从BFIR与BFER侧的实施进行说明,然后还将给出多个BFR配合实施的实例以更好地理解本公开实施例中给出的方案的实施。这样的说明方式并不意味着它们必须配合实施、或者必须单独实施,实际上,当各BFR分开实施时,其也各自解决自身一侧的问题,而它们结合使用时,会获得更好的技术效果。
图3为BFR作为BFIR时的组播报文传输方法实施流程示意图,如图所示,包括:
步骤301、BFR接收IP组播报文;
步骤302、BFR进行组播报文复制,进行IPv6 BIER报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA。
图4为BFR的组播报文传输方法实施流程示意图,如图所示,包括:
步骤401、BFR接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
步骤402、BFR根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理。
首先对IPv6 BIER报文的实施进行说明。
在本公开的一些可选实施例中,在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
图5为BIER IPv6头部结构示意图,如图所示,在本公开实施例给出的IPv6 BIER组播方案中,BIER IPv6头部在IPv6扩展报文头部位置选择Destination Option Header(目的选项头部),新增一种类型Option,继承已有IPv6扩展头部定义的属性和顺序,仅改变扩展头部内部数据。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在一些可选实施方式中,所述IPv6 BIER报文包括以下设置之一或者其组合:用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble(表示负载分担)设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在本公开的一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:
BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
示例性的,图6为IPv6 BIER报文格式示意图,如图所示,基于IPv6 的BIER头部格式不是完全继承现有报文section(章节、段落)2定义的BIER头部,而是基于IPv6头部已有格式定义进行调整,具体定义可以如下:
BSL:表示BitString的长度(log2(k)-5),既用作数据面转发时根据BSL、SD、SI字段确定BIER转发表,也用作数据面转发及离线报文分析时校验G-BIER头部及选项长度的正确性。
SD:子域(sub-domain),BIER域中的独立子域。
SI:集标识(Set Identifier),当使用的BSL长度不足以包括一个sub-domain所有节点的BFR-id时,需要分不同的集合,则不同集合使用不同的SI来标识。
BitStirng:位串,用来标识该BIER域出口节点的位集合,同SD、SI表示一组BFER路由器。
BIFT-id字段用显式的BSL/SD/SI替换,减少一次映射,显式BSL字段同时标识BitString长度,原有BSL字段不再使用设置为保留字段;其中,不同的Bitstring需要在不同的报文中转发,一个Bitstring对应于一个<SD,BSL,SI>,SD是BIER的sub-domain(子域),BSL是封装头的bitstringlength(位串长度),SI是子集标识(setidentifier),子域SD可以划分多个子集,并用SI标识。
TC(传输等级,Traffic Class)与IPv6头部的Traffic Class(传输等级)字段含义重复,不再使用设置为保留字段;
S flag(S标志)、Nibble(半字节)仅与MPLS转发相关,不再使用设置为保留字段;
Proto(协议)与扩展头部的Next Header(下一跳头部)含义重复,不再使用设置为保留字段;
BFIR-id与IPv6 Source address(源地址)含义重复,不再使用设置为 保留字段;
TTL:同MPLS封装的TTL的使用,具体实施可以参见参考RFC3032。
Entropy:支持ECMP,相同的Entropy+BitString,选择相同的路径。
DSCP:Differentiated Service Codepoint,差分服务代码点,通过编码值来区分优先级。
TTL(存活时间,Time To Live)、Entropy(信息熵)、DSCP(区分服务码点,DiffServ Code Point)虽然IPv6头部也有对应字段,但BIER头部定义中可仅应用于组播,继续使用。
Ver:表示版本号,当前值为0表示实验中的版本。
OAM:缺省为0,可用于Performance Measurement(PM)等OAM功能,不影响转发和QoS。
RSV(Reserved):保留位,当前不用缺省为0。RSV与Reserved都标识保留位,因为空间表示有限制所以在图中标识不同。
本公开实施例中的IPv6 BIER方案对IPv6源和目的地址做了定义如下:
IPv6目的地址作为IPv6 BIER下一跳的MPRA(组播策略保留地址,Multicast Policy Reserved Address),采用单独规划的IP地址,与接口Loopback(环回)口地址段分开,便于安全策略配置部署。BIER转发路由器(BFR)上需要本地配置专门用于BIER转发的IPv6地址,并通过控制面消息发布本节点的该IPv6地址,以通知其它邻居在向本节点发送IPv6 BIER报文时使用该IPv6地址。IPv6 BIER报文转发时将下一跳BFR地址设置为对应该节点的MPRA,这样下一跳BFR节点接收到该报文时识别目的地址为本节点发布的MPRA,就可以查询IPv6 BIER头部进行组播转发。
在本公开的一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在本公开的一些可选实施例中,所述方法还包括:I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
具体的,IPv6源地址引入网络编程思想,把128bit的地址分为前缀和业务标识两个部分,前缀部分作为BFIR节点网络标识、业务标识部分作为L3VPN(3层VPN)、L2VPN(2层VPN)、EVPN(以太网VPN,Ethernet VPN)等业务ID。IPv6 BIER报文转发不再使用单独的VPN Label字段,而是使用IPv6源地址来标识MVPN实例。从控制消息上看,通过使用新的BGP属性通告相应的BFIR前缀和业务ID,前述X-PMSI AD路由的PTA属性中MPLS Label字段值则可以设置为0。
图7为IPv6 BIER报文传输路径示意图,如图所示,用于MVPN或EVPN的L3组播时,出口PE节点由于需要支持根据选定的UMH(上游组播跳,Upstream Multicast Hop)进行组播RPF(逆向路径转发,Reverse path forwarding)检查,因此不仅需要知道IPv6 BIER报文属于哪个MVPN实例,还需要知道报文来自于哪个入口PE,一个IPv6源地址可以同时包含这两部分信息,具体的说,报文来自于哪个入口PE是IPv6源地址的前缀部分,报文属于哪个MVPN实例则是IPv6源地址的业务ID部分,但这个业务ID要以特定的节点作为上下文。
使用IPv6源地址来标识MVPN实例,可以进一步推广到标识EVPN实例、用于EVPN组播或者EVPN同网段的BUM(广播、未知单播、组播,broadcast&unknown-unicast&multicast)广播。在用于EVPN同网段的BUM广播时,租户的各NVE(网络虚拟边缘节点,Network Virtrualization Edge)节点只需要知道收到的报文属于哪个Intra-subnet(子网内)的EVI(以太虚拟专用网实例,EVPN instance)(或Intra-subnet的租户,或Bridge-domain(桥域)),而不需要RPF检查,即不需要知道报文来自于哪个入口PE。这种情况下,只需要根据IPv6源地址中的ID部分确定报文的VNI(虚拟的 网络标识,Virtual Network Identifier)、再根据本地配置确定该VNI(或该报文)属于哪个Bridge-domain。
这种使用IPv6源地址前缀和业务ID用于组播转发的方案,可以使用一个新的BGP属性来携带,该BGP属性作为参考可称为“Multicast Service Identifier(组播业务标识符)”属性或简称MSI属性。也即,实施中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
图8为BGP属性格式示意图,该新增属性定义格式可参考图8所示。
图9为MSI属性的一个sub-sub-TLV格式示意图,其中用于定义IPv6源地址字段划分的格式定义可作为BGP新定义MSI属性的一个sub-sub-TLV(子-子-TLV;TLV:类型、长度、值,Tag、Length、Value)可参考图9所示。
根据以上的IPv6 BIER格式定义,IPv6 BIER的基本转发过程可以如下:
作为入口PE的BFIR:
根据Overlay层提供的IP组播表项及对应的SD、SI、BSL和BitString信息,进行组播报文复制,查找BIFT表(BIER forwarding表),进行IPv6 BIER报文封装并转发。其中,IPv6源地址(SA)设置为BFIR的网络前缀+业务ID,IPv6目的地址(DA)设置为下一跳BFR的MPRA。
中间节点:
在本公开的一些可选实施例中,BFR根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理,包括以下处理之一或者其组合:
根据IPv6 BIER报文的BFR的MPRA查找单播路由表,在匹配本地组播策略保留地址成功后,解析IPv6-BIER报文;
根据BIER报头中的信息查找特定的BIFT表,判断本节点是否为BFER,如为BFER,解封装payload的内层组播报文,根据业务ID信息查 找对应的组播路由表,进行相关的复制转发;如为普通BFR,则查找BIFT表进行BIER复制转发,其中,IPv6目的地址设置为下一跳的MPRA,IPv6源地址设置不变。
具体的,根据IPv6 BIER报文DA查找单播路由表,匹配本地组播策略保留地址,如匹配成功,需解析IPv6 BIER报文。根据BIER报头中的SD、SI、BSL查找特定的BIER forwarding表(BIFT),比对BitString信息及本地BFR-ID,判断本节点是否为BFER。如为BFER,解封装payload的内层组播报文,根据SA中的MS ID(组播业务标识)信息查找对应的组播路由表,进行相关的复制转发。如果为普通BFR,则根据BitString信息继续查找BIFT表进行BIER复制转发,其中DA设置为下一跳的组播策略保留地址,SA保持不变。
根据以上转发过程,下面以实例来对IPv6 BIER组播方案的实施进行说明。
首先,设各设备IPv6 BIER相关配置如下:
PSR(省业务路由器,Province Service Router)1台;PE 2台;MB(城域主干网,Metro Backbone)2台;SR(业务路由器,Service Router)3台。
PSR-PE-MB-SR节点的标识分别是A:1,B:1/B:2,C:1/C:2,D:1/D:2/D:3;
PSR-PE-MB-SR节点的MPRA分别是A:1::FFFE,B:1::FFFE/B:2::FFFE,C:1::FFFE/C:2::FFFE,D:1::FFFE/D:2::FFFE/D:3::FFFE;
PSR上使用A:1:6:/112的地址标识BFIR前缀,低16bit的1000标识MVPN ID。
示例1
本场景下网络全部设备支持IPv6 BIER组播方案。
图10为示例1的IPv6 BIER组播方案的实施示意图,如图所示,可以 如下:
1.PSR1 MVPN实例私网侧从CE(用户边缘路由器,Customer Edge)(未画出)收到IP组播报文,找到接收到组播报文的接口关联的MVPN转发实例,在MVPN转发实例中查找IP组播转发表,确定组播报文在IPv6 BIER类型的PMSI隧道上转发,以及IPv6 BIER PMSI隧道对应的IPv6 SA、BSL/SD/SI、BitString等参数,并按BSL/SD/SI和BitString查找本地IPv6 BIER转发表,确定向IPv6 BIER邻居PE1转发,转发封装SA=A:1:6::1000,DA=B:1::FFFE(邻居PE1的MPRA)、BSL/SD/SI=3/0/0(其中BSL=3表示256bits)、BitString=0111,根据DA(目的地址)进行IPv6单播转发。
2.PE1节点收到报文,报文的IPv6 DA命中MPRA B:1::FFFE,按报文的BSL/SD/SI和BitString查找本地IPv6 BIER转发表,确定向邻居MB1转发,转发封装SA不变,DA=C:1::FFFE(邻居MB1的MPRA)、BSL/SD/SI=3/0/0、BitString=0111。
3.MB1节点收到报文,报文的IPv6 DA命中MPRA C:1::FFFE,按报文的BSL/SD/SI和BitString查找本地IPv6 BIER转发表,确定向邻居SR1/SR2/SR3复制转发,以SR1为例,转发封装SA不变,DA=D:1::FFFE(邻居SR1的MPRA)、BSL/SD/SI=3/0/0、BitString=0001。向SR2/SR3转发的报文封装类似,不再赘述(图中给出向SR3转发的报文格式)。
4.SR1节点收到报文,报文的IPv6 DA命中MRPA D:1::FFFE,并且Bit String 0001中置位1的bit对应的BFR-id是SR1自己的BFR-id。IPv6 BIER解封装,同时校验IPv6 SA前缀部分的BFIR是否通过RPF检查,查找MVPN ID对应的本地MVPN实例,报文payload进入对应的MVPN转发实例进行私网IP组播转发。SR2/SR3节点的报文处理过程类似,不再赘述。
示例2
本场景中,非分支节点不支持IPv6 BIER组播方案。
图11为示例2的IPv6 BIER组播方案的实施示意图,如图所示,可以如下:
1.PSR1 MVPN实例私网侧从CE(未画出)收到IP组播报文,找到接收到组播报文的接口关联的MVPN转发实例,在MVPN转发实例中查找IP组播转发表,确定组播报文在IPv6 BIER类型的PMSI隧道上转发,以及IPv6 BIER PMSI隧道对应的IPv6 SA、BSL/SD/SI、BitString等参数,并按BSL/SD/SI和BitString查找本地IPv6 BIER转发表,由于单播路由的下一跳PE1为Non-BFR即不支持IPv6 BIER的节点,因此确定直接向IPv6 BIER邻居即下一跳BFR MB1转发,转发封装SA=A:1:6::1000,DA=C:1::FFFE(非直连邻居MB1的MPRA)、BSL/SD/SI=3/0/0(其中BSL=3表示256bits)、BitString=0111,根据DA进行IPv6单播转发。
2.MB1/SR1/SR2/SR3节点的报文转发和处理过程与实施例1场景相同。
示例3
本场景中,分支节点不支持IPv6 BIER组播方案。
图12为示例3的IPv6 BIER组播方案的实施示意图,如图所示,可以如下:
1.PSR1节点的报文封装和转发过程与第一种场景相同.
2.PE1节点收到报文,报文的IPv6 DA命中MPRA B:1::FFFE,按报文的BSL/SD/SI和BitString查找本地IPv6 BIER转发表,由于单播路由的下一跳MB1为Non-BFR即不支持IPv6 BIER的节点,因此确定直接向IPv6 BIER邻居即下一跳BFR SR1/SR2/SR3进行复制并转发,以SR1为例,转发封装SA不变,DA=D:1::FFFE(邻居SR1的MPRA)、BSL/SD/SI=3/0/0、BitString=0001。向SR2/SR3转发的报文封装类似,不再赘述。
这种场景由于MB1为分支点不支持IPv6 BIER组播复制,造成实际组播流量从PE1就进行复制并分别向SR1/SR2/SR3转发,使得PE1-MB1路 径组播流量出现冗余。
3.SR1/SR2/SR3节点的报文转发和处理过程与实施例1场景相同。
本公开实施例中还提供了一种BFR、及计算机可读存储介质,由于这些设备解决问题的原理与组播报文传输方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。
在实施本公开实施例提供的技术方案时,可以按如下方式实施。
图13为本公开实施例中BFR结构一示意图,如图所示,BFR中包括:
处理器1300,用于读取存储器1320中的程序,执行下列过程:接收IP组播报文;进行组播报文复制,进行IPv6 BIER报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
收发机1310,用于在处理器1300的控制下接收和发送数据。
在一些可选实施例中,在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
在一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在一些可选实施例中,所述IPv6 BIER报文包括以下设置之一或者其组合:用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在一些可选实施例中,I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在一些可选实施例中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
其中,在图13中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1300代表的一个或多个处理器和存储器1320代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1310可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。处理器1300负责管理总线架构和通常的处理,存储器1320 可以存储处理器1300在执行操作时所使用的数据。
本公开实施例中还提供了一种BFR,包括:
第一接收模块,配置为接收IP组播报文;
第一处理模块,配置为进行组播报文复制,进行IPv6 BIER报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA。
在一些可选实施例中,第一处理模块,配置为在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
在一些可选实施例中,第一处理模块,配置为处理包括以下信息之一或者其组合的所述IPv6 BIER报文:
BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在一些可选实施例中,第一处理模块,配置为处理包括以下设置之一或者其组合的所述IPv6 BIER报文:
用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在一些可选实施例中,第一处理模块,配置为将I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在一些可选实施例中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本公开实施例时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。
图14为本公开实施例中BFR结构二示意图,如图14所示,BFR中包括:
处理器1400,用于读取存储器1420中的程序,执行下列过程:接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理;
收发机1410,用于在处理器1400的控制下接收和发送数据。
在一些可选实施例中,在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
在一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在一些可选实施例中,所述IPv6 BIER报文包括以下设置之一或者其组合:用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在一些可选实施例中,I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在一些可选实施例中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
在一些可选实施例中,所述处理器1400,还用于读取存储器中的程序,执行:根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理,包括以下处理之一或者其组合:
根据IPv6 BIER报文的BFR的MPRA查找单播路由表,在匹配本地组播策略保留地址成功后,解析IPv6-BIER报文;
根据BIER报头中的信息查找特定的BIFT表,判断本节点是否为BFER,如为BFER,解封装payload的内层组播报文,根据业务ID信息查找对应的组播路由表,进行相关的复制转发;如为普通BFR,则查找BIFT表进行BIER复制转发,其中,IPv6目的地址设置为下一跳的MPRA,IPv6源地址设置不变。
其中,在图14中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1400代表的一个或多个处理器和存储器1420代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1410可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。处理器1400负责管理总线架构和通常的处理,存储器1420可以存储处理器1400在执行操作时所使用的数据。
本公开实施例中还提供了一种BFR,包括:
第二接收模块,配置为接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
第二处理模块,配置为根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理。
在一些可选实施例中,第二接收模块,配置为接收的所述IPv6 BIER报文头部是在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置的。
在一些可选实施例中,第二接收模块,配置为接收包括以下信息之一或者其组合的所述IPv6 BIER报文:
BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
在一些可选实施例中,第二接收模块,配置为接收包括以下设置之一或者其组合的所述IPv6 BIER报文:
用显式的BSL、SD以及SI替换BIFT-id字段;
显式BSL字段标识BitString长度;
原有BSL字段设置为保留字段;
TC设置为保留字段;
S flag设置为保留字段;
Nibble设置为保留字段;
Proto设置为保留字段;
BFIR-id设置为保留字段。
在一些可选实施例中,所述IPv6 BIER报文包括以下信息之一或者其组合:BSL为BitString的长度;
SD为BIER子域标识;
SI为BIER集合标识;
TTL为BIER报文生命周期值;
Ver为协议版本号;
Entropy为用于支持ECMP路径选择;
OAM为用于BIER转发性能测量标识;
RSV为保留位,当前不用缺省为0;
DSCP为标识差分服务,通过编码值来区分优先级;
BitStirng为用来标识该BIER域出口节点的位集合。
在一些可选实施例中,I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
在一些可选实施例中,所述IPv6源地址为128bit的字段;
网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
在一些可选实施例中,第二接收模块,配置为接收使用BGP属性来携带的设置为BFIR的网络前缀以及业务ID的IPv6源地址。
在一些可选实施例中,第二处理模块,配置为在根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理时,包括以下处理之一或者其组合:
根据IPv6 BIER报文的BFR的MPRA查找单播路由表,在匹配本地组播策略保留地址成功后,解析IPv6-BIER报文;
根据BIER报头中的信息查找特定的BIFT表,判断本节点是否为BFER,如为BFER,解封装payload的内层组播报文,根据业务ID信息查找对应的组播路由表,进行相关的复制转发;如为普通BFR,则查找BIFT表进行BIER复制转发,其中,IPv6目的地址设置为下一跳的MPRA,IPv6源地址设置不变。
为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本公开实施例时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。
本公开实施例中还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有执行上述组播报文传输方法的计算机程序。
具体实施可以参见组播报文传输方法的实施。
综上所述,本公开实施例提供的技术方案中,IPv6源地址划分前缀部分和业务ID标识部分,组播应用实例(MVPN/EVPN等)分配业务ID标识,组播接收者设备根据IPv6源地址直接对应指定的组播应用实例。
BIER封装简化并嵌入IPv6头部封装,形成基于IPv6的BIER转发模式。
IPv6目的地址单独规划用于组播IPv6 BIER转发预留,可在IPv6网络中插花部署BIER转发。
可见,IPv6地址引入组播业务属性,扩展网络编程应用范围;
BIER封装与IPv6扩展有效结合,充分利用IPv6丰富扩展能力;
可以使IPv6网络平滑升级部署。
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。

Claims (22)

  1. 一种组播报文传输方法,包括:
    位转发路由器BFR接收互联网协议IP组播报文;
    BFR进行组播报文复制,进行互联网协议第6版IPv6位索引显式复制BIER报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为位转发入口路由器BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的组播策略保留地址MPRA。
  2. 如权利要求1所述的方法,其中,在IPv6扩展报文头部位置通过在目的选项头部Destination Option Header增加一种类型选项Option来设置所述IPv6 BIER报文头部。
  3. 如权利要求1所述的方法,其中,所述IPv6 BIER报文包括以下信息之一或者其组合:
    位串长度BSL、子域SD、子集标识SI、保留位RSV、存活时间TTL、信息熵Entropy、区分服务码点DSCP、版本号Ver、操作维护管理OAM、位串BitString。
  4. 如权利要求3所述的方法,其中,所述IPv6 BIER报文包括以下设置之一或者其组合:
    用显式的BSL、SD以及SI替换位索引转发表标识BIFT-id字段;
    显式BSL字段标识BitString长度;
    原有BSL字段设置为保留字段;
    TC设置为保留字段;
    S flag设置为保留字段;
    Nibble设置为保留字段;
    Proto设置为保留字段;
    位转发入口路由器标识BFIR-id设置为保留字段。
  5. 如权利要求1所述的方法,其中,所述IPv6 BIER报文包括以下信息之一或者其组合:
    BSL为BitString的长度;
    SD为BIER子域标识;
    SI为BIER集合标识;
    TTL为BIER报文生命周期值;
    Ver为协议版本号;
    Entropy为用于支持ECMP路径选择;
    OAM为用于BIER转发性能测量标识;
    RSV为保留位,当前不用缺省为0;
    DSCP为标识差分服务,通过编码值来区分优先级;
    BitStirng为用来标识该BIER域出口节点的位集合。
  6. 如权利要求1所述的方法,其中,包含-公网组播服务接口I-PMSI和选择-公网组播服务接口S-PMSI自动发现AD路由的PMSI隧道属性PTA属性中多协议标签交换标签MPLS Label字段值的设置为0。
  7. 如权利要求1所述的方法,其中,所述IPv6源地址为128bit的字段;
    网络前缀为BFIR节点网络标识,和/或,业务ID为3层虚拟专用网络L3VPN、2层虚拟专用网络L2VPN或以太网虚拟专用网络EVPN的业务标识ID。
  8. 如权利要求1所述的方法,其中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用边界网关协议BGP属性来携带的。
  9. 一种组播报文传输方法,包括:
    BFR接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的 MPRA;
    BFR根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理。
  10. 如权利要求9所述的方法,其中,在IPv6扩展报文头部位置通过在Destination Option Header增加一种类型Option来设置所述IPv6 BIER报文头部。
  11. 如权利要求9所述的方法,其中,所述IPv6 BIER报文包括以下信息之一或者其组合:
    BSL、SD、SI、RSV、TTL、Entropy、DSCP、Ver、OAM、BitString。
  12. 如权利要求11所述的方法,其中,所述IPv6 BIER报文包括以下设置之一或者其组合:
    用显式的BSL、SD以及SI替换BIFT-id字段;
    显式BSL字段标识BitString长度;
    原有BSL字段设置为保留字段;
    TC设置为保留字段;
    S flag设置为保留字段;
    Nibble设置为保留字段;
    Proto设置为保留字段;
    BFIR-id设置为保留字段。
  13. 如权利要求9所述的方法,其中,所述IPv6 BIER报文包括以下信息之一或者其组合:
    BSL为BitString的长度;
    SD为BIER子域标识;
    SI为BIER集合标识;
    TTL为BIER报文生命周期值;
    Ver为协议版本号;
    Entropy为用于支持ECMP路径选择;
    OAM为用于BIER转发性能测量标识;
    RSV为保留位,当前不用缺省为0;
    DSCP为标识差分服务,通过编码值来区分优先级;
    BitStirng为用来标识该BIER域出口节点的位集合。
  14. 如权利要求9所述的方法,其中,I-PMSI和S-PMSI AD路由的PTA属性中MPLS Label字段值的设置为0。
  15. 如权利要求9所述的方法,其中,所述IPv6源地址为128bit的字段;
    网络前缀为BFIR节点网络标识,和/或,业务ID为L3VPN、L2VPN或EVPN的业务ID。
  16. 如权利要求9所述的方法,其中,设置为BFIR的网络前缀以及业务ID的IPv6源地址是使用BGP属性来携带的。
  17. 如权利要求9至16任一所述的方法,其中,BFR根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理,包括以下处理之一或者其组合:
    根据IPv6 BIER报文的BFR的MPRA查找单播路由表,在匹配本地组播策略保留地址成功后,解析IPv6-BIER报文;
    根据BIER报头中的信息查找特定的BIFT表,判断本节点是否为BFER,如为BFER,解封装payload的内层组播报文,根据业务ID信息查找对应的组播路由表,进行相关的复制转发;如为普通BFR,则查找BIFT表进行BIER复制转发,其中,IPv6目的地址设置为下一跳的MPRA,IPv6源地址设置不变。
  18. 一种BFR,包括:
    处理器,用于读取存储器中的程序,执行下列过程:
    接收IP组播报文;
    进行组播报文复制,进行IPv6 BIER报文封装并转发,其中,所述IPv6BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
    收发机,用于在处理器的控制下接收和发送数据。
  19. 一种BFR,包括:
    第一接收模块,配置为接收IP组播报文;
    第一处理模块,配置为进行组播报文复制,进行IPv6 BIER报文封装并转发,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA。
  20. 一种BFR,包括:
    处理器,用于读取存储器中的程序,执行下列过程:
    接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
    根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6BIER报文进行处理;
    收发机,用于在处理器的控制下接收和发送数据。
  21. 一种BFR,包括:
    第二接收模块,配置为接收IPv6 BIER报文,其中,所述IPv6 BIER报文中IPv6源地址设置为BFIR的网络前缀以及业务ID,IPv6目的地址设置为下一跳BFR的MPRA;
    第二处理模块,配置为根据网络前缀或业务ID、BFR的MPRA之一或者其组合对所述IPv6 BIER报文进行处理。
  22. 一种计算机可读存储介质,所述计算机可读存储介质存储有执行权利要求1至8任一所述方法的计算机程序;或者,所述计算机可读存储介质存储有执行权利要求9至17任一所述方法的计算机程序。
PCT/CN2022/074403 2021-02-07 2022-01-27 一种组播报文传输方法、位转发路由器及存储介质 WO2022166773A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110168399.4A CN114945000B (zh) 2021-02-07 2021-02-07 一种组播报文传输方法、位转发路由器及存储介质
CN202110168399.4 2021-02-07

Publications (1)

Publication Number Publication Date
WO2022166773A1 true WO2022166773A1 (zh) 2022-08-11

Family

ID=82741946

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/074403 WO2022166773A1 (zh) 2021-02-07 2022-01-27 一种组播报文传输方法、位转发路由器及存储介质

Country Status (2)

Country Link
CN (1) CN114945000B (zh)
WO (1) WO2022166773A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333882A (zh) * 2022-08-12 2022-11-11 中国电信股份有限公司 一种信息处理方法及相关设备
CN115333882B (zh) * 2022-08-12 2024-06-07 中国电信股份有限公司 一种信息处理方法及相关设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117749700A (zh) * 2022-09-22 2024-03-22 华为技术有限公司 对应关系的获取方法、参数通告方法、装置、设备及介质
CN117834591A (zh) * 2022-09-29 2024-04-05 中兴通讯股份有限公司 组播流量报文转发方法、系统、计算机设备及可读介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180367456A1 (en) * 2017-06-20 2018-12-20 Cisco Technology, Inc. System and method to facilitate packet forwarding using stateful bit index explicit replication (bier) in a networking environment
CN109150730A (zh) * 2017-06-15 2019-01-04 中兴通讯股份有限公司 组播跨域方法、装置、系统及计算机可读存储介质
CN110784411A (zh) * 2019-09-30 2020-02-11 华为技术有限公司 建立bier转发表项的方法、装置和系统
CN112054959A (zh) * 2019-06-06 2020-12-08 华为技术有限公司 一种bier报文的发送方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811387B (zh) * 2014-01-24 2018-06-01 思科技术公司 具有位索引显式复制的等价多路径
US10367734B2 (en) * 2017-07-11 2019-07-30 Cisco Technology, Inc. Forwarding of packets in a network based on multiple compact forwarding identifiers represented in a single internet protocol version 6 (IPv6) address
CN109246017B (zh) * 2018-11-28 2021-03-23 新华三技术有限公司 一种查询组播转发路径的方法及装置
CN114884867A (zh) * 2019-03-08 2022-08-09 华为技术有限公司 一种bier报文的发送方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150730A (zh) * 2017-06-15 2019-01-04 中兴通讯股份有限公司 组播跨域方法、装置、系统及计算机可读存储介质
US20180367456A1 (en) * 2017-06-20 2018-12-20 Cisco Technology, Inc. System and method to facilitate packet forwarding using stateful bit index explicit replication (bier) in a networking environment
CN112054959A (zh) * 2019-06-06 2020-12-08 华为技术有限公司 一种bier报文的发送方法和装置
CN110784411A (zh) * 2019-09-30 2020-02-11 华为技术有限公司 建立bier转发表项的方法、装置和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333882A (zh) * 2022-08-12 2022-11-11 中国电信股份有限公司 一种信息处理方法及相关设备
CN115333882B (zh) * 2022-08-12 2024-06-07 中国电信股份有限公司 一种信息处理方法及相关设备

Also Published As

Publication number Publication date
CN114945000B (zh) 2023-08-15
CN114945000A (zh) 2022-08-26

Similar Documents

Publication Publication Date Title
CN109218178B (zh) 一种报文处理方法及网络设备
US8861547B2 (en) Method, apparatus, and system for packet transmission
US10193812B2 (en) Multicast load balancing in multihoming EVPN networks
US8625465B1 (en) Auto-discovery of virtual private networks
WO2020088696A1 (zh) 报文转发的方法、发送报文的装置和接收报文的装置
US9935783B2 (en) System for avoiding traffic flooding due to asymmetric MAC learning and achieving predictable convergence for PBB-EVPN active-active redundancy
US7339929B2 (en) Virtual private LAN service using a multicast protocol
WO2022100554A1 (zh) Bier报文转发的方法、设备以及系统
WO2022166773A1 (zh) 一种组播报文传输方法、位转发路由器及存储介质
WO2013139270A1 (zh) 实现三层虚拟专用网络的方法、设备及系统
WO2008011818A1 (fr) Procédé de fourniture d&#39;un service réseau local privé virtuel à hiérarchie et système réseau
CN103973825A (zh) 叠加网络中通告mac地址可达性的方法、节点设备及发送方法
WO2014186978A1 (zh) 用于以太虚拟专用网的方法和设备
WO2017177756A1 (zh) 一种信息传递方法、装置及系统
WO2021093463A1 (zh) 报文转发的方法、第一网络设备以及第一设备组
WO2022117018A1 (zh) 报文传输的方法和装置
WO2021129023A1 (zh) 报文发送的方法、设备和系统
CN113114553B (zh) Evpn下不同组网对接的实现方法及装置
WO2024016869A1 (zh) 一种组播配置方法及装置
WO2022116615A1 (zh) 报文传输的方法、获取对应关系的方法、装置及系统
CN116886663A (zh) 基于rfc 8317的e-tree实现方式、装置和通信设备
Perlman et al. Network Working Group Donald Eastlake INTERNET-DRAFT Huawei Intended status: Proposed Standard Anoop Ghanwani Obsoletes: 6326 Dell
Thoria et al. Network Working Group Sami Boutros INTERNET-DRAFT Ali Sajassi Category: Standards Track Samer Salam Dennis Cai

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: 22749052

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.11.2023)