Carrier-grade NAT explained

Carrier-grade NAT (CGN or CGNAT), also known as large-scale NAT (LSN), is a type of network address translation (NAT) used by ISPs in IPv4 network design. With CGNAT, end sites, in particular residential networks, are configured with private network addresses that are translated to public IPv4 addresses by middlebox network address translator devices embedded in the network operator's network, permitting the sharing of small pools of public addresses among many end users. This essentially repeats the traditional customer-premise NAT function at the ISP level.

Carrier-grade NAT is often used for mitigating IPv4 address exhaustion.

One use scenario of CGN has been labeled as NAT444,[1] because some customer connections to Internet services on the public Internet would pass through three different IPv4 addressing domains: the customer's own private network, the carrier's private network and the public Internet.

Another CGN scenario is Dual-Stack Lite, in which the carrier's network uses IPv6 and thus only two IPv4 addressing domains are needed.

CGNAT techniques were first used in 2000 to accommodate the immediate need for large numbers of IPv4 addresses in General Packet Radio Service (GPRS) deployments of mobile networks. Estimated CGNAT deployments increased from 1,200 in 2014 to 3,400 in 2016, with 28.85% of the studied deployments appearing to be in mobile operator networks.[2]

Shared address space

See main article: IPv4 shared address space.

If an ISP deploys a CGN, and uses address space to number customer gateways, the risk of address collision, and therefore routing failures, arises when the customer network already uses an address space.

This prompted some ISPs to develop a policy within the American Registry for Internet Numbers (ARIN) to allocate new private address space for CGNs, but ARIN deferred to the IETF before implementing the policy indicating that the matter was not a typical allocation issue but a reservation of addresses for technical purposes (per RFC 2860).

IETF published, detailing a shared address space for use in ISP CGN deployments that can handle the same network prefixes occurring both on inbound and outbound interfaces. ARIN returned address space to the Internet Assigned Numbers Authority (IANA) for this allocation.[3] The allocated address block is 100.64.0.0/10, i.e. IP addresses from 100.64.0.0 to 100.127.255.255.[4]

Devices evaluating whether an IPv4 address is public must be updated to recognize the new address space. Allocating more private IPv4 address space for NAT devices might prolong the transition to IPv6.

Advantages

Disadvantages

Critics of carrier-grade NAT argue the following aspects:

See also

External links

Notes and References

  1. Web site: NAT444 (CGN/LSN) and What it Breaks. Chris Grundemann. 2011-02-14.
  2. Inferring Carrier-Grade NAT Deployment in the Wild. IEEE INFOCOM 2018 - IEEE Conference on Computer Communications. https://ieeexplore.ieee.org/document/8486223. Livadariu. Ioana. Benson. Karyn. Elmokashfi. Ahmed. Dhamdhere. Amogh. Dainotti. Alberto. 2018. 2249–2257. Honolulu, HI, USA. 10.1109/INFOCOM.2018.8486223. 22 July 2021.
  3. Web site: Re: shared address space... a reality!. live. 13 September 2012. https://web.archive.org/web/20120607125500/http://seclists.org/nanog/2012/Mar/588. 2012-06-07 .
  4. Web site: 100.64.0.0/10 – Shared Transition Space. Chris Grundemann. 2012-03-13.
  5. - Assessing the Impact of Carrier-Grade NAT on Network Applications
  6. Web site: MC/159 Report on the Implications of Carrier Grade Network Address Translators Final Report. 2013-04-15. Ofcom. 2023-10-17.