IPv4 address shortage

From Simple English Wikipedia, the free encyclopedia

Internet Protocol version 4 (IPv4) has roughly 4 billion IP addresses. This is a problem because there are more than 4 billion Internet-connected computers in the world. This has led to a shortage of IPv4 addresses.

Solutions[change | change source]

IPv6[change | change source]

The long term solution is to switch to Internet Protocol version 6 (IPv6). IPv6 has trillions of trillions of addresses, enough to give every computer in the world a unique IP address. Unfortunately, IPv6 is mostly incompatible with IPv4, and implementing it often requires replacing equipment such as routers. Not all ISPs currently offer IPv6. There are several backward compatibility protocols such as Protocol 41 and Teredo that allow a computer with only an IPv4 address to obtain an IPv6 address.

Network Address Translation[change | change source]

Network Address Translation (NAT) splits a single public IPv4 address into multiple private IPv4 addresses. It is considered a short term solution because it does not usually allow incoming connections without manual configuration of port forwarding.

Carrier-grade Network Address Translation[change | change source]

Carrier-grade Network Address Translation (CGN or CGNAT) is Network Address Translation done by the Internet Service Provider (ISP). It is a short-term solution to provide IPv4 access where the ISP has more customers than public IP addresses. In this setup, multiple customers share a single public IPv4 address. CGN has the major drawback that it does not allow incoming connections at all, because the address translator does not know which customer an incoming connection was intended for. This makes it impossible or very difficult to host services such as websites or file servers. It also causes problems with some online games, online security cameras, and BitTorrent. Most land-line ISPs don't use CGN yet, but mobile providers often do. The address block is reserved for CGN, although many ISPs improperly use instead. ISPs that use CGN usually offer a public IPv4 address to customers that request one. They may offer this for free, charge a one-time fee, or charge a monthly or yearly fee. In the future they might not offer public IPv4 addresses or might charge a large fee for them, due to supply and demand.

Class E addresses[change | change source]

Another proposal was to assign the class E IPv4 addresses, which are -[nb 1], for use on the public Internet. These addresses are currently reserved for "future" or "experimental" use. This would only add about 268 million addresses to the IPv4 Internet - not enough to prevent running out of addresses. Another issue with this approach is that most operating systems (including Windows), routers, servers, and other equipment block these addresses, as they assume that they are invalid. Using these addresses would require updating every computer, router, and server to recognize them as valid - effort which would better be spent on deploying IPv6.[1]

Notes[change | change source]

  1. The address, although part of this block, is reserved as the broadcast address.

References[change | change source]

  1. "IPv4 Exhaustion: What About Class E Addresses?". PacketLife. Retrieved 5 November 2022.