Network Fundamentals · Topic 7 of 17

The Need for Private IPv4 Addressing

Learn why private IPv4 ranges exist, the three RFC 1918 blocks, how they relate to NAT and address exhaustion, and which special ranges are not private.

  • 6 min
  • Exam objective 1.7
In a nutshell
  • The three private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16.
  • 172.16.0.0/12 covers 172.16.0.0 through 172.31.255.255 only.
  • Private addresses are not routed on the internet.

What it is

Private IPv4 addresses let many organisations reuse the same ranges inside their own networks and save scarce public addresses.

IPv4 has about 4.3 billion addresses in total. That sounded like plenty when the protocol was designed, but it is not enough for every phone, laptop, server and sensor in the world to have its own unique public address. The shortage is called IPv4 address exhaustion.

Private IPv4 addresses are the main way networks cope. They are ranges set aside for use inside an organisation.

Many different organisations can use the same private ranges at the same time, because these addresses are never routed across the public internet.

How it works

Private hosts use reserved ranges inside, and a translation device gives them a public address on the way out.

The three private ranges

RFC 1918 defines three blocks:

RangePrefixSize
10.0.0.0 to 10.255.255.25510.0.0.0/8About 16.7 million addresses
172.16.0.0 to 172.31.255.255172.16.0.0/12About 1 million addresses
192.168.0.0 to 192.168.255.255192.168.0.0/1665,536 addresses
Watch out

The middle block stops at 172.31, not 172.255. An address such as 172.32.1.1 is public, even though it looks similar.

Any address outside these blocks, and outside the other special ranges, is a public address. Public addresses are assigned by regional internet registries and are unique across the internet.

Why private addresses help

They save public addresses. A business with 5,000 devices does not need 5,000 public addresses. It can use private addresses inside and share a small number of public ones.

They give flexibility. An organisation can plan its internal network without asking for permission, and it can renumber without affecting anyone else.

They provide a layer of separation. Internet routers do not forward traffic to private destinations. A host with a private address cannot be reached directly from outside unless the network allows it.

This is not a replacement for a firewall, but it does reduce exposure.

How private hosts reach the internet

Private addresses cannot be used as a source on the internet, because replies would have nowhere to go. A device such as a router or firewall must translate them.

PC192.168.10.10 privateRouterNATpublic source 203.0.113.10Internetweb serverInternetweb serverreply to 203.0.113.10RouterNATprivate destination 192.168.10.10PC192.168.10.10 private

NAT (Network Address Translation) replaces the private source address with a public one on the way out, and reverses it on the way back. With PAT, many private hosts share one public address by using different port numbers.

NAT is covered in detail in the IP Services chapter.

Two networks, one address range

Because many organisations use the same private ranges, a problem appears when two networks must be joined, for example after a company merger or when two sites connect by VPN.

If both use 192.168.1.0/24, the addresses overlap and routing cannot tell them apart. The fix is to renumber one side or to translate between them with NAT.

A common prevention is to plan the internal addressing so that each site uses a different block.

Other special IPv4 ranges

Some ranges look private but have a different purpose, so be careful not to confuse them:

  • 127.0.0.0/8 is loopback. A device uses it to talk to itself. 127.0.0.1 is the usual address.
  • 169.254.0.0/16 is link-local (also called APIPA on some systems). A host assigns itself an address from this range when it cannot reach a DHCP server. These addresses work only on the local link.
  • 224.0.0.0/4 is multicast.
  • 0.0.0.0 has special meanings, such as "this host" or the default route in a routing table.

You can see how a device is addressed with show ip interface brief on a Cisco device. A router interface that uses a private address on its inside side and a public address on its outside side is the classic NAT picture.

What to remember for the exam

Eight facts cover this objective.

  • The three private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16.
  • 172.16.0.0/12 covers 172.16.0.0 through 172.31.255.255 only.
  • Private addresses are not routed on the internet.
  • NAT or PAT lets private hosts reach the internet through a public address.
  • Private addressing slows the use of public addresses and helps with address exhaustion.
  • 169.254.0.0/16 is link-local, and 127.0.0.0/8 is loopback. Neither is a private range.
  • Overlapping private ranges cause trouble when two networks join.
  • Private addressing is not a replacement for a firewall.
Exam tip

Memorise the three blocks as 10, 172.16 to 172.31, and 192.168. A 169.254 address means the host found no DHCP server.

Common mistakes

These five errors are common.

Treating 172.x as all private. Only 172.16.0.0 to 172.31.255.255 is private. 172.15.x.x and 172.32.x.x are public.

Thinking a private address is a security feature on its own. It reduces direct exposure, but it does not inspect or block traffic.

Confusing 169.254 with private. A 169.254 address is not issued by a server. It shows that a host failed to find a DHCP server.

Forgetting translation. A private host cannot reach the internet unless something translates its address.

Reusing the same block at every site. This looks simple at first and creates overlap when the sites are connected later.

Check yourself

Work through these three prompts.

  • Why was private addressing needed, and how does it relate to address exhaustion?

    IPv4 has only about 4.3 billion addresses, which is not enough for every device to have a unique public address, and that shortage is called IPv4 address exhaustion. Private addresses help because many organisations reuse the same ranges inside and share a small number of public addresses.

  • What are the three private IPv4 blocks, and which one is easiest to mistake for a public range?

    They are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. The 172.16.0.0/12 block is the easiest to mistake, because it stops at 172.31.255.255 and an address such as 172.32.1.1 is public.

  • What happens to a private source address when its packet leaves the network through a NAT device?

    NAT replaces the private source address with a public one on the way out, and reverses it on the way back. With PAT, many private hosts share one public address by using different port numbers.

Topic 7 of 17 in Network Fundamentals

Test yourself on Network Fundamentals

The full Cisco CCNA 200-301 question bank has 1,206 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Cisco. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.