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 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
|
<pre>Network Working Group D. Haskin
Request for Comments: 2023 E. Allen
Category: Standards Track Bay Networks, Inc.
October 1996
<span class="h1">IP Version 6 over PPP</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.
Abstract
The Point-to-Point Protocol (PPP) [<a href="#ref-1" title=""The Point-to-Point Protocol"">1</a>] provides a standard method of
encapsulating Network Layer protocol information over point-to-point
links. PPP also defines an extensible Link Control Protocol, and
proposes a family of Network Control Protocols (NCPs) for
establishing and configuring different network-layer protocols.
This document defines the method for transmission of IP Version 6 [<a href="#ref-2" title=""IP Version 6 Addressing Architecture"">2</a>]
packets over PPP links as well as the Network Control Protocol (NCP)
for establishing and configuring the IPv6 over PPP. It also specifies
the method of forming IPv6 link-local addresses on PPP links.
Table of Contents
<a href="#section-1">1</a>. Introduction .......................................... <a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. Specification of Requirements ...................... <a href="#page-2">2</a>
<a href="#section-2">2</a>. Sending IPv6 Datagrams ................................ <a href="#page-3">3</a>
<a href="#section-3">3</a>. A PPP Network Control Protocol for IPv6 ............... <a href="#page-3">3</a>
<a href="#section-4">4</a>. IPV6CP Configuration Options .......................... <a href="#page-4">4</a>
<a href="#section-4.1">4.1</a>. Interface-Token ................................... <a href="#page-4">4</a>
<a href="#section-4.2">4.2</a>. IPv6-Compression-Protocol.......................... <a href="#page-7">7</a>
<a href="#section-5">5</a>. Stateless Autoconfiguration and Link-Local Addresses .. <a href="#page-9">9</a>
<a href="#appendix-A">A</a>. IPV6CP Recommended Options ............................. <a href="#page-9">9</a>
Security Considerations ....................................... <a href="#page-10">10</a>
References .................................................... <a href="#page-10">10</a>
Acknowledgments ............................................... <a href="#page-10">10</a>
Authors' Addresses ............................................ <a href="#page-10">10</a>
<span class="grey">Haskin & Allen Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
PPP has three main components:
1. A method for encapsulating datagrams over serial links.
2. A Link Control Protocol (LCP) for establishing, configuring,
and testing the data-link connection.
3. A family of Network Control Protocols (NCPs) for establishing
and configuring different network-layer protocols.
In order to establish communications over a point-to-point link, each
end of the PPP link must first send LCP packets to configure and test
the data link. After the link has been established and optional
facilities have been negotiated as needed by the LCP, PPP must send
NCP packets to choose and configure one or more network-layer
protocols. Once each of the chosen network-layer protocols has been
configured, datagrams from each network-layer protocol can be sent
over the link.
In this document, the NCP for establishing and configuring the IPv6
over PPP is referred as the IPv6 Control Protocol (IPV6CP).
The link will remain configured for communications until explicit LCP
or NCP packets close the link down, or until some external event
occurs (power failure at the other end, carrier drop, etc.).
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Specification of Requirements</span>
In this document, several words are used to signify the requirements
of the specification. These words are often capitalized.
MUST This word, or the adjective "required", means that the
definition is an absolute requirement of the specification.
MUST NOT This phrase means that the definition is an absolute
prohibition of the specification.
SHOULD This word, or the adjective "recommended", means that there
may exist valid reasons in particular circumstances to
ignore this item, but the full implications must be
understood and carefully weighed before choosing a
different course.
MAY This word, or the adjective "optional", means that this
item is one of an allowed set of alternatives. An
implementation which does not include this option MUST be
<span class="grey">Haskin & Allen Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
prepared to inter-operate with another implementation which
does include the option.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Sending IPv6 Datagrams</span>
Before any IPv6 packets may be communicated, PPP must reach the
Network-Layer Protocol phase, and the IPv6 Control Protocol must
reach the Opened state.
Exactly one IPv6 packet is encapsulated in the Information field of
PPP Data Link Layer frames where the Protocol field indicates type
hex 0057 (Internet Protocol Version 6).
The maximum length of an IPv6 packet transmitted over a PPP link is
the same as the maximum length of the Information field of a PPP data
link layer frame. PPP links supporting IPv6 must allow at least 576
octets in the information field of a data link layer frame.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. A PPP Network Control Protocol for IPv6</span>
The IPv6 Control Protocol (IPV6CP) is responsible for configuring,
enabling, and disabling the IPv6 protocol modules on both ends of the
point-to-point link. IPV6CP uses the same packet exchange mechanism
as the Link Control Protocol (LCP). IPV6CP packets may not be
exchanged until PPP has reached the Network-Layer Protocol phase.
IPV6CP packets received before this phase is reached should be
silently discarded.
The IPv6 Control Protocol is exactly the same as the Link Control
Protocol [<a href="#ref-1" title=""The Point-to-Point Protocol"">1</a>] with the following exceptions:
Data Link Layer Protocol Field
Exactly one IPV6CP packet is encapsulated in the Information field
of PPP Data Link Layer frames where the Protocol field indicates
type hex 8057 (IPv6 Control Protocol).
Code field
Only Codes 1 through 7 (Configure-Request, Configure-Ack,
Configure-Nak, Configure-Reject, Terminate-Request, Terminate-Ack
and Code-Reject) are used. Other Codes should be treated as
unrecognized and should result in Code-Rejects.
<span class="grey">Haskin & Allen Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
Timeouts
IPV6CP packets may not be exchanged until PPP has reached the
Network-Layer Protocol phase. An implementation should be prepared
to wait for Authentication and Link Quality Determination to finish
before timing out waiting for a Configure-Ack or other response. It
is suggested that an implementation give up only after user
intervention or a configurable amount of time.
Configuration Option Types
IPV6CP has a distinct set of Configuration Options, which are
defined below.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. IPV6CP Configuration Options</span>
IPV6CP Configuration Options allow negotiation of desirable IPv6
parameters. IPV6CP uses the same Configuration Option format defined
for LCP [<a href="#ref-1" title=""The Point-to-Point Protocol"">1</a>], with a separate set of Options. If a Configuration
Option is not included in a Configure-Request packet, the default
value for that Configuration Option is assumed.
Up-to-date values of the IPV6CP Option Type field are specified in
the most recent "Assigned Numbers" RFC [<a href="#ref-5" title=""Assigned Numbers"">5</a>]. Current values are
assigned as follows:
1 Interface-Token
2 IPv6-Compression-Protocol
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Interface-Token</span>
Description
This Configuration Option provides a way to negotiate a unique
32-bit interface token to be used for the address
autoconfiguration [<a href="#ref-3" title=""IPv6 Stateless Address Autoconfiguration"">3</a>] at the local end of the link (see <a href="#section-5">section</a>
<a href="#section-5">5</a>). The interface token MUST be unique within the PPP link; i.e.
upon completion of the negotiation different Interface-Token
values are to be selected for the ends of the PPP link.
Before this Configuration Option is requested, an implementation
must choose its tentative Interface-Token. It is recommended that
a non-zero value be chosen in the most random manner possible in
order to guarantee with very high probability that an
implementation will arrive at a unique token value. A good way to
choose a unique random number is to start with a unique seed.
Suggested sources of uniqueness include machine serial numbers,
<span class="grey">Haskin & Allen Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
other network hardware addresses, system clocks, etc. Note that it
may not be sufficient to use a link-layer address alone as the
seed, since it will not always be unique. Thus it is suggested
that the seed should be calculated from a variety of sources that
are likely to be different even on identical systems and as many
sources as possible be used simultaneously. Good sources of
uniqueness or randomness are required for the Interface-Token
negotiation to succeed. If a good source of randomness cannot be
found, it is recommended that a zero value be used for the
Interface-Token transmitted in the Configure-Request. In this
case the PPP peer may provide a valid non-zero Interface-Token in
its response as described below. Note that if at least one of the
PPP peers is able to generate a unique random number, the token
negotiation will succeed.
When a Configure-Request is received with the Interface-Token
Configuration Option and the receiving peer implements this
option, the received Interface-Token is compared with the
Interface-Token of the last Configure-Request sent to the peer.
Depending on the result of the comparison an implementation MUST
respond in one of the following ways:
If the two Interface-Tokens are different but the received
Interface-Token is zero, a Configure-Ack is sent with a non-zero
Interface-Token value suggested for use by the remote peer. Such
a suggested Interface-Token MUST be different from the Interface-
Token of the last Configure-Request sent to the peer.
If the two Interface-Tokens are different and the received
Interface-Token is not zero, the Interface-Token MUST be
acknowledged, i.e. a Configure-Ack is sent with the requested
Interface-Token, meaning that the responding peer agrees with the
Interface-Token requested.
If the two Interface-Tokens are equal and are not zero, a
Configure-Nak MUST be sent specifying a different non-zero
Interface-Token value suggested for use by the remote peer.
If the two Interface-Tokens are equal to zero, the Interface-
Tokens negotiation MUST be terminated by transmitting the
Configure-Reject with the Interface-Token value set to zero. In
this case a unique Interface-Token can not be negotiated.
If a Configure-Request is received with the Interface-Token
Configuration Option and the receiving peer does not implement
this option, Configure-Rej is sent.
<span class="grey">Haskin & Allen Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
A new Configure-Request SHOULD NOT be sent to the peer until
normal processing would cause it to be sent (that is, until a
Configure-Nak is received or the Restart timer runs out).
A new Configure-Request MUST NOT contain the Interface-Token
option if a valid Interface-Token Configure-Reject is received.
Reception of a Configure-Nak with a suggested Interface-Token
different from that of the last Configure-Nak sent to the peer
indicates a unique Interface-Token. In this case a new
Configure-Request MUST be sent with the token value suggested in
the last Configure-Nak from the peer. But if the received
Interface-Token is equal to the one sent in the last Configure-
Nak, a new Interface-Token MUST be chosen. In this case, a new
Configure-Request SHOULD be sent with the new tentative
Interface-Token. This sequence (transmit Configure-Request,
receive Configure-Request, transmit Configure-Nak, receive
Configure-Nak) might occur a few times, but it is extremely
unlikely to occur repeatedly. More likely, the Interface-Tokens
chosen at either end will quickly diverge, terminating the
sequence.
If negotiation about the Interface-Token is required, and the peer
did not provide the option in its Configure-Request, the option
SHOULD be appended to a Configure-Nak. The tentative value of the
Interface-Token given must be acceptable as the remote Interface-
Token; i.e. should be different from the token value selected for
the local end of the PPP link. The next Configure-Request from
the peer may include this option. If the next Configure-Request
does not include this option the peer MUST NOT send another
Configure-Nak with this option included. It should assume that the
peer's implementation does not support this option.
By default, an implementation SHOULD attempt to negotiate the
Interface-Token for its end of the PPP connection.
<span class="grey">Haskin & Allen Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
A summary of the Interface-Token Configuration Option format is
shown below. The fields are transmitted from left to right.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Interface-Token
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Interface-Token (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
1
Length
6
Interface-Token
The 32-bit Interface-Token which is very likely to be unique on
the link or zero if a good source of uniqueness can not be found.
Default Token Value
If no valid interface token can be successfully negotiated, no
default Interface-Token value should be assumed. The procedures
for recovering from such a case are unspecified. One approach is
to manually configure the interface token of the interface.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. IPv6-Compression-Protocol</span>
Description
This Configuration Option provides a way to negotiate the use of a
specific IPv6 packet compression protocol. The IPv6-Compression-
Protocol Configuration Option is used to indicate the ability to
receive compressed packets. Each end of the link must separately
request this option if bi-directional compression is desired. By
default, compression is not enabled.
IPv6 compression negotiated with this option is specific to IPv6
datagrams and is not to be confused with compression resulting
from negotiations via Compression Control Protocol (CCP), which
potentially effect all datagrams.
<span class="grey">Haskin & Allen Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
A summary of the IPv6-Compression-Protocol Configuration Option
format is shown below. The fields are transmitted from left to
right.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | IPv6-Compression-Protocol |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Data ...
+-+-+-+-+
Type
2
Length
>= 4
IPv6-Compression-Protocol
The IPv6-Compression-Protocol field is two octets and indicates
the compression protocol desired. Values for this field are
always the same as the PPP Data Link Layer Protocol field values
for that same compression protocol.
Up-to-date values of the IPv6-Compression-Protocol field are
specified in the most recent "Assigned Numbers" RFC [<a href="#ref-5" title=""Assigned Numbers"">5</a>].
Current values are assigned as follows:
Value (in hex) Protocol
004f IPv6 Header Compression
Data
The Data field is zero or more octets and contains additional data
as determined by the particular compression protocol.
Default
No IPv6 compression protocol enabled.
<span class="grey">Haskin & Allen Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Stateless Autoconfiguration and Link-Local Addresses</span>
The interface token, which is used for forming IPv6 addresses of a
PPP interface, SHOULD be negotiated in the IPV6CP phase of the PPP
connection setup (see <a href="#section-4.1">section 4.1</a>). If no valid interface token has
been successfully negotiated, procedures for recovering from such a
case are unspecified. One approach is to manually configure the
interface token of the interface.
As long as the interface token is negotiated in the IPV6CP phase of
the PPP connection setup, it is redundant to perform duplicate
address detection as a part of the IPv6 Stateless Autoconfiguration
protocol [<a href="#ref-3" title=""IPv6 Stateless Address Autoconfiguration"">3</a>]. Therefore it is recommended that for PPP links with
the IPV6CP Interface-Token option enabled the default value of the
DupAddrDetectTransmits autoconfiguration variable [<a href="#ref-3" title=""IPv6 Stateless Address Autoconfiguration"">3</a>] be zero.
Link-local addresses of PPP interfaces have the following format:
| 10 bits | 86 bits | 32 bits |
+----------+--------------+---------------------+-----------------+
|1111111010| 0 | Interface Token |
+----------+--------------+---------------------+-----------------+
The most significant 10 bits of the address is the Link-Local prefix
FE80::. 86 zero bits pad out the address between the Link-Local
prefix and the Interface Token fields.
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">A</a>. IPV6CP Recommended Options</span>
The following Configurations Options are recommended:
Interface-Token
IPv6-Compression-Protocol
<span class="grey">Haskin & Allen Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc2023">RFC 2023</a> IP Version 6 over PPP October 1996</span>
Security Considerations
Security issues are not discussed in this memo.
References
[<a id="ref-1">1</a>] Simpson, W., "The Point-to-Point Protocol", STD 51, <a href="./rfc1661">RFC 1661</a>,
July 1994.
[<a id="ref-2">2</a>] Deering, S., and R. Hinden, Editors, "Internet Protocol,
Version 6 (IPv6) Specification", <a href="./rfc1883">RFC 1883</a>, December 1995.
[<a id="ref-2">2</a>] Hinden, R., and S. Deering, "IP Version 6 Addressing
Architecture", <a href="./rfc1884">RFC 1884</a>, December 1995.
[<a id="ref-3">3</a>] Thomson, S., and T. Narten, "IPv6 Stateless Address
Autoconfiguration", <a href="./rfc1971">RFC 1971</a>, August 1996.
[<a id="ref-4">4</a>] Narten, T., Nordmark, E., and W. Simpson, "Neighbor Discovery
for IP Version 6 (IPv6)", <a href="./rfc1970">RFC 1970</a>, August 1996.
[<a id="ref-5">5</a>] Reynolds, J., and J. Postel, "Assigned Numbers", STD 2, <a href="./rfc1700">RFC</a>
<a href="./rfc1700">1700</a>, October 1994.
Acknowledgments
This document borrows from the Magic-Number LCP option and as such is
partially based on previous work done by the PPP working group.
Authors' Addresses
Dimitry Haskin
Bay Networks, Inc.
2 Federal Street
Billerica, MA 01821
email: dhaskin@baynetworks.com
Ed Allen
Bay Networks, Inc.
2 Federal Street
Billerica, MA 01821
email: eallen@baynetworks.com
Haskin & Allen Standards Track [Page 10]
</pre>
|