By LearnAllStudents Editorial Team. Source check dates are listed below.
Read the address and mask together
The /24 prefix means the first 24 bits identify the network. In dotted decimal, that mask is 255.255.255.0. In this simple example, the first three address octets identify 192.168.10.0/24. A device needs both its address and mask; an address alone does not tell you the prefix length.
A /26 worked example
A /26 mask leaves 6 host bits. There are 2⁶ = 64 addresses in each block. In 192.168.10.64/26, the block runs from .64 through .127. Under the conventional IPv4 subnet rules used in this example, .64 is the network address and .127 is the broadcast address, leaving .65 through .126 as 62 host addresses. Special cases such as /31 links and /32 host routes require separate treatment.
Try it yourself
- With a /24 mask, are 192.168.4.8 and 192.168.4.200 in the same subnet?
- Is 192.168.5.8 in that subnet?
- For 192.168.4.128/26, identify the network, broadcast and conventional host range.
Answers: yes; no; network .128, broadcast .191, hosts .129–.190. The 64-address block ends one address before the next block begins at .192.
What a subnet does not tell you
Sharing a subnet does not prove that two machines can communicate: firewall rules, configuration and physical connectivity still matter. A subnet mask is also different from a default gateway, which identifies the router used to reach other networks. RJ45-style Ethernet connectors concern a physical connection; they are not subnet masks or IP addresses.
How a tutor would approach this
Bring the full address and prefix length. Ask to explain the network calculation in binary before relying on a block-size shortcut.
Frequently asked questions
What does /24 mean?
It identifies a 24-bit network prefix; its IPv4 mask is 255.255.255.0.
Is a subnet mask a gateway address?
No. The mask identifies network and host bits; the gateway identifies a next-hop router for other networks.
Does every /26 have 64 usable host addresses?
It has 64 total addresses. Under conventional IPv4 subnet rules, reserving network and broadcast addresses leaves 62 host addresses.
Does this guide configure my router?
No. These are learning examples, not instructions to change a live network.
Keep exploring your course
Continue in the Computer Science library
Choose another explanation and check your reasoning with its practice answers.
Official sources
- Microsoft Learn: TCP/IP addressing and subnetting (checked 2026-11-23)
Related pages
Try a free 30-minute demo
Work through a question with a tutor. No payment needed.
Request a free 30-minute demo