AP Networking • Study Resource

Private vs. Public IP Addresses

Understand private and public IPv4 addresses, RFC 1918 ranges, Internet routing, NAT, address reuse, overlapping private networks, and the mistakes AP Networking students should avoid.

Independent AP Networking resource • Updated 2026-09-14 • Built for students and teachers
AP Networking Premium: Add guided practice, answer explanations, artifact work, and structured review to the free study system.
Explore Premium Resources
Core distinction

Private and public describe address scope—not whether a device can communicate

A private IPv4 address is intended for use inside private networks and is not globally routed across the public Internet. A public IPv4 address participates in globally unique Internet addressing and can be routed according to Internet routing policy. The important AP Networking skill is not merely labeling an address: it is predicting what must happen to a packet when a private-addressed host communicates beyond its private network.

Private IPv4

Reusable by independent networks. Common on LANs, internal server networks, labs, and enterprise segments. Usually requires translation when ordinary IPv4 Internet access is provided.

Public IPv4

Globally unique within the public routing system. Common on Internet-facing interfaces and services. “Not private” does not automatically mean “normal usable public address,” because special-purpose ranges also exist.

Must know

The three RFC 1918 private IPv4 blocks

BlockFull rangeFast exam recognitionCommon trap
10.0.0.0/810.0.0.0–10.255.255.255Every 10.x.x.x address is inside the blockThinking only 10.0.0.x is private
172.16.0.0/12172.16.0.0–172.31.255.255Second octet must be 16 through 31Calling every 172.x.x.x address private
192.168.0.0/16192.168.0.0–192.168.255.255First two octets must be 192.168Calling all 192.x.x.x private

Swipe horizontally to inspect the full table.

High-value trap: 172.15.8.4 and 172.32.8.4 are outside the RFC 1918 172.16/12 block. Memorize the boundary, not just “172.”
Classification drill

Can you classify these without guessing?

10.44.8.9

Private. It falls inside 10/8.

172.20.5.8

Private. 20 is between 16 and 31.

172.40.5.8

Not RFC 1918. Second octet 40 is outside 16–31.

192.168.44.7

Private. It falls inside 192.168/16.

Internet path

Private source → default gateway → NAT → public Internet

10.25.4.18:51514→Default gateway / NAT edge→203.0.113.25:62001*→Internet service

*Documentation-style example address used to illustrate the translation concept.

The client can route normally inside the private network. At an IPv4 Internet edge, translation can replace the private source information with public-facing information. On return traffic, the translation state lets the edge map the response back to the correct inside connection.

What NAT providesAddress/port translation that allows private inside addressing to participate in ordinary IPv4 Internet communication through public-facing addressing.
What NAT does not provideA route by itself. The device still needs a valid forwarding path and appropriate policy.
PAT reasoning

How many private clients can share one public IPv4 address?

Inside connections 10.0.0.10:51000 → web server:443 10.0.0.11:51000 → web server:443 Possible translated flows Public-IP:61001 → web server:443 Public-IP:61002 → web server:443 The public source address can be shared because translation state distinguishes the flows using transport-port information.

This is commonly described as Port Address Translation (PAT) or NAT overload. The crucial evidence is not merely “the public IP is the same”; the translated flow identifiers allow return traffic to be mapped to the appropriate inside connection.

NAT is not routing

Separate the forwarding question from the translation question

Route question

Where should the packet be forwarded next?

NAT question

Should address/port information be rewritten for this flow?

Policy question

Is the flow permitted by firewall/ACL rules?

A valid route does not prove NAT is configured, and a NAT rule does not prove the upstream path exists. This distinction is extremely useful in troubleshooting questions.

Diagnostic artifact

Read a translation table as evidence

Inside local Inside global Destination 10.0.0.21:50122 Public-IP:61010 Web:443 10.0.0.22:53418 Public-IP:61011 Web:443 Interpretation: • two private hosts created translated flows • both share the same public-facing IPv4 address • different translated ports keep the flows distinguishable
What this supportsTranslation state exists for these specific flows.
What it does NOT proveThat DNS works, every destination is reachable, or every private client has a valid translation.
Failure scope

Every private client fails vs. one private client fails

All clients lose Internet access

Shared dependencies become stronger suspects: edge routing, NAT configuration/state, public-facing interface, upstream gateway, or shared policy.

One client fails

A network-wide NAT absence becomes weaker. Check that host's IP/prefix/gateway, local policy, VLAN/access path, DNS behavior, and whether its traffic reaches the edge.

