rfc-6619

Scalable Operation of Address Translators with Per-Interface Bindings

J. Arkko, L. Eggert, M. Townsley
date2012-06 streamIETF wgnon working group statusPROPOSED STANDARD pages9 canonicalhttps://www.rfc-editor.org/rfc/rfc6619 doi10.17487/RFC6619
This document explains how to employ address translation in networks that serve a large number of individual customers without requiring a correspondingly large amount of private IPv4 address space. [STANDARDS-TRACK]

Extracted elements (15)

design-rationale §4

For deployments where exactly one user device connects per tunnel interface and all tunnels use the same IPv4 address, storing the user device address in addition to the interface identifier is redundant; omitting it can decrease mapping entry storage and improve NAT scalability.

nat, ip

design-rationale §5

In pure IPv6 internal networks using NAT64 (RFC 6146), per-interface mappings are generally unnecessary because the IPv6 address space is large enough to provide a sufficient number of distinct mappings without address reuse.

nat, ip, v6ops

design-rationale §1

Networks serving more than 2^24 (16 million) users cannot assign unique private IPv4 addresses to each user because the largest reserved private block is 10/8. Per-interface bindings solve this by reusing the same private address space across point-to-point interfaces without consuming additional address space.

nat, ip, v6ops

design-rationale §2

Tunneling-based approaches (e.g., DS-Lite) can achieve similar address-conservation benefits, but where point-to-point links already exist, adding another tunneling layer is unnecessary and harmful due to MTU effects. The per-interface approach requires no tunnel endpoint discovery, security mechanisms, or host changes.

nat, ip, v6ops

design-rationale §2

When user devices connect via individual point-to-point links, the NAT can identify the correct mapping via the interface rather than a unique private IP address, making it possible to support any number of devices behind the NAT using very few IPv4 addresses.

nat, ip

interoperability-note §2

Existing tunnels (e.g., in cellular network gateways already present for mobility management) are a common special case of point-to-point links; per-interface NAT is particularly attractive in such environments because no additional tunneling mechanisms, negotiation, or host changes are required.

nat, ip, mobility

interoperability-note §4

The use of overlapping private address space across interfaces prevents devices behind the same NAT from using unique private addresses to communicate with each other; a NAT operation must occur between any two such devices for them to communicate.

nat, ip

normative-requirement §4 MUST

A NAT MUST manage its mappings on a per-interface basis, associating each NAT session not only with the five tuples for the transport connection on both sides, but also with the internal interface on which the user device is connected to the NAT.

nat, ip

normative-requirement §5 RECOMMENDED

In dual-stack deployments, the use of per-interface NAT mappings is RECOMMENDED for the IPv4 side to aid NAT scalability while IPv6 handles direct end-to-end communication.

nat, ip, v6ops

normative-requirement §4 SHOULD

Per-interface binding mode is only suitable where user devices connect over point-to-point links. If supported, this mode SHOULD be configurable and SHOULD be disabled by default in general-purpose NAT devices.

nat, ip

protocol-element §3

A NAT session is defined as an association between a transport layer session as seen in the internal realm and a session as seen in the external realm, by virtue of NAT translation, providing translation glue between the two session representations.

nat, ip

protocol-element §4

Per-interface NAT mappings associate each session with the five-tuple (transport connection identifiers on both sides) plus the internal interface identifier, allowing the same private IPv4 address range to be reused across all internal interfaces.

nat, ip

protocol-element §4

The internal interface need not be physical; it may correspond to a tunnel, VLAN, or other identifiable communications channel, enabling applicability to PPP, PPPoE, ATM PVCs, and per-subscriber VLANs.

nat, ip

security-consideration §6

The per-interface binding method is not externally observable: a device outside the NAT cannot distinguish a regular NAT from the per-interface NAT described in this document, so no new attack surface is introduced by the binding technique itself.

nat, security, ip

security-consideration §6

The use of the same address space for different devices behind the NAT means devices cannot communicate directly with each other without traversing the NAT or a router, enforcing traffic mediation as a structural property of the deployment.

nat, security, ip