How many IP addresses does a network with a netmask of /24 have?

Connor Brereton
2 min readApr 6, 2020

We’re going to figure out how to solve this very common interview question.

The first question I get when I ask people this question is:

What’s a netmask?

A netmask is a 32-bit binary mask used to divide an IP address into subnets and specify the number of hosts available on the network. Essentially they…