IPv4 provides a total pool of about 4.3 billion addresses.
In 1981, nobody expected the Internet to need more.Public IPv4 addresses are distributed by IANA and the Regional Internet Registries (RIRs).
As networks expanded globally, the available pool of public addresses shrank.
Figure 1 – IPv4 Public Address Exhaustion Curve
By the early 1990s, engineers realized that public IPv4 addresses would run out.
Two measures slowed it down:1993 – CIDR (Classless Inter-Domain Routing): more flexible allocation of addresses.
1996 – RFC 1918 (Private IPv4 Addresses): ranges reserved for internal networks.
IANA handed out its last free public blocks in February 2011.
The regional registries ran out of addresses in the following years.Answer the question below
Private IPv4 addresses helped slow down the ______ of public addresses.
RFC 1918, published in 1996 by the IETF (Internet Engineering Task Force), defines private IPv4 addresses.
These addresses are reserved for internal networks, such as homes, companies and campuses.
A company uses private addresses for its internal devices.
It keeps public addresses only for devices that must be reached from the Internet.
Figure 2 – Comparison between Public IPv4 and Private IPv4 Addresses
Advantages of Private IPv4 Addresses
Cost savings: no public address to buy for internal devices.
Isolation: private addresses are not reachable from the Internet.
Reuse: every organization can use the same ranges.
Answer the question below
Which RFC defines private IPv4 addresses?
RFC 1918 reserves three address blocks for private networks:

Figure 3 – RFC 1918 ranges reserved for private IPv4 addressing
10.0.0.0/8, inside the old Class A space
172.16.0.0/12, inside the old Class B space
192.168.0.0/16, inside the old Class C space
Answer the question below
What is the Class A private range?
Answer the question below
How many /24 networks fit inside the private block 172.16.0.0/12 shown in Figure 3?
Companies build their internal networks with the RFC 1918 ranges, divided into subnets.
Private addresses are not routed on the Internet, so many companies can use the same ones.
Figure 4 – Multiple companies reusing the same private IPv4 subnet
Company A, Company B and Company C can all use 192.168.1.0/24.
It works as long as they are not directly connected to each other.Private addresses go to devices that do not need a public address: PCs, phones, printers, and internal switches and routers.
Configuring a Private IPv4 Address
A private address is configured on an interface exactly like a public address.
Router# conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface g0/0 Router(config-if)# ip address 192.168.1.1 255.255.255.0 Router(config-if)# no shutdown Router(config-if)# endTo verify:
Router# show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 192.168.1.1 YES manual up upThis interface now serves as the default gateway for hosts in 192.168.1.0/24.
How Private Hosts Reach the Internet
Only public IPv4 addresses are routable across the Internet.
A host with a private address needs NAT (Network Address Translation) to go out.
Figure 5 – NAT translating private IPv4 addresses to public ones
The edge router replaces the private source address with a public address.
Then it forwards the packet across the Internet.
Many private hosts can share one public address this way.Answer the question below
What allows private IPs to access the Internet?
Answer the question below
Which private IPv4 range was taken from the Class B space?