1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445
|
<pre>Network Working Group R. Bonica
Request for Comments: 4950 Juniper Networks
Category: Standards Track D. Gan
D. Tappan
Consultant
C. Pignataro
Cisco Systems, Inc.
August 2007
<span class="h1">ICMP Extensions for Multiprotocol Label Switching</span>
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 IETF Trust (2007).
Abstract
This memo defines an extension object that can be appended to
selected multi-part ICMP messages. This extension permits Label
Switching Routers to append MPLS information to ICMP messages, and
has already been widely deployed.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2">2</a>. Conventions Used in This Document . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. Application to TRACEROUTE . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4">4</a>. Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-5">5</a>. MPLS Label Stack Object . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-6">6</a>. Security Considerations . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-7">7</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-8">8</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-8.1">8.1</a>. Normative References . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-8.2">8.2</a>. Informative References . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<span class="grey">Bonica, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4950">RFC 4950</a> ICMP MPLS August 2007</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
IP routers use the Internet Control Message Protocol, ICMPv4
[<a href="./rfc0792" title=""Internet Control Message Protocol"">RFC0792</a>] and ICMPv6 [<a href="./rfc4443" title=""Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification"">RFC4443</a>], to convey control information to
source hosts. Network operators use this information to diagnose
routing problems.
When a router receives an undeliverable IP datagram, it can send an
ICMP message to the host that originated the datagram. The ICMP
message indicates why the datagram could not be delivered. It also
contains the IP header and leading payload octets of the "original
datagram" to which the ICMP message is a response.
MPLS Label Switching Routers (LSR) also use ICMP to convey control
information to source hosts. <a href="./rfc3032#section-2.3">Section 2.3 of [RFC3032]</a> describes the
interaction between MPLS and ICMP, and Sections <a href="#section-2.4">2.4</a> and <a href="#section-3">3</a> of
[<a href="./rfc3032" title=""MPLS Label Stack Encoding"">RFC3032</a>] provide applications of that interaction.
When an LSR receives an undeliverable MPLS-encapsulated datagram, it
removes the entire MPLS label stack, exposing the previously
encapsulated IP datagram. The LSR then submits the IP datagram to an
error processing module. Error processing can include ICMP message
generation.
The ICMP message indicates why the original datagram could not be
delivered. It also contains the IP header and leading octets of the
original datagram.
The ICMP message, however, contains no information regarding the MPLS
label stack that encapsulated the original datagram when it arrived
at the LSR. This omission is significant because the LSR would have
forwarded the original datagram based upon information contained by
the MPLS label stack.
This memo defines an ICMP extension object that permits an LSR to
append MPLS information to ICMP messages. Selected ICMP messages
SHOULD include the MPLS label stack, as it arrived at the router that
is sending the ICMP message. The ICMP message MUST also include the
IP header and leading payload octets of the original datagram.
The ICMP extensions defined in this document must be preceded by an
ICMP Extension Structure Header and an ICMP Object Header. Both are
defined in [<a href="./rfc4884" title=""Extended ICMP to Support Multi-Part Messages"">RFC4884</a>].
The ICMP extension defined in this document is equally applicable to
ICMPv4 [<a href="./rfc0792" title=""Internet Control Message Protocol"">RFC0792</a>] and ICMPv6 [<a href="./rfc4443" title=""Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification"">RFC4443</a>]. Throughout this document,
unless otherwise specified, the acronym ICMP refers to multi-part
ICMP messages, encompassing both ICMPv4 and ICMPv6.
<span class="grey">Bonica, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4950">RFC 4950</a> ICMP MPLS August 2007</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Conventions Used in This Document</span>
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 <a href="./rfc2119">RFC2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Application to TRACEROUTE</span>
The ICMP extension defined in this memo supports enhancements to
TRACEROUTE. Enhanced TRACEROUTE applications, like older
implementations, indicate which nodes the original datagram visited
en route to its destination. They differ from older implementations
in that they also reflect the original datagram's MPLS encapsulation
status as it arrived at each node.
Figure 1 contains sample output from an enhanced TRACEROUTE
implementation.
> traceroute 192.0.2.1
traceroute to 192.0.2.1 (192.0.2.1), 30 hops max, 40 byte packets
1 192.0.2.13 (192.0.2.13) 0.661 ms 0.618 ms 0.579 ms
2 192.0.2.9 (192.0.2.9) 0.861 ms 0.718 ms 0.679 ms
MPLS Label=100048 Exp=0 TTL=1 S=1
3 192.0.2.5 (192.0.2.5) 0.822 ms 0.731 ms 0.708 ms
MPLS Label=100016 Exp=0 TTL=1 S=1
4 192.0.2.1 (192.0.2.1) 0.961 ms 8.676 ms 0.875 ms
Figure 1: Enhanced TRACEROUTE Sample Output
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Disclaimer</span>
This memo does not define the general relationship between ICMP and
MPLS. <a href="./rfc3032#section-2.3">Section 2.3 of [RFC3032]</a> defines this relationship.
The current memo does not define encapsulation-specific TTL (Time to
Live) manipulation procedures. It defers to <a href="./rfc3034#section-5.4">Section 5.4 of RFC 3034</a>
[<a href="./rfc3034" title=""Use of Label Switching on Frame Relay Networks Specification"">RFC3034</a>] and <a href="./rfc3035#section-10">Section 10 of [RFC3035]</a> in this matter.
<span class="grey">Bonica, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4950">RFC 4950</a> ICMP MPLS August 2007</span>
When encapsulation-specific TTL manipulation procedures defeat the
basic TRACEROUTE mechanism, they will also defeat enhanced TRACEROUTE
implementations.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. MPLS Label Stack Object</span>
The MPLS Label Stack Object can be appended to the ICMP Time Exceeded
and Destination Unreachable messages. A single instance of the MPLS
Label Stack Object represents the entire MPLS label stack, formatted
exactly as it was when it arrived at the LSR that sends the ICMP
message.
Figure 2 depicts the MPLS Label Stack Object. It must be preceded by
an ICMP Extension Structure Header and an ICMP Object Header. Both
are defined in [<a href="./rfc4884" title=""Extended ICMP to Support Multi-Part Messages"">RFC4884</a>].
In the object payload, octets 0-3 depict the first member of the MPLS
label stack. Each remaining member of the MPLS label stack is
represented by another 4 octets that share the same format.
Class-Num = 1, MPLS Label Stack Class
C-Type = 1, Incoming MPLS Label Stack
Length = 4 + 4 * (number of MPLS LSEs)
0 1 2 3
+-------------+-------------+-------------+-------------+
| Label |EXP |S| TTL |
+-------------+-------------+-------------+-------------+
| |
| // Remaining MPLS Label Stack Entries // |
| |
+-------------+-------------+-------------+-------------+
Figure 2: MPLS Label Stack Object
Label: 20 bits
Exp: Experimental Use, 3 bits
S: Bottom of Stack, 1 bit
TTL: Time to Live, 8 bits
<span class="grey">Bonica, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4950">RFC 4950</a> ICMP MPLS August 2007</span>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
This memo does not specify the conditions that trigger the generation
of ICMP Messages for Labeled IP Packets. It does not define the
interaction between MPLS and ICMP. However, this document defines an
extension that allows an MPLS router to append MPLS information to
multi-part ICMP messages, and therefore can provide the user of the
TRACEROUTE application with additional information. Consequently, a
network operator may wish to provide this information selectively
based on some policy; for example, only include the MPLS extensions
in ICMP messages destined to addresses within the network management
blocks with administrative control over the router. An
implementation could determine whether to include the MPLS Label
Stack extensions based upon the destination address of the ICMP
message, or based on a global configuration option in the router.
Alternatively, an implementation may determine whether to include
these MPLS extensions when TTL expires based on the number of label
stack entries (depth of the label stack) of the incoming packet.
Finally, an operator can make use of the TTL treatment on MPLS Pipe
Model LSPs defined in [<a href="./rfc3443" title=""Time To Live (TTL) Processing in Multi-Protocol Label Switching (MPLS) Networks"">RFC3443</a>] for a TTL-transparent mode of
operation that would prevent ICMP Time Exceeded altogether when
tunneled over the MPLS LSP.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. IANA Considerations</span>
IANA has assigned the following object Class-num in the ICMP
Extension Object registry:
Class-Num Description
1 MPLS Label Stack Class
IANA has established a registry for the corresponding class sub-type
(C-Type) space, as follows:
MPLS Label Stack Class Sub-types:
C-Type Description
0 Reserved
1 Incoming MPLS Label Stack
0x02-0xF6 Available for assignment
0xF7-0xFF Reserved for private use
C-Type values are assignable on a first-come-first-serve (FCFS) basis
[<a href="./rfc2434" title="">RFC2434</a>].
<span class="grey">Bonica, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4950">RFC 4950</a> ICMP MPLS August 2007</span>
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-RFC0792">RFC0792</a>] Postel, J., "Internet Control Message Protocol", STD 5,
<a href="./rfc792">RFC 792</a>, September 1981.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC2434">RFC2434</a>] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc2434">RFC 2434</a>,
October 1998.
[<a id="ref-RFC3032">RFC3032</a>] Rosen, E., Tappan, D., Fedorkow, G., Rekhter, Y.,
Farinacci, D., Li, T., and A. Conta, "MPLS Label Stack
Encoding", <a href="./rfc3032">RFC 3032</a>, January 2001.
[<a id="ref-RFC4443">RFC4443</a>] Conta, A., Deering, S., and M. Gupta, "Internet Control
Message Protocol (ICMPv6) for the Internet Protocol
Version 6 (IPv6) Specification", <a href="./rfc4443">RFC 4443</a>, March 2006.
[<a id="ref-RFC4884">RFC4884</a>] Bonica, R., Gan, D., Tappan, D., and C. Pignataro,
"Extended ICMP to Support Multi-Part Messages", <a href="./rfc4884">RFC 4884</a>,
April 2007.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-RFC3034">RFC3034</a>] Conta, A., Doolan, P., and A. Malis, "Use of Label
Switching on Frame Relay Networks Specification",
<a href="./rfc3034">RFC 3034</a>, January 2001.
[<a id="ref-RFC3035">RFC3035</a>] Davie, B., Lawrence, J., McCloghrie, K., Rosen, E.,
Swallow, G., Rekhter, Y., and P. Doolan, "MPLS using LDP
and ATM VC Switching", <a href="./rfc3035">RFC 3035</a>, January 2001.
[<a id="ref-RFC3443">RFC3443</a>] Agarwal, P. and B. Akyol, "Time To Live (TTL) Processing
in Multi-Protocol Label Switching (MPLS) Networks",
<a href="./rfc3443">RFC 3443</a>, January 2003.
<span class="grey">Bonica, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4950">RFC 4950</a> ICMP MPLS August 2007</span>
Authors' Addresses
Ronald P. Bonica
Juniper Networks
2251 Corporate Park Drive
Herndon, VA 20171
US
EMail: rbonica@juniper.net
Der-Hwa Gan
Consultant
EMail: derhwagan@yahoo.com
Daniel C. Tappan
Consultant
EMail: Dan.Tappan@gmail.com
Carlos Pignataro
Cisco Systems, Inc.
7025 Kit Creek Road
Research Triangle Park, NC 27709
US
EMail: cpignata@cisco.com
<span class="grey">Bonica, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4950">RFC 4950</a> ICMP MPLS August 2007</span>
Full Copyright Statement
Copyright (C) The IETF Trust (2007).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
THE INTERNET ENGINEERING TASK FORCE DISCLAIM 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.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Bonica, et al. Standards Track [Page 8]
</pre>
|