Now that you know the binary representations of default subnet masks, we will look at how we can use binary to identify the network element of an IP address. We are going to follow a three-step process:
- Convert the IP address into binary.
- Convert the subnet mask into binary.
- Perform an AND calculation on the two sets of binary values.
For this example, I am going to use a Class A IP address (23 . 78 . 23 . 98) with a default subnet mask:
Step 1: Convert the IP address into binary
For this step, we can use the same table we used to convert the subnet mask into binary: