Internet Engineering Task Force (IETF) M. Boucadair
Request for Comments: 7608 France Telecom
BCP: 198 A. Petrescu
Category: Best Current Practice CEA, LIST
ISSN: 2070-1721 F. Baker
Cisco Systems
July 2015
IPv6 Prefix Length Recommendation for Forwarding
Boucadair, et al. Best Current Practice [Page 1]
RFC 7608 July 2015
Copyright Notice
1. Introduction
Discussions on the 64-bit boundary in IPv6 addressing ([RFC7421]) revealed a need for a clear recommendation on which bits must be used by forwarding decision-making processes. However, such a recommendation was out of scope for that document.
Boucadair, et al. Best Current Practice [Page 2]
RFC 7608 July 2015
Forwarding decisions rely on the longest-match-first algorithm, which stipulates that, given a choice between two prefixes in the Forwarding Information Base (FIB) of different length that match the destination address in each bit up to their respective lengths, the longer prefix is used. This document's recommendation (Section 2) is that IPv6 forwarding must follow the longest-match-first rule, regardless of prefix length, unless some overriding policy is configured.
1.1. Requirements Language
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 RFC 2119 [RFC2119].
2. Recommendation
IPv6 implementations MUST conform to the rules specified in Section 5.1 of [RFC4632].
Boucadair, et al. Best Current Practice [Page 3]
RFC 7608 July 2015 3. Security ConsiderationsThis document does not introduce security issues in addition to what is discussed in [RFC4291].
4. References 4.1. Normative References[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
4.2. Informative References
[OPSEC-v6] Chittimaneni, K., Kaeo, M., and E. Vyncke, "Operational
Boucadair, et al. Best Current Practice [Page 4]
RFC 7608 July 2015
[RFC4862] Thomson, S., Narten, T., and T. Jinmei, "IPv6 Stateless
Boucadair, et al. Best Current Practice [Page 5]
RFC 7608 July 2015
Acknowledgements