Scope is evidence. It helps you reject fixes that are much broader than the demonstrated failure.

Public does not mean reachable

A public address can still be blocked, unrouted, or unavailable

“Public” describes address scope; it is not a promise of successful application access. A public-facing server can still be unreachable because of routing, firewall policy, service state, upstream filtering, or a missing return path.

Exam trap: Do not choose “the address is public” as proof that a service must be reachable.
Private does not mean secure

RFC 1918 addressing is not a security control by itself

Private addressing limits global Internet routing of those addresses, but it does not authenticate users, encrypt traffic, patch systems, or replace firewall policy. A compromised device inside a private network can still communicate with other reachable internal systems if policy permits it.

Private provesThe address is within an RFC 1918 private-use block.
Private does not proveThe device is trusted, encrypted, malware-free, or isolated.
APIPA / link-local

169.254.0.0/16 is not RFC 1918 private space

An IPv4 address in 169.254/16 is link-local. In common client troubleshooting, seeing such an address can be evidence that the host did not obtain its expected normal configuration from DHCP. Its purpose is different from the reusable RFC 1918 blocks.

★ Addressing Practice • Private vs. Public IP Addresses

A five-minute warm-up for Private vs. Public IP Addresses

Tomorrow’s opening question can pick up where this page leaves off: have students explain where the addresses come from and what they would check when a device cannot connect. The 300 Bell Ringers give you short questions and teacher answers you can use without preparing a new starter each morning.

300 AP Networking Bell Ringers
$74.99
BUY TEACHER PACK → See what is included in the 300 Bell Ringers →
Instant Access • Full-Year Teacher Resource
Expected client: 10.20.5.44/24 Gateway: 10.20.5.1 Observed client: 169.254.x.x Reasoning: Do not say "it received a private address." Ask why expected DHCP configuration was not obtained.
Special-use trap

“Not RFC 1918” is not identical to “ordinary public host address”

Networking includes address space with special purposes. For AP-style reasoning, use the evidence you are given and avoid the false binary that every IPv4 address must be either RFC 1918 private or an ordinary globally usable host address.

Better wording: “This address is outside the RFC 1918 private ranges.” Then determine its actual role from the scenario instead of automatically calling it a normal public endpoint.
Address reuse

Private addresses can be reused because independent private networks are separate routing domains

Two unrelated homes can both use 192.168.1.10 without conflict because those hosts are not being treated as globally unique Internet endpoints. The trouble begins when those private networks must be interconnected and the same prefixes now need to represent different locations.

Addressing & Subnetting Lab • 120 Missions

Let students try Private vs. Public IP Addresses for themselves

Reading the explanation is a start. In the browser simulator, students work through a broken network, choose what to test and see whether their fix worked. It gives them another chance to use what they learned about Private vs. Public IP Addresses.

AP Networking Browser Troubleshooting Simulator
$29.99
120 Missions • 60 Failure Patterns • Offline Copy
GET THE SIMULATOR → See all 120 missions & features
Changed fact: Home A and Company B both use 192.168.1.0/24. There is no issue while they remain independent. Connect the employee to Company B by VPN, and the laptop may now have local and remote claims on the same destination prefix.
Overlap

Why private address reuse can break VPNs and mergers

Home LAN: 192.168.1.0/24 Corporate remote LAN: 192.168.1.0/24 Corporate server: 192.168.1.80 Laptop already has: 192.168.1.0/24 → directly connected home LAN Question: Should 192.168.1.80 be treated as local home traffic or remote corporate VPN traffic?

This is an address-plan collision. Clean renumbering avoids the ambiguity; some systems can use translation or policy-specific workarounds, but those add operational complexity.

For the full range and route-selection diagnosis, continue with Subnet Overlap Problem.

Addressing Exam Practice • Private Vs Public IP Addresses

Check whether Private vs. Public IP Addresses has really stuck

Once students have worked through this topic, give them questions mixed in with the rest of the course. The Exam Prep Vault includes practice exams, multiple-choice questions and artifact labs so they cannot rely on a chapter heading to tell them what to do.

AP Networking Complete Exam Prep Vault
$39.99
GET THE EXAM PREP VAULT → See the Exam Prep Vault contents →
4 Practice Exams • 320 MCQs • 60 Artifact Labs
Scenario 1

Local access works, Internet access fails for every client

Client: 10.25.4.18/24 Gateway: reachable Other local subnet: reachable Public destination: fails Many clients affected

