CR-LDP unnumbered links: Signalling Unnumbered Links in CR-LDP (Constraint-Routing Label Distribution Protocol)
How CR-LDP signalling can name and use MPLS traffic engineering links that have no IP address.
Kompella, K., Rekhter, Y., and A. Kullberg, "Signalling Unnumbered Links in CR-LDP (Constraint-Routing Label Distribution Protocol)", RFC 3480, DOI 10.17487/RFC3480, February 2003, <https://www.rfc-editor.org/info/rfc3480>.
@misc{rfc3480,
series = {Request for Comments},
number = 3480,
howpublished = {RFC 3480},
publisher = {RFC Editor},
doi = {10.17487/RFC3480},
url = {https://www.rfc-editor.org/info/rfc3480},
author = {K. Kompella and Y. Rekhter and A. Kullberg},
title = {{Signalling Unnumbered Links in CR-LDP (Constraint-Routing Label Distribution Protocol)}},
pagetotal = 8,
year = 2003,
month = feb,
} RFC text
Contents
Network Working Group K. Kompella
Request for Comments: 3480 Y. Rekhter
Category: Standards Track Juniper Networks
A. Kullberg
NetPlane Systems
February 2003
Signalling Unnumbered Links in CR-LDP
(Constraint-Routing Label Distribution Protocol)
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2003). All Rights Reserved.
Abstract
Current signalling used by Multi-Protocol Label Switching Traffic
Engineering (MPLS TE) does not provide support for unnumbered links.
This document defines procedures and extensions to Constraint-Routing
Label Distribution Protocol (CR-LDP), one of the MPLS TE signalling
protocols that are needed in order to support unnumbered links.
Specification of Requirements
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 BCP 14, RFC 2119
[RFC2119].
1. Overview
Supporting MPLS TE over unnumbered links (i.e., links that do not
have IP addresses) involves two components: (a) the ability to carry
(TE) information about unnumbered links in IGP TE extensions (ISIS or
OSPF), and (b) the ability to specify unnumbered links in MPLS TE
signalling. The former is covered in [GMPLS-ISIS, GMPLS-OSPF]. The
focus of this document is on the latter.
Current signalling used by MPLS TE does not provide support for
unnumbered links because the current signalling does not provide a
way to indicate an unnumbered link in its Explicit Route Objects.
This document proposes simple procedures and extensions that allow
CR-LDP signalling [CR-LDP] to be used with unnumbered links.
2. Link Identifiers
An unnumbered link has to be a point-to-point link. An LSR at each
end of an unnumbered link assigns an identifier to that link. This
identifier is a non-zero 32-bit number that is unique within the
scope of the LSR that assigns it. If one is using OSPF or ISIS as
the IGP in support of traffic engineering, then the IS-IS and/or OSPF
and CR-LDP modules on an LSR must agree on the identifiers.
There is no a priori relationship between the identifiers assigned to
a link by the LSRs at each end of that link.
LSRs at the two end points of an unnumbered link exchange with each
other the identifiers they assign to the link. Exchanging the
identifiers may be accomplished by configuration, by means of a
protocol such as LMP ([LMP]), by means of CR-LDP (especially in the
case where a link is a Forwarding Adjacency, see below), or by means
of IS-IS or OSPF extensions ([ISIS-GMPLS], [OSPF-GMPLS]).
Consider an (unnumbered) link between LSRs A and B. LSR A chooses an
identifier for that link. So does LSR B. From A's perspective, we
refer to the identifier that A assigned to the link as the "link
local identifier" (or just "local identifier"), and to the identifier
that B assigned to the link as the "link remote identifier" (or just
"remote identifier"). Likewise, from B's perspective, the identifier
that B assigned to the link is the local identifier, and the
identifier that A assigned to the link is the remote identifier.
In the context of this document, the term "Router ID" means a stable
IP address of an LSR that is always reachable if there is any
connectivity to the LSR. This is typically implemented as a
"loopback address"; the key attribute is that the address does not
become unusable if an interface on the LSR is down. In some cases,
this value will need to be configured. If one is using OSPF or ISIS
as the IGP in support of traffic engineering, then it is RECOMMENDED
for the Router ID to be set to the "Router Address" as defined in
[OSPF-TE], or "Traffic Engineering Router ID" as defined in [ISIS-
TE].
This section is equally applicable to the case of unnumbered
component links (see [LINK-BUNDLE]).
3. Unnumbered Forwarding Adjacencies
If an LSR that originates an LSP advertises this LSP as an unnumbered
Forwarding Adjacency in IS-IS or OSPF (see [LSP-HIER]), or the LSR
uses the Forwarding Adjacency formed by this LSP as an unnumbered
component link of a bundled link (see [LINK-BUNDLE]), the LSR MUST
allocate an identifier to that Forwarding Adjacency (just like for
any other unnumbered link). Moreover, the REQUEST message used for
establishing the LSP that forms the Forwarding Adjacency MUST contain
an LSP_TUNNEL_INTERFACE_ID TLV (described below), with the LSR's
Router ID set to the head end's Router ID, and the Interface ID set
to the identifier that the LSR allocated to the Forwarding Adjacency.
If the REQUEST message contains the LSP_TUNNEL_INTERFACE_ID TLV, then
the tail-end LSR MUST allocate an identifier to that Forwarding
Adjacency (just like for any other unnumbered link). Furthermore,
the MAPPING message for the LSP MUST contain an
LSP_TUNNEL_INTERFACE_ID TLV, with the LSR's Router ID set to the
tail-end's Router ID, and the Interface ID set to the identifier
allocated by the tail-end LSR.
For the purpose of processing the Explicit Route TLV and the
Interface ID TLV, an unnumbered Forwarding Adjacency is treated as an
unnumbered (TE) link or an unnumbered component link as follows. The
LSR that originates the Adjacency sets the link local identifier for
that link to the value that the LSR allocates to that Forwarding
Adjacency, and the link remote identifier to the value carried in the
Interface ID field of the Reverse Interface ID TLV (for the
definition of Reverse Interface ID TLV see below). The LSR that is a
tail-end of that Forwarding Adjacency sets the link local identifier
for that link to the value that the LSR allocates to that Forwarding
Adjacency, and the link remote identifier to the value carried in the
Interface ID field of the Forward Interface ID TLV (for the
definition of Forward Interface ID see below).
3.1. LSP_TUNNEL_INTERFACE_ID TLV
The LSP_TUNNEL_INTERFACE ID TLV has Type 0x0836 and length 8. The
format is given below.
Figure 1: LSP_TUNNEL_INTERFACE_ID TLV
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0|0| Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| LSR's Router ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface ID (32 bits) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
This TLV can optionally appear in either a REQUEST message or a
MAPPING message. In the former case, we call it the "Forward
Interface ID" for that LSP; in the latter case, we call it the
"Reverse Interface ID" for the LSP.
4. Signalling Unnumbered Links in Explicit Route TLV
A new Type of ER-Hop TLV of the Explicit Route TLV is used to specify
unnumbered links. This Type is called Unnumbered Interface ID, and
has the following format:
The Type is 0x0837, and the Length is 12. The L bit is set to
indicate a loose hop, and cleared to indicate a strict hop.
The Interface ID is the identifier assigned to the link by the LSR
specified by the router ID.
Figure 2: Unnumbered Interface ID
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0|0| Type | Length = 12 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|L| Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Router ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface ID (32 bits) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
4.1. Processing the IF_ID TLV
When an LSR receives a REQUEST message containing the IF_ID
(Interface ID) TLV (see [GMPLS-CRLDP]) with the IF_INDEX TLV, the LSR
processes this TLV as follows. The LSR must have information about
the identifiers assigned by its neighbors to the unnumbered links
between the neighbors and the LSR. The LSR uses this information to
find a link with tuple <Router ID, local identifier> matching the
tuple <IP Address, Interface ID> carried in the IF_INDEX TLV. If the
matching tuple is found, the match identifies the link for which the
LSR has to perform label allocation.
Otherwise, the LSR SHOULD return an error.
4.2. Processing the Unnumbered Interface ID ER-Hop TLV
The Unnumbered Interface ID ER-Hop is defined to be a part of a
particular abstract node if that node has the Router ID that is equal
to the Router ID field in the Unnumbered Interface ID ER-Hop, and if
the node has an (unnumbered) link or an (unnumbered) Forwarding
Adjacency whose local identifier (from that node's point of view) is
equal to the value carried in the Interface ID field of the
Unnumbered Interface ID ER-Hop.
With this in mind, the Explicit Route TLV processing in the presence
of the Unnumbered Interface ID ER-Hop follows the rules specified in
section 4.8.1 of [CR-LDP].
As part of the Explicit Route TLV processing, or to be more precise,
as part of the next hop selection, if the outgoing link is
unnumbered, the REQUEST message that the node sends to the next hop
MUST include the IF_ID TLV, with the IP address field of that TLV set
to the Router ID of the node, and the Interface ID field of that TLV
set to the identifier assigned to the link by the node.
5. IANA Considerations
RFC 3036 [LDP] defines the LDP TLV name space. RFC 3212 [CD-LDP]
further subdivides the range of that TLV space for TLVs associated
with the CR-LDP in the range 0x0800 - 0x08FF, and defines the rules
for the assignment of TLVs within that range using the terminology of
BCP 26, RFC 2434, "Guidelines for Writing an IANA Considerations
Section in RFCs". Those rules apply to the assignment of TLV Types
for the Unnumbered Interface ID and LSP_TUNNEL_INTERFACE_ID TLVs
defined in this document.
6. Security Considerations
This document extends CR-LDP and raises no new security issues. CR-
LDP inherits the same security mechanism described in Section 4.0 of
[LDP] to protect against the introduction of spoofed TCP segments
into LDP session connection streams.
7. Acknowledgments
Thanks to Rahul Aggarwal for his comments on the text. Thanks also
to Bora Akyol, Vach Kompella, and George Swallow.
8. References
8.1. Normative References
[CR-LDP] Jamoussi, B., Andersson, L., Callon, R., Dantu, R., Wu,
L., Doolan, P., Worster, T., Feldman, N., Fredette, A.,
Girish, M., Gray, E., Heinanen, J., Kilty, T. and A.
Malis, "Constraint-Based LSP Setup using LDP", RFC
3212, January 2002.
[GMPLS-SIG] Berger, L., "Generalized Multi-Protocol Label Switching
(GMPLS) Signaling Functional Description", RFC 3471,
January 2003.
[GMPLS-CRLDP] Ashwood, P., Ed. and L. Berger, "Generalized Multi-
Protocol Label Switching (GMPLS) Signaling Constraint-
based Routed Label Distribution Protocol (CR-LDP)
Extensions", RFC 3472 January 2003.
[LDP] Andersson, L., Doolan, P., Feldman, N., Fredette, A.
and B. Thomas, "LDP Specification", RFC 3036, January
2001
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
8.2. Informative References
[LINK-BUNDLE] Kompella, K., Rekhter, Y., and Berger, L., "Link
Bundling in MPLS Traffic Engineering", Work in
Progress.
[LSP-HIER] Kompella, K., and Rekhter, Y., "LSP Hierarchy with MPLS
TE", Work in Progress.
[LMP] Lang, J., Mitra, K., et al., "Link Management Protocol
(LMP)", Work in Progress.
[GMPLS-ISIS] Kompella, K., Rekhter, Y., Banerjee, A. et al, "IS-IS
Extensions in Support of Generalized MPLS", Work in
Progress.
[GMPLS-OSPF] Kompella, K., Rekhter, Y., Banerjee, A. et al, "OSPF
Extensions in Support of Generalized MPLS", Work in
Progress.
[OSPF-TE] Katz, D., Yeung, D., Kompella, K., "Traffic Engineering
Extensions to OSPF Version 2", Work in Progress.
[ISIS-TE] Li, T., Smit, H., "IS-IS extensions for Traffic
Engineering", Work in Progress.
9. Authors' Addresses
Kireeti Kompella
Juniper Networks, Inc.
1194 N. Mathilda Ave.
Sunnyvale, CA 94089
EMail: kireeti@juniper.net
Yakov Rekhter
Juniper Networks, Inc.
1194 N. Mathilda Ave.
Sunnyvale, CA 94089
EMail: yakov@juniper.net
Alan Kullberg
NetPlane Systems, Inc.
Westwood Executive Center
200 Lowder Brook Drive
Westwood, MA 02090
EMail: akullber@netplane.com
10. Full Copyright Statement
Copyright (C) The Internet Society (2003). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
AI ELI5
On this page
§1The Unnumbered Link Problem
Supporting MPLS traffic engineering over unnumbered links (links without IP addresses) takes two parts: carrying their traffic engineering information in the IGP (IS-IS or OSPF), and being able to specify them in signalling. This RFC covers only the signalling part, for CR-LDP; the IGP part is in other documents.
Existing signalling could not indicate an unnumbered link in its Explicit Route objects. The RFC proposes procedures and extensions to fix that.
A route plan could only name roads that have addresses. This note lets it name roads without one.
§2Link Identifiers and Router IDs
An unnumbered link has to be point-to-point. The LSR at each end assigns it an identifier: a non-zero 32-bit number unique within that LSR. There is no relationship between the two numbers. From one LSR's view its own number is the local identifier and the other's is the remote identifier.
The two ends exchange identifiers by configuration, by LMP, by CR-LDP (especially for a Forwarding Adjacency), or by IS-IS or OSPF extensions. If an IGP is used, its modules and CR-LDP must agree on the identifiers.
The Router ID is a stable IP address of an LSR that is reachable whenever the LSR is, typically a loopback address. With OSPF or IS-IS it is RECOMMENDED to be the OSPF Router Address or the IS-IS Traffic Engineering Router ID. All of this also applies to unnumbered component links of bundled links.
Each end of the road picks its own number for it. The two ends tell each other their numbers so both can talk about the same road.
§3Unnumbered Forwarding Adjacencies
When an LSR advertises a label switched path as an unnumbered Forwarding Adjacency in IS-IS or OSPF, or uses it as an unnumbered component link of a bundled link, it MUST allocate an identifier to it like any other unnumbered link. The REQUEST message that sets up the path MUST then carry an LSP_TUNNEL_INTERFACE_ID TLV with the head end's Router ID and that identifier.
If the REQUEST has that TLV, the tail-end LSR MUST allocate an identifier too, and its MAPPING message MUST carry the TLV with the tail end's Router ID and identifier. The TLV in a REQUEST is called the Forward Interface ID and in a MAPPING the Reverse Interface ID.
The head end uses its own allocation as the local identifier and the Reverse Interface ID as the remote identifier. The tail end does the opposite, using the Forward Interface ID as its remote identifier.
When a whole tunnel is treated like a road, both ends of the tunnel pick a number for it and swap them in the setup messages.
§4The Two New TLVs
The LSP_TUNNEL_INTERFACE_ID TLV has Type 0x0836 and length 8. After the type and length it holds the LSR's Router ID and a 32-bit Interface ID. It can optionally appear in a REQUEST or MAPPING message.
The Unnumbered Interface ID is a new ER-Hop type for the Explicit Route TLV. Its Type is 0x0837 and its Length is 12. The L bit is set for a loose hop and cleared for a strict hop. It holds the Router ID and the Interface ID, the identifier that the LSR named by the Router ID gave to the link.
The two new labels are like address cards with two lines: whose road it is, and what number that owner gave the road.
| Field | Name | Size | Value | Description |
|---|---|---|---|---|
FLAGS | U and F bits | 2 bits | Both zero in the figure. | |
TYPE | Type | 14 bits | 0x0837 | 0x0837. |
LENGTH | Length | 2 bytes | 12 | Length of the ER-Hop. |
L-BIT | L | 1 bits | Set for a loose hop, cleared for a strict hop. | |
RESERVED | Reserved | 31 bits | Reserved. | |
ROUTER-ID | Router ID | 4 bytes | Router ID of the LSR that assigned the identifier. | |
INTERFACE-ID | Interface ID | 4 bytes | Identifier the LSR gave to the link. |
§5Processing Rules
When an LSR gets a REQUEST with an IF_ID TLV containing an IF_INDEX TLV, it looks for a link whose tuple of Router ID and local identifier matches the IP Address and Interface ID in the IF_INDEX TLV. A match identifies the link for label allocation. Otherwise the LSR SHOULD return an error.
An Unnumbered Interface ID ER-Hop belongs to an abstract node if the node has the same Router ID and has an unnumbered link or Forwarding Adjacency whose local identifier equals the Interface ID. Explicit Route processing then follows section 4.8.1 of RFC 3212.
When choosing the next hop, if the outgoing link is unnumbered, the REQUEST sent on MUST include the IF_ID TLV, with the IP address set to the node's Router ID and the Interface ID set to the identifier the node assigned to the link.
Each router checks the road number on the route plan against its own list. If it finds a match, it knows which road to use. If not, it should complain.
§6Security and IANA
The RFC says it raises no new security issues. CR-LDP inherits the mechanism in section 4.0 of RFC 3036 that protects against spoofed TCP segments in LDP session connections.
For IANA, the CR-LDP TLV range 0x0800 to 0x08FF and its assignment rules, set in RFC 3212, apply to the two new TLV types. The RFC does not create a new registry.
Nothing new needs guarding, since the usual protection for these sessions already applies.