JN0-106 ยท Networking fundamentals
IPv4 addressing and subnetting
IPv4 address structure, classes and private ranges, subnet masks and prefix lengths, subnetting and supernetting, and decimal-to-binary conversion with worked calculations.
Key points
- An IPv4 address is 32 bits in four octets.
- The prefix length (for example /24) says how many leading bits are the network part; /24 equals 255.255.255.0.
- Block size = 2^(host bits); usable hosts = block size - 2 (network and broadcast addresses).
- Private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
- Supernetting summarises contiguous networks with a shorter prefix.
- Binary: each octet bit weighs 128, 64, 32, 16, 8, 4, 2, 1.
Practice questions
Which of these addresses is in a private (RFC 1918) range?
- 172.32.1.1
- 192.169.0.1
- 172.20.4.9
- 11.0.0.1
Show answer
Answer: C. 172.20.4.9
172.16.0.0/12 covers 172.16.0.0 to 172.31.255.255, so 172.20.4.9 is private. 172.32.1.1 is just outside, and 192.169.x.x and 11.x.x.x are public.
Which addresses are usable host addresses in 10.1.1.0/25?
- 10.1.1.1
- 10.1.1.126
- 10.1.1.127
- 10.1.1.128
- 10.1.1.0
Show answer
Answer: A. 10.1.1.1, B. 10.1.1.126
The /25 spans 10.1.1.0 to 10.1.1.127. .0 is the network address and .127 the broadcast, so .1 and .126 are usable. .128 belongs to the next subnet.
True or false: a /30 subnet provides four usable host addresses.
Show answer
Answer: False
False. A /30 has 4 addresses in total, but the network and broadcast addresses are reserved, leaving 2 usable.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
