Identifying network elements using binary

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:

  1. Convert the IP address into binary.
  2. Convert the subnet mask into binary.
  3. 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:

Figure 11.10: Converting the ...

Get Networking Fundamentals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.