Internet-Draft | Abbreviated Title | July 2024 |
Zhang, et al. | Expires 2 January 2025 | [Page] |
PIM usually uses the shortest path computed by routing protocols to build multicast tree. Multi-Topology Routing is a technology to enable service differentiation within an IP network. IGP Flex Algorithm provides a way to compute constraint-based paths over the network. This document defines the PIM message extensions to provide a way to build multicast tree through the specific topology and constraint-based path instead of the shortest path.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 2 January 2025.¶
Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Protocol Independent Multicast (PIM) get the upstream neighbor and incoming interface to multicast source or Rendezvous Point (RP) from the unicast routing protocol. As described in section 3 in [RFC7761], PIM relies on an underlying topology-gathering protocol to populate the MRIB (Multicast Routing Information Base). Usually the MRIB is the best paths over the network based on the IGP metric. In some cases, alternative paths with low latency or high bandwidth are needed for specific requirements.¶
Multi-Topology Routing (MTR) is a technology to enable service differentiation within an IP network. To support MTR, an IGP maintains independent IP topologies, termed as "Multi-Topologies" (MT), and computes/installs routes per topology. OSPF extensions [RFC4915] and ISIS extensions [RFC5120] specify the MT extensions.¶
[RFC9350] specifies a solution that allows IGPs themselves to compute constraint-based paths over the network. FA can be seen as creating a sub-topology within a topology using defined topology constraints and computation algorithm. This can be done within a MTR topology or the default Topology. In the future different algorithms might be defined. For that reason, in the remainder of this document, we'll refer to this as the IGP Algorithm (IPA).¶
In Figure 1, there is only a defult topology in the network. R1 is the source DR and R6 is last-hop DR. Two multicast flows need to be received by the receiver: flow 1 (1.0.0.0/24, 233.252.0.1/32) and flow 2 (2.0.0.0/24, 233.252.0.2/32). The shortest paths to the two sources are the same: R6-R4-R2-R1. But the bandwidth on the path is not enough for the two flows delivery. Packet loss occurs. The network can be divided into 2 planes by different Flex-Algorithms defined in [RFC9350]. For example, R1/R2/R4/R6 belong to green plane, and R1/R3/R5/R6 belong to red plane.¶
This document defines the PIM message extensions to provide the way to build multicast tree through the specific topology and constraint-based path instead of the shortest path. In this figure, flow 1 can be delivered in plan 1, flow 2 can be delivered in plan 2.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].¶
This document does not introduce more terminologies than [RFC7761], [RFC5384], [RFC5496], [RFC4915], [RFC5120] and [RFC9350].¶
[I-D.gopal-pim-pfm-forwarding-enhancements] defines a new TLV for announcing sources that allows for Sub-TLVs that can be used for providing various types of information. This document defines a new MT Sub-TLV that can be used for carrying the topology ID and the IPA value.¶
[RFC5384] defines a pim Join Attributes are encoded as TLVs into the Encoded-Source Address field of a PIM Join message. This document specifies the MT Attribute that allows the receiver to select the associated topology or algorithm.¶
PIM Flooding Mechanism and Source Discovery [RFC8364] allows for announcement of active sources. [I-D.gopal-pim-pfm-forwarding-enhancements] defines a new TLV for announcing sources that allows for Sub-TLVs that can be used for providing various types of information. The MT Sub-TLV is advertised with Group Source Info TLV, and flooded in the network.¶
The FHR advertises the announcing sources carrying the MT Sub-TLV to the network. All the routers in the network receive the information through PFM function. If two or more FHRs announce same source and group with different MT-ID and IPA value because of wrong configurations or other reasons, the LHR SHOULD select the MT-ID and the IPA by using the lowest or highest originator address.¶
The LHR PIM router on the receiving side specifies the MT-ID and IPA of the unicast route to the multicast source according to the local policy. The LHR looks up the local topology routing table and gets the upstream neighbor, then the LHR sends the join message to the upstream neighbor with the specified MT-ID and IPA value set in the MT attribute. The local configured MT-ID and IPA is the same with the advertisement of LHR usually. In case there is inconsistent, the LHR MUST NOT send the J/P message with MT attribute. When there is no specific MT-ID and IPA value in local policy or configuration on LHR, LHR SHOULD use the MT-ID and IPA received by PFM advertisements if there is.¶
After receiving join messages, the upstream PIM router checks all the received join messages, if all the received join messages carried the same MT-ID and IPA value, then it looks up unicast routes in the specific topology and selects the incoming interface and upstream neighbor according to the algorithm. And the continual join messages keep carrying the MT Attribute. When the local policy or configuration is deleted on LHR, LHR MUST send the associated prune message. And the continual prune message MUST carried the attribute.¶
In case the upstream neighbor finds that not all the received join messages carried the same MT-ID and IPA value, or unicast routing is unreachable in the specific topology, the upstream neighbor MUST use the local routing table which is the default topology to get the upstream neighbor. And this inconsistency SHOULD be notified to the network administrator. If the upstream neighbor is FHR, the FHR SHOULD NOT continue advertising the MT Sub-TLV until all the received join messages carried the same MT-ID and IPA value.¶
The MT attribute SHOULD NOT be used with RPF vector attribute([RFC5496]). In case the MT attribute is also received with the RPF vector attribute, the router SHOULD ignore one of them according to local policy.¶
There should be no more than one MT attribute in an Encoded-Source Address when PIM build a join message. If the PIM router receives a join message with multiple MT attributes in an Encoded-Source Address, the first one is RECOMMENDED be used.¶
In the example of figure 1, R1 sends the PFM message with MT sub-TLV according to local policy or configuration. The MT-ID 0 which indicate the default topology and IPA M which indicates the FA is set in the sub-TLV. All the nodes in the network receive the message. R6 is configured with policy rule1 to match flow 1 (1.0.0.0/24, 233.252.0.1/32) and set IPA M to select green plane in the default topology, and R6 is configured with policy rule2 to match flow 2 (2.0.0.0/24, 233.252.0.2/32) and set Flex-Algorithm N to select red plane. When JoinDesired(1.0.0.1, 233.252.0.1) ([RFC7761]) is TRUE, R6 will match policy rule1 in local policy and send PIM join to R4 with MT-ID 0 and IPA M in MT Attribute. Also, when JoinDesired(2.0.0.1, 233.252.0.2) is TRUE, R6 will match policy rule2 in local policy and send PIM join to R5 with MT-ID 0 and IPA N in MT Attribute. Then flow 1 can be delivered in plan 1, flow 2 can be delivered in plan 2.¶
TBD.¶
The consideration mentioned in [RFC7761] and [I-D.gopal-pim-pfm-forwarding-enhancements] apply to this document.¶
If PIM routers in the multicast tree select different topology and algorithm based on different local policy, there may be a loop in the network. Forged router may advertise source and group information with wrong MT sub-TLV. The network administrator should be careful for the MT consistency.¶