Private and public IP addresses
An address like 192.168.1.5 that works only inside a local network. The internet sees the router's public IP instead, and NAT translates between the two so many devices can share it.
Understanding Private and public IP addresses in ACARA Digital Technologies Years 9–10
What it does: NAT swaps the private address of a device for the router's single public address when data goes out to the internet. The private range is 172.16.0.0 to 172.31.255.255. The second number 20 is in that range, but 40 is outside it. Private addresses only work inside a local network, so different networks can reuse them without a clash. Public addresses must be unique. The whole 10.x.x.x block is reserved for private networks, just like 172.16-31.x.x and 192.168.x.x.
Common mistakes: Addresses starting 192.168 are in a private range, so the laptop's address is private. The line should be kind = "private". The private range runs from 172.16 to 172.31, so 172.60 is not private. It should be "172.16.0.0/12".
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 12–34) and word search (Modules 12–55).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
private IP addressFill in the Blanks
Spot the Error
Student with a class code? Join your class →