I am given a list of IPs, some of them have a netmask, other no. I got the idea of how to create a mask but i'm not understanding why there are cases where an IP doesn't have a mask.

Like the following:

  •– > Don't have mask
  •– > Don't have mask
  •– > Don't have mask

While the following actually have mask address:

  • > Prefix notation: | Address/Mask: and so on.

For example if I look at the third one of the addresses without mask i do the following:–

93.20. 0000 101|0 . 0000 0000
93.20. 0000 101|1 . 0000 0000

NetMask:, that is not correct.

Can somebody explain me why and how to understand when a mask exists?

1 Answer 1


The reason for a mask is to divide an address into two parts: the network part and the host part. You can have a list of addresses which do not fit into one network, but they will fit into a larger network. Your example:– will not fit into the network, but will fit into the network. The catch is that there are more addresses in the network than are in your list. That means that your list is a subset of the addresses in the network.

IP addresses and masks are just binary numbers. We use them in the dotted-decimal notation to make it easier to read, but if you really want to understand them, you need to look at them in binary. The devices on the network, hosts, routers, etc., only see and use the binary number.

You should study this answer to understand how IP addresses and masks work.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.