• Post author:
  • Post category:Blog
  • Reading time:1 mins read
  • Post last modified:June 12, 2024

What is the network ID and subnet mask of 172.16.10.22/30?

  • 172.16.10.20 and 255.255.255.252
  • 172.16.10.20 and 255.255.255.128
  • 172.16.8.0 and 255.255.255.252
  • 172.16.10.20 and 255.255.255.252
Explanation & Hint:

To find the network ID and subnet mask for the IP address 172.16.10.22/30, we need to understand what a /30 subnet means.

A /30 subnet means that there are 30 bits in the network portion of the IP address, leaving 2 bits for host addresses. This results in a subnet mask of 255.255.255.252.

Now, let’s calculate the network ID:

  1. Convert the IP address and subnet mask to binary.
    • IP address: 172.16.10.22 -> 10101100.00010000.00001010.00010110
    • Subnet mask: 255.255.255.252 -> 11111111.11111111.11111111.11111100
  2. Perform a bitwise AND operation between the IP address and the subnet mask to find the network ID.
    • IP address: 10101100.00010000.00001010.00010110
    • Subnet mask: 11111111.11111111.11111111.11111100
    • Network ID: 10101100.00010000.00001010.00010100 (172.16.10.20)

So, the correct answer is:

  • Network ID: 172.16.10.20
  • Subnet mask: 255.255.255.252

Therefore, the correct option is: 172.16.10.20 and 255.255.255.252

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments