Exam JN0-106 Topic 5 Question 1 Discussion

Actual exam question for Juniper's JN0-106 exam
Question #: 1
Topic #: 5
How many usable hosts are in a /24 subnet mask?

Suggested Answer: B Vote an answer

In the IPv4 addressing architecture, a /24 prefix length (standard Class C subnet mask of 255.255.255.0) signifies that the first 24 bits of the 32-bit address are reserved for the network portion, leaving 8 bits for the host portion. To calculate the total number of available IP addresses within this range, the formula $2^n$ is applied, where $n$ represents the number of host bits. For a /24 mask, $2^8$ results in 256 total addresses.
However, standard networking conventions-which Junos OS adheres to for interface configuration and routing-require the reservation of two specific addresses within any given subnet. The first address in the range is the network address (where all host bits are 0), used to identify the subnet itself in the routing table.
The last address in the range is the directed broadcast address (where all host bits are 1), utilized to communicate with all hosts on that segment simultaneously. Therefore, the number of " usable " hosts that can be assigned to device interfaces, such as ge-0/0/0.0 or a workstation, is calculated as $2^n - 2$. In this instance, $256 - 2 = 254$. Understanding this calculation is fundamental for an architect when performing IP address management (IPAM) and ensuring that the Packet Forwarding Engine is configured with valid, assignable host addresses within a defined broadcast domain.
Reference: Networking Fundamentals, IPv4 Subnetting and CIDR.

by Lester at Sep 30, 2026, 01:26 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10