Strong next branch: preserve the successful local routing checkpoint and inspect the shared Internet edge: default/upstream route, NAT state/rules, public-facing interface, and edge policy. Rechecking the client's Ethernet link is weaker because the client already reaches routed internal destinations.

Scenario 2

One client fails while peers behind the same NAT work

Client A: Internet works Client B: Internet works Client C: Internet fails Same LAN / same edge NAT

A universal NAT failure is contradicted by the working peers. Compare Client C's addressing, gateway, VLAN/path, DNS result, host policy, and whether its packets reach the edge.

Premium Routing Feedback

Spend less time marking explanations about Private vs. Public IP Addresses

When students explain their answer, it takes more than a right-or-wrong check to see what they understand. The Grading Copilot helps you review how they used the clues, where their explanation falls short and what feedback to give next. You make the final grading decision.

AP Networking Artifact Analysis Grading Copilot
$49.99
8 Criteria • 5 Task Modes • Offline Premium Copy
GET THE GRADING COPILOT → See the free Copilot preview
Control provesThe shared edge can translate and forward at least some client traffic.
Control does not proveClient C has correct configuration or that its specific flow is allowed.
Scenario 3

A student sees 172.40.10.8 and calls it private

The answer is wrong because the RFC 1918 172 block is only 172.16.0.0 through 172.31.255.255. The second octet 40 falls outside that range.

Fast method: for 172.x.x.x, inspect the second octet. 16–31 is RFC 1918; values outside that interval are not in 172.16/12.
Scenario 4

A NAT entry exists, but the website still does not load

That translation entry is useful evidence, but it does not establish end-to-end application success. The next unresolved dependency may be upstream routing, return traffic, firewall policy, DNS, TCP establishment, TLS, or the application itself.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach Private vs. Public IP Addresses as part of a planned school year

This page gives you one topic. The 180-Day Teacher Curriculum puts it into a full course plan, with daily teaching notes, student activities and checks for understanding. Use it when you need to know what comes before this lesson and what to teach next.

AP Networking Complete 180-Day Teacher Curriculum
$199.99
180 Lessons • 180 Daily Simulators • 36 Teaching Weeks
GET THE 180-DAY CURRICULUM → See 3 free curriculum examples

AP transfer skill: never stretch an artifact beyond the exact checkpoint it proves.

Changed-fact table

Watch how one fact changes the best diagnosis

Initial evidenceChanged factReasoning change
All private clients cannot reach InternetOne peer successfully reaches InternetUniversal edge/NAT outage becomes weaker
VPN to corporate 192.168.1.0/24 failsHome LAN renumbered to 192.168.50.0/24Original local/remote prefix collision disappears
Client shows 169.254.x.xExpected network intentionally uses link-local onlyDo not automatically infer DHCP failure; context changes
Private client has a valid default routeNo translation rule matches its source subnetRouting alone cannot supply required IPv4 translation
NAT table shows a translated flowRemote firewall explicitly denies itTranslation exists; policy becomes the demonstrated failure

Swipe horizontally to inspect each changed-fact scenario.

Troubleshooting framework

Use SCOPE → ADDRESS → ROUTE → TRANSLATE → POLICY → VERIFY

1. Scope

One host, one subnet, or everyone?

2. Address

Private, public-facing, link-local, or misconfigured?

3. Route

Does traffic have the intended next hop/path?

4. Translate

Does the flow match the required NAT/PAT behavior?

5. Policy

Is a firewall/ACL intentionally denying it?

6. Verify

Repeat the original failed test and keep a working control.

Common misconceptions

Seven statements students should be able to reject

AP artifact drill

Which conclusion is strongest?

Host: 10.10.4.25/24 Gateway: 10.10.4.1 Gateway ping: success Internal server on another subnet: success Internet IP test: failure Peer hosts: failure Edge translation table: no matching inside flows observed

Strong interpretation: the host has passed local and routed-internal checkpoints. Because peers also fail and expected translation state is absent, the shared edge/NAT branch deserves investigation. The artifact does not yet prove whether the root cause is the NAT rule itself, traffic not reaching the edge interface, or another shared edge condition.

Free digital flashcards

24 private vs. public IP reasoning flashcards

Use the filters to practice classification, NAT/PAT, troubleshooting, overlap, and exam traps.

All cards
Click or press Enter/Space to reveal.
Explain why before moving to the next card.
0 seen•24 cards
Continue studying

Connect address scope to subnetting, NAT, and troubleshooting