WORKED CASE · SYNTHETIC TEST DATA
Check the two endpoints of a /24 subnet
An address inside a subnet is not necessarily its network address. Confirm the range before documenting a network plan.
Input and settings
192.168.1.42/24Run and interpret
Enter the sample. Network is .0, broadcast is .255 and the ordinary usable-host count is 254.
Expected output
192.168.1.0
192.168.1.255
255.255.255.0
254Scope and possible misuse
The /31 calculation uses point-to-point conventions and /32 represents one address. Neither has a broadcast value here. Arithmetic does not test reachability or availability.