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 A. Retana
Request for Comments: 3021 R. White
Category: Standards Track Cisco Systems
V. Fuller
GTE Internetworking
D. McPherson
Amber Networks
December 2000
<span class="h1">Using 31-Bit Prefixes on IPv4 Point-to-Point Links</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 Internet Society (2000). All Rights Reserved.
Abstract
With ever-increasing pressure to conserve IP address space on the
Internet, it makes sense to consider where relatively minor changes
can be made to fielded practice to improve numbering efficiency. One
such change, proposed by this document, is to halve the amount of
address space assigned to point-to-point links (common throughout the
Internet infrastructure) by allowing the use of 31-bit subnet masks
in a very limited way.
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction and Motivation</span>
The perceived problem of a lack of Internet addresses has driven a
number of changes in address space usage and a number of different
approaches to solving the problem:
- More stringent address space allocation guidelines, enforced by the
IANA and the regional address assignment authorities [<a href="./rfc2050" title=""Internet Registry IP Allocation Guidelines"">RFC2050</a>].
- Use of Network Address Translators (NATs), where a small number of
IANA-compliant addresses are shared by a larger pool of private,
non-globally routed addresses topologically behind a NAT box
[<a href="./rfc1631" title=""The IP Network Address Translator (NAT)"">RFC1631</a>].
<span class="grey">Retana, 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="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
- Deployment of a new Internet Protocol to increase the size of the
address space. One such protocol, IPv6 [<a href="./rfc2460" title=""Internet Protocol, Version 6 (IPv6) Specification"">RFC2460</a>], has been through
the IETF process but has yet to see production deployment. Should
it be, deployed, it will still face a many year transition period.
Prior to the availability of a larger address space, it seems prudent
to consider opportunities for making more efficient use of the
existing address space.
One such (small) opportunity is to change the way that point-to-point
links are numbered. One option, which is used today on some parts of
the Internet, is to simply not number point-to-point links between
routers. While this practice may seem, at first, to handily resolve
the problem, it causes a number of problems of its own, including the
inability to consistently manage the unnumbered link or reach a
router through it, difficulty in management and debugging of those
links, and the lack of standardization [<a href="./rfc1812" title=""Requirements for IP Version 4 Routers"">RFC1812</a>].
In current practice, numbered Internet subnets do not use longer than
a 30-bit subnet mask (in most cases), which requires four addresses
per link - two host addresses, one all-zeros network, and one all-
ones broadcast. This is unfortunate for point-to-point links, since
they can only possibly have two identifying endpoints and don't
support the notion of broadcast - any packet which is transmitted by
one end of a link is always received by the other.
A third option is to use host addresses on both ends of a point-to-
point link. This option provides the same address space savings as
using a 31-bit subnet mask, but may only be used in links using PPP
encapsulation [<a href="./rfc1332" title=""The PPP Internet Protocol Control Protocol (IPCP)"">RFC1332</a>]. The use of host addresses allows for the
assignment of IP addresses belonging to different networks at each
side of the link, causing link and network management not to be
straight forward.
This document is based on the idea that conserving IP addresses on
point-to-point links (using longer than a 30-bit subnet mask) while
maintaining manageability and standard interaction is possible.
Existing documentation [<a href="./rfc950" title=""Internet Standard Subnetting Procedure"">RFC950</a>] has already hinted at the possible
use of a 1-bit wide host-number field.
The savings in address space resulting from this change is easily
seen--each point-to-point link in a large network would consume two
addresses instead of four. In a network with 500 point-to-point
links, for example, this practice would amount to a savings of 1000
addresses (the equivalent of four class C address spaces).
<span class="grey">Retana, 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="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Considerations of 31-Bit Prefixes</span>
This section discusses the possible effects, on Internet routing and
operations, of using 31-bit prefixes on point-to-point links. The
considerations made here are also reflected in <a href="#section-3">Section 3</a>.
For the length of this document, an IP address will be interpreted
as:
<Network-number><Host-number>
where the <Host-number> represents the unmasked portion of the
address and it SHOULD be at least 1 bit wide. The "-1" notation is
used to mean that the field has all 1 bits. For purposes of this
discussion, the routing system is considered capable of classless, or
CIDR [<a href="./rfc1519" title=""Classless Inter-Domain Routing (CIDR): an Address Assignment and Aggregation Strategy"">RFC1519</a>], routing.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Addressing</span>
If a 31-bit subnet mask is assigned to a point-to-point link, it
leaves the <Host-number> with only 1 bit. Consequently, only two
possible addresses may result:
{<Network-number>, 0} and {<Network-number>, -1}
These addresses have historically been associated with network and
broadcast addresses (see <a href="#section-2.2">Section 2.2</a>). In a point-to-point link with
a 31-bit subnet mask, the two addresses above MUST be interpreted as
host addresses.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Broadcast and Network Addresses</span>
There are several historically recognized broadcast addresses
[<a href="./rfc1812" title=""Requirements for IP Version 4 Routers"">RFC1812</a>] on IP segments:
(a) the directed broadcast
{<Network-number>, -1}
{<Network-number>, 0}
The network address itself {<Network-number>, 0} is an
obsolete form of directed broadcast, but it may still be used
by older hosts.
<span class="grey">Retana, 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="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
(b) the link local (or limited) broadcast
{-1, -1}
{0, 0}
The {0, 0} form of a limited broadcast is obsolete, but may
still be present in a network.
Using a 31-bit prefix length leaves only two numbering possibilities
(see <a href="#section-2.1">Section 2.1</a>), eliminating the use of a directed broadcast to the
link (see <a href="#section-2.2.1">Section 2.2.1</a>). The limited broadcast MUST be used for all
broadcast traffic on a point-to-point link with a 31-bit subnet mask
assigned to it.
The <Network-number> is assigned by the network administrator as
unique to the local routing domain. The decision as to whether a
destination IP address should be a directed broadcast or not is made
by the router directly connected to the destination segment. Current
forwarding schemes and algorithms are not affected in remote routers.
The intent of this document is to discuss the applicability and
operation of 31-bit prefixes on point-to-point links. The effects
(if any) on other types of interfaces are not considered.
<span class="h4"><a class="selflink" id="section-2.2.1" href="#section-2.2.1">2.2.1</a>. Directed Broadcast</span>
When a device wants to reach all the hosts on a given (remote, rather
than directly connected) subnet, it may set the packet's destination
address to the link's subnet broadcast address. This operation is
not possible for point-to-point links with a 31-bit prefix.
As discussed in <a href="#section-6">Section 6</a>, the loss of functionality of a directed
broadcast may actually be seen as a beneficial side effect, as it
slightly enhances the network's resistance to a certain class of DoS
Attacks [<a href="./rfc2644" title=""Changing the Default for Directed Broadcasts in Routers"">RFC2644</a>, <a href="#ref-SMURF" title=""The Latest in Denial of Service Attacks: 'Smurfing': Description and Information to Minimize Effects"">SMURF</a>].
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Impact on Current Routing Protocols</span>
Networks with 31-bit prefixes have no impact on current routing
protocols. Most of the currently deployed routing protocols have
been designed to provide classless routing. Furthermore, the
communication between peers is done using multicast, limited
broadcast or unicast addresses (all on the local network), none of
which are affected with the use of 31-bit subnet masks.
<span class="grey">Retana, 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="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Recommendations</span>
The considerations presented in <a href="#section-2">Section 2</a> affect other published
work. This section details the updates made to other documents.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. "Requirements for Internet Hosts -- Communication Layers" [<a href="./rfc1122" title=""Requirements for Internet Hosts -- Communication Layers"">RFC1122</a>]</span>
<a href="#section-3.2.1.3">Section 3.2.1.3</a> (e) is replaced with:
(e) { <Network-number>, <Subnet-number>, -1 }
Directed broadcast to the specified subnet. It MUST NOT be
used as a source address, except when the originator is one of
the endpoints of a point-to-point link with a 31-bit mask.
A new section (numbered 3.2.1.3 (h)) is added:
(h) { <Network-number>, <Subnet-number>, 0 }
Subnetwork number. SHOULD NOT be used as a source address,
except when the originator is one of the endpoints of a point-
to-point link with a 31-bit mask. For other types of links, a
packet with such a destination SHOULD be silently discarded.
If these packets are not silently discarded, they MUST be
treated
as IP broadcasts [<a href="./rfc1812" title=""Requirements for IP Version 4 Routers"">RFC1812</a>].
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. "Assigned Numbers" [<a href="./rfc1700" title=""Assigned Numbers"">RFC1700</a>]</span>
Sub-section (e) of the "Special Addresses" section in the
"Introduction" is replaced with:
(e) {<Network-number>, <Subnet-number>, -1}
Directed broadcast to specified subnet. Can only be used as a
destination address. However, in the case where the originator
is one of the endpoints of a point-to-point link with a 31-bit
mask, it can also be used as a source address.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. "Requirements for IP Version 4 Routers" [<a href="./rfc1812" title=""Requirements for IP Version 4 Routers"">RFC1812</a>]</span>
<a href="#section-4.2.2.11">Section 4.2.2.11</a> (d) is replaced with:
(d) { <Network-prefix>, -1 }
Directed Broadcast - a broadcast directed to the specified
network prefix. It MUST NOT be used as a source address,
except when the originator is one of the endpoints of a point-
<span class="grey">Retana, 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="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
to-point link with a 31-bit mask. A router MAY originate
Network Directed Broadcast packets. A router MAY have a
configuration option to allow it to receive directed broadcast
packets, however this option MUST be disabled by default, and
thus the router MUST NOT receive Network Directed Broadcast
packets unless specifically configured by the end user.
The text above includes the update made by [<a href="./rfc2644" title=""Changing the Default for Directed Broadcasts in Routers"">RFC2644</a>].
A new section (numbered 4.2.2.11 (f)) is added:
(f) { <Network-number>, <Subnet-number>, 0 }
Subnetwork number. SHOULD NOT be used as a source address,
except when the originator is one of the endpoints of a point-
to-point link with a 31-bit mask. For other types of links, a
packet with such a destination SHOULD be silently discarded.
If these packets are not silently discarded, they MUST be
treated as IP broadcasts.
Sections <a href="#section-4.2.3.1">4.2.3.1</a> (1), (2) and (4) are replaced with:
(1) MUST treat as IP broadcasts packets addressed to
255.255.255.255 or { <Network-prefix>, -1 }.
In a point-to-point link with a 31-bit mask, a packet addressed to
{ <Network-prefix>, -1 } corresponds to one of the endpoints of
such link, it MUST be treated as directed to the router on which
the address is applied.
(2) SHOULD silently discard on receipt (i.e., do not even deliver
to applications in the router) any packet addressed to 0.0.0.0 or
{ <Network-prefix>, 0 }. If these packets are not silently
discarded, they MUST be treated as IP broadcasts (see Section
[5.3.5]). There MAY be a configuration option to allow receipt of
these packets. This option SHOULD default to discarding them.
In a point-to-point link with a 31-bit mask, a packet addressed to
{ <Network-prefix>, 0 } corresponds to one of the endpoints of
such link, it MUST be treated as directed to the router on which
the address is applied.
(4) SHOULD NOT originate datagrams addressed to 0.0.0.0 or {
<Network-prefix>, 0 }. There MAY be a configuration option to
allow generation of these packets (instead of using the relevant
1s format broadcast). This option SHOULD default to not
generating them.
<span class="grey">Retana, 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="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
In a point-to-point link with a 31-bit mask, the configuration of
such a mask SHOULD allow for the generation of datagrams addressed
to { <Network-prefix>, 0 }.
The following text is added to <a href="#section-4.3.3.9">section 4.3.3.9</a>:
The 255.255.255.255 IP broadcast address MUST be used for
broadcast Address Mask Replies in point-to-point links with 31-bit
subnet masks
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Operational Experience</span>
The recommendations presented in this document have been implemented
by several router vendors in beta code. The implementation has been
tested by at least three ISPs with positive results (i.e., no
problems have been found). Among the routing protocols tested
successfully are OSPF, IS-IS, BGP and EIGRP.
It is expected that the implementation will be officially released
within the next few months and that other vendors will adopt it.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Deployment Considerations</span>
The intent of this document is to discuss the applicability and
operation of 31-bit prefixes on point-to-point links. The effects
(if any) on other types of interfaces are not considered. Note that
a point-to-point link in which only one end supports the use of 31-
bit prefixes may not operate correctly.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
In the light of various denial of service (DoS) attacks on various
networks within the Internet, security has become a major concern.
The use of 31-bit subnet masks within the core of the Internet will
reduce the number of physical links against which a DoS attack
relying on packet replication through the use of directed broadcasts
can be launched [<a href="./rfc2644" title=""Changing the Default for Directed Broadcasts in Routers"">RFC2644</a>, <a href="#ref-SMURF" title=""The Latest in Denial of Service Attacks: 'Smurfing': Description and Information to Minimize Effects"">SMURF</a>].
Overall, implementation of this document recommendation will improve
the Internet's resilience to these types of DoS attacks.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Acknowledgements</span>
The authors of this document do not make any claims on the
originality of the ideas described. Among other people, we would
like to acknowledge Alex Zinin for his comments, and the many people
who have tested 31 bit subnet masks in their labs and networks.
<span class="grey">Retana, 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="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
[<a id="ref-RFC950">RFC950</a>] Mogul, J. and J. Postel, "Internet Standard Subnetting
Procedure", STD 5, <a href="./rfc950">RFC 950</a>, August 1985.
[<a id="ref-RFC1122">RFC1122</a>] Braden, R., "Requirements for Internet Hosts --
Communication Layers", STD 3, <a href="./rfc1122">RFC 1122</a>, October 1989.
[<a id="ref-RFC1332">RFC1332</a>] McGregor, G., "The PPP Internet Protocol Control Protocol
(IPCP)", <a href="./rfc1332">RFC 1332</a>, May 1992.
[<a id="ref-RFC1519">RFC1519</a>] Fuller, V., Li, T., Yu, J. and K. Varadhan, "Classless
Inter-Domain Routing (CIDR): an Address Assignment and
Aggregation Strategy", <a href="./rfc1519">RFC 1519</a>, September 1993.
[<a id="ref-RFC1631">RFC1631</a>] Egevang, K. and P. Francis, "The IP Network Address
Translator (NAT)", <a href="./rfc1631">RFC 1631</a>, May 1994.
[<a id="ref-RFC1700">RFC1700</a>] Reynolds, J. and J. Postel, "Assigned Numbers", STD 2, <a href="./rfc1700">RFC</a>
<a href="./rfc1700">1700</a>, October 1994.
[<a id="ref-RFC1812">RFC1812</a>] Baker, F., "Requirements for IP Version 4 Routers", <a href="./rfc1812">RFC</a>
<a href="./rfc1812">1812</a>, June 1995.
[<a id="ref-RFC2050">RFC2050</a>] Hubbard, K., Kosters, M., Conrad, D., Karrenberg, D. and J.
Postel, "Internet Registry IP Allocation Guidelines", <a href="https://www.rfc-editor.org/bcp/bcp12">BCP</a>
<a href="https://www.rfc-editor.org/bcp/bcp12">12</a>, <a href="./rfc2050">RFC 2050</a>, November 1996.
[<a id="ref-RFC2460">RFC2460</a>] Deering, S. and R. Hinden, "Internet Protocol, Version 6
(IPv6) Specification", <a href="./rfc2460">RFC 2460</a>, December 1998.
[<a id="ref-RFC2644">RFC2644</a>] Senie, D., "Changing the Default for Directed Broadcasts in
Routers", <a href="https://www.rfc-editor.org/bcp/bcp34">BCP 34</a>, <a href="./rfc2644">RFC 2644</a>, August 1999.
[<a id="ref-SMURF">SMURF</a>] Huegen, C., "The Latest in Denial of Service Attacks:
'Smurfing': Description and Information to Minimize
Effects", URL:
<a href="http://users.quadrunner.com/chuegen/smurf.cgi">http://users.quadrunner.com/chuegen/smurf.cgi</a>
<span class="grey">Retana, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Authors' Addresses</span>
Alvaro Retana
Cisco Systems, Inc.
7025 Kit Creek Rd.
Research Triangle Park, NC 27709
EMail: aretana@cisco.com
Russ White
Cisco Systems, Inc.
7025 Kit Creek Rd.
Research Triangle Park, NC 27709
EMail: riw@cisco.com
Vince Fuller
GTE Internetworking
3801 E. Bayshore Rd.
Palo Alto, CA, 94303
EMail: vaf@valinor.barrnet.net
Danny McPherson
Amber Networks
2465 Augustine Drive
Santa Clara, CA 95054
EMail: danny@ambernetworks.com
<span class="grey">Retana, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc3021">RFC 3021</a> 31-Bit Prefixes on IPv4 Links December 2000</span>
Full Copyright Statement
Copyright (C) The Internet Society (2000). 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.
Retana, et al. Standards Track [Page 10]
</pre>
|