Internet Engineering Task Force M.R. Smith Internet-Draft 4 December 2026 Updates: 3493 (if approved) Intended status: Informational Expires: 7 June 2027 Carrying IPv4 routes with IPv6 Next Hops in IPv6 Routing Protocols without Modification draft-smith-intarea-v4-via-v6-no-rp-mods-00 Abstract IPv4 routes with IPv6 next hops can be carried in existing IPv6 routing protocols with implementation modifications only. This memo describes how this can be achieved. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 7 June 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Smith Expires 7 June 2027 [Page 1] Internet-Draft v4-via-v6 Routes in IPv6 Route Protos December 2026 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Carrying IPv4 routes in IPv6 Routing Protocols . . . . . . . 2 3. Implementation Options and Consideratons . . . . . . . . . . 3 3.1. IPv4 Route Origin . . . . . . . . . . . . . . . . . . . . 3 3.2. At IPv4 Path Hops . . . . . . . . . . . . . . . . . . . . 3 3.3. Router Operator User Interface . . . . . . . . . . . . . 4 4. Security Considerations . . . . . . . . . . . . . . . . . . . 4 5. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 4 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 4 6.1. Normative References . . . . . . . . . . . . . . . . . . 4 6.2. Informative References . . . . . . . . . . . . . . . . . 4 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 5 1. Introduction [draft-ietf-intarea-v4-via-v6-12] discusses the use of IPv6 next hop addresses for IPv4 routes as a method of carrying IPv4 traffic across a network without assigning IPv4 addresses to each hop along IPv4 paths. This simplifies network configuration while continuing to support carrying IPv4 packets across the network. [draft-ietf-intarea-v4-via-v6-12] states that IPv6 routing protocols need to be extended to support carrying IPv4 routes with IPv6 next hops and provides some examples of where this has already occurred. This memo describes a method of carrying IPv4 routes with IPv6 next hops in IPv6 routing protocols without routing protocol modification. Instead, only IPv6 routing protocol implementations need to be minimally modified. 2. Carrying IPv4 routes in IPv6 Routing Protocols [RFC4291] specifies IPv4-Mapped IPv6 addresses that are used to represent IPv4 node addresses as IPv6 addresses. These IPv4-Mapped IPv6 addresses have a well known IPv6 prefix of ::ffff:0:0:0:0/96, with the final 32 bits carrying the IPv4 address. These IPv4-Mapped IPv6 addresses could be carried within IPv6 routing protocols with prefix lengths of /96 through to /128, representing the IPv4 route prefix length plus 96 bits, conveying IPv4 routes with IPv6 next hops within the unmodified IPv6 routing protocol. For the remainder of this memo, these IPv4-Mapped IPv6 addresses with IPv6 prefix lengths derived from the IPv4 prefix's length will be known as "IPv4-Mapped IPv6 prefixes". Smith Expires 7 June 2027 [Page 2] Internet-Draft v4-via-v6 Routes in IPv6 Route Protos December 2026 3. Implementation Options and Consideratons 3.1. IPv4 Route Origin An IPv6 routing protocol implementation will need to be modified to select IPv4 routes to be distributed as IPv4-Mapped IPv6 prefixes. The options for how the IPv6 routing protocol selects IPv4 routes for distribution is an implementation decision, and will likely be similar to how native IPv6 prefixes are selected for distribution in the IPv6 routing protocol. Some examples of mechanisms might be: * Specify an IPv4 enabled interface where all IPv4 configured prefixes are distributed into the IPv6 routing protocol after conversion to IPv4-Mapped IPv6 prefixes. * A simple configuration option to enable all IPv4 prefixes configured on all of the router's IPv4 enabled interfaces to be distributed into the IPv6 routing protocol after conversion to IPv4-Mapped IPv6 prefixes. * Redistribution of some or all of the IPv4 routes from a locally running IPv4 routing protocol into the IPv6 routing protocol after conversion to IPv4-Mapped IPv6 prefixes. 3.2. At IPv4 Path Hops Selection of the IPv4 routes to install into the local IPv4 route table (that supports IPv6 next hops) follows conventional IPv6 route selection using the longest match rule against the IPv4-Mapped IPv6 prefixes, with one exception. Prior to the best route selection process, the candidate IPv4-Mapped IPv6 prefix lengths MUST be validated as ranging from /96 through to /128. An IPv4-Mapped IPv6 prefix length shorter/smaller than a /96 would result in an IPv4 default route of 0.0.0.0/0. Should this default route be installed in the local IPv4 route table, all non- local network IPv4 traffic would be sent towards an unintended destination, or to one that is intended by a malicious actor who has successfully managed to insert this invalid IPv4-Mapped IPv6 prefix into the routing protocol. Smith Expires 7 June 2027 [Page 3] Internet-Draft v4-via-v6 Routes in IPv6 Route Protos December 2026 3.3. Router Operator User Interface To assist the operator of a router that is using IPv4-Mapped IPv6 prefixes for IPv4 routing information, IPv4-Mapped IPv6 prefixes should normally be displayed with the lower 32 bits of the address in IPv4 address format [RFC5952]. Furthermore, both the IPv6 and derived IPv4 prefix length should be shown. The IPv6 prefix length would be shown conventionally, with a suffix showing the derived IPv4 prefix length. As an example of the previous two recommendations, the IPv4-Mapped IPv6 prefix for the IPv4 prefix 203.0.113.0/24 would be displayed as something like: ::ffff:203.0.113.0/120 (IPv4: /24) An exception to the above would be when debugging the operation of the IPv6 routing protocol. In this case, the IPv4-Mapped IPv6 prefix should be displayed as both a native IPv6 prefix and prefix length as well as the above IPv4-Mapped IPv6 prefix format. For example, for the above "::ffff:203.0.113.0/120 (IPv4: /24)", the debugging output would be something like: ::ffff:cb00:7100/120 (::ffff:203.0.113.0/120 (IPv4: /24)) 4. Security Considerations Implementations MUST ensure that IPv4-Mapped IPv6 prefix lengths range from /96 through to /128, to ensure that an invalid IPv4 0.0.0.0/0 default route is not installed in the router's IPv4 route table. 5. Acknowledgements Review and comments were provided by YOUR NAME HERE! This memo was prepared using the xml2rfc tool. 6. References 6.1. Normative References 6.2. Informative References [RFC4291] Hinden, R. and S. Deering, "IP Version 6 Addressing Architecture", RFC 4291, DOI 10.17487/RFC4291, February 2006, . Smith Expires 7 June 2027 [Page 4] Internet-Draft v4-via-v6 Routes in IPv6 Route Protos December 2026 [RFC5952] Kawamura, S. and M. Kawashima, "A Recommendation for IPv6 Address Text Representation", RFC 5952, DOI 10.17487/RFC5952, August 2010, . Author's Address Mark Smith PO BOX 521 HEIDELBERG VIC 3084 Australia Email: markzzzsmith@gmail.com Smith Expires 7 June 2027 [Page 5]