Online Practice MCQ Test on Subnetting and Master IP Addressing

Test and improve your subnetting skills with this MCQ test. Master IP addressing, subnet masks and CIDR notation to enhance your networking knowledge and excel in IP addressing challenges.

Questions (30)


  1. What is the default subnet mask for a Class A IP address?

    • a) 255.255.255.0
    • b) 255.0.0.0
    • c) 255.255.0.0
    • d) 255.255.255.255
    View Answer
    Correct 255.0.0.0
  2. How many subnets can be created by borrowing 3 bits from the host portion of a Class C network?

    • a) 8
    • b) 4
    • c) 16
    • d) 32
    View Answer
    Correct 8
  3. What is the subnet mask for a network with a /26 prefix?

    • a) 255.255.255.240
    • b) 255.255.255.192
    • c) 255.255.255.128
    • d) 255.255.255.224
    View Answer
    Correct 255.255.255.192
  4. How many host addresses are available in a subnet with a subnet mask of 255.255.255.0 (Class C)?

    • a) 254
    • b) 256
    • c) 512
    • d) 1024
    View Answer
    Correct 254
  5. What is the network address for the IP 192.168.10.12/28?

    • a) 192.168.10.0
    • b) 192.168.10.8
    • c) 192.168.10.16
    • d) 192.168.10.12
    View Answer
    Correct 192.168.10.8
  6. What is the broadcast address for the subnet 10.10.10.0/24?

    • a) 10.10.10.255
    • b) 10.10.10.0
    • c) 10.10.11.255
    • d) 10.10.10.128
    View Answer
    Correct 10.10.10.255
  7. How many IP addresses are available in a subnet with a subnet mask of 255.255.255.240?

    • a) 16
    • b) 30
    • c) 32
    • d) 64
    View Answer
    Correct 30
  8. Which of the following IP addresses falls within the subnet 192.168.1.0/29?

    • a) 192.168.1.7
    • b) 192.168.1.4
    • c) 192.168.1.8
    • d) 192.168.1.15
    View Answer
    Correct 192.168.1.4
  9. What is the valid host range for the subnet 192.168.10.16/29?

    • a) 192.168.10.17 - 192.168.10.30
    • b) 192.168.10.17 - 192.168.10.22
    • c) 192.168.10.16 - 192.168.10.31
    • d) 192.168.10.18 - 192.168.10.30
    View Answer
    Correct 192.168.10.17 - 192.168.10.22
  10. Which subnet mask would be used for a /30 prefix?

    • a) 255.255.255.252
    • b) 255.255.255.255
    • c) 255.255.255.240
    • d) 255.255.255.224
    View Answer
    Correct 255.255.255.252
  11. What is the number of subnets that can be created from a Class B network with a subnet mask of /22?

    • a) 4
    • b) 1024
    • c) 16
    • d) 64
    View Answer
    Correct 4
  12. How do you calculate the number of usable hosts in a subnet?

    • a) Subtract 2 from the total number of IP addresses in the subnet
    • b) Multiply the total number of IP addresses in the subnet
    • c) Add 2 to the total number of IP addresses
    • d) Use the default IP range
    View Answer
    Correct Subtract 2 from the total number of IP addresses in the subnet
  13. How many subnets can be created by borrowing 4 bits from the host portion of a Class C IP address?

    • a) 16
    • b) 4
    • c) 8
    • d) 32
    View Answer
    Correct 16
  14. What is the subnet mask for a Class B network with a /17 prefix?

    • a) 255.255.255.255
    • b) 255.255.128.0
    • c) 255.255.255.0
    • d) 255.255.192.0
    View Answer
    Correct 255.255.128.0
  15. What is the broadcast address for a subnet with the network address 172.16.0.0/19?

    • a) 172.16.0.255
    • b) 172.16.31.255
    • c) 172.16.31.0
    • d) 172.16.0.31
    View Answer
    Correct 172.16.31.255
  16. How many bits are used for the network portion in a /22 subnet mask?

    • a) 22
    • b) 16
    • c) 24
    • d) 8
    View Answer
    Correct 22
  17. What is the first usable IP address in the subnet 192.168.1.0/29?

    • a) 192.168.1.1
    • b) 192.168.1.2
    • c) 192.168.1.3
    • d) 192.168.1.5
    View Answer
    Correct 192.168.1.2
  18. Which subnet mask will create 64 subnets from a Class C network?

    • a) 255.255.255.128
    • b) 255.255.255.192
    • c) 255.255.255.240
    • d) 255.255.255.248
    View Answer
    Correct 255.255.255.128
  19. What is the largest number of hosts a subnet with a /30 mask can accommodate?

    • a) 2
    • b) 4
    • c) 8
    • d) 16
    View Answer
    Correct 2
  20. Which of the following subnets is created by borrowing 2 bits from the host portion of a Class C network?

    • a) /30
    • b) /28
    • c) /27
    • d) /26
    View Answer
    Correct /26
  21. How many bits does a Class C IP address have for host addresses?

    • a) 8
    • b) 16
    • c) 24
    • d) 32
    View Answer
    Correct 8
  22. What is the network address of the IP 192.168.2.85 with the subnet mask 255.255.255.128?

    • a) 192.168.2.0
    • b) 192.168.2.64
    • c) 192.168.2.128
    • d) 192.168.2.192
    View Answer
    Correct 192.168.2.64
  23. What is the broadcast address for the subnet 192.168.1.0/25?

    • a) 192.168.1.128
    • b) 192.168.1.255
    • c) 192.168.1.0
    • d) 192.168.1.64
    View Answer
    Correct 192.168.1.128
  24. How many bits are in the host portion of an IP address with a /23 prefix?

    • a) 9
    • b) 16
    • c) 8
    • d) 24
    View Answer
    Correct 9
  25. What is the maximum number of subnets available with a /27 subnet mask in a Class C network?

    • a) 8
    • b) 4
    • c) 16
    • d) 32
    View Answer
    Correct 16
  26. What does CIDR stand for?

    • a) Classful Inter-Domain Routing
    • b) Classless Inter-Domain Routing
    • c) Centralized Internet Domain Routing
    • d) Classless Internet Domain Routing
    View Answer
    Correct Classless Inter-Domain Routing
  27. What is the range of IP addresses in the subnet 192.168.5.0/26?

    • a) 192.168.5.0 - 192.168.5.63
    • b) 192.168.5.1 - 192.168.5.64
    • c) 192.168.5.0 - 192.168.5.127
    • d) 192.168.5.1 - 192.168.5.128
    View Answer
    Correct 192.168.5.0 - 192.168.5.63
  28. What is the subnet mask for a network with 512 subnets?

    • a) 255.255.255.128
    • b) 255.255.255.192
    • c) 255.255.255.240
    • d) 255.255.255.248
    View Answer
    Correct 255.255.255.192
  29. How many IP addresses are reserved for the network and broadcast addresses in any subnet?

    • a) 1
    • b) 2
    • c) 3
    • d) 4
    View Answer
    Correct 2
  30. What is the maximum number of hosts that can be accommodated by a subnet with a /22 prefix?

    • a) 1024
    • b) 510
    • c) 512
    • d) 254
    View Answer
    Correct 1024

Ready to put your knowledge to the test?

Start Exam