The limited number of IPv4 addresses
The number of possible IPv4 addresses (about 4.3 billion). It is too few for every phone and smart device online, so a new version, IPv6, was needed.
Understanding The limited number of IPv4 addresses in IGCSE Computer Science Paper 1
What it does: With 32 bits and 2 possible values for each bit, the total number of different IPv4 addresses is 2 to the power 32. The limited pool of about 4.3 billion addresses is too small for the growing number of internet-connected devices, which is why a new version was needed. IPv4 uses 32 bits. IPv6 uses 128 bits. Each of the 32 bits can be 0 or 1, so there are 2^32 combinations, about 4.3 billion. Each phone, tablet and smart device online needs an address, so demand for addresses has grown. IPv6 was created because IPv4 ran short of addresses. Manufacturer codes belong to MAC addresses.
Common mistakes: An IPv4 address has 32 bits, not 8. With 8 bits, 2 ** bits would only give 256. The line should be bits = 32, which gives about 4.3 billion addresses. The shortfall is how many more devices there are than addresses, so it is devices - total. total - devices gives a negative number and hides the problem.
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 342–354) and word search (Modules 325–354).
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
2^32Fill in the Blanks
Spot the Error
Student with a class code? Join your class →