Ready To Master The Art of Subnetting
Ready To Master The Art of Subnetting
Ready To Master The Art of Subnetting
SUBNETTING
Explanation: Subnetting is primarily used to divide a large IP network into smaller, more
manageable subnetworks to improve network organization, address allocation, and routing
efficiency.
a. 255.255.255.0
b. 255.255.0.0
c. 255.0.0.0
d. 255.255.255.255
Answer: c. 255.0.0.0
Explanation: In a Class A IP address, the default subnet mask is 255.0.0.0, which provides a
single network with a large number of host addresses.
3. How many bits are reserved for the network portion in a Class B IP address?
a. 8 bits
b. 16 bits
c. 24 bits
d. 32 bits
Answer: b. 16 bits
Explanation: In a Class B IP address, the first 16 bits are reserved for the network portion.
a. 255.255.255.128
b. 255.255.255.224
c. 255.255.255.240
d. 255.255.255.248
Answer: c. 255.255.255.240
5. If you have a Class B network and you borrow 5 bits for subnetting, how many subnets
can you create?
a. 8
b. 16
c. 32
d. 64
Answer: c. 32
Explanation: Borrowing 5 bits for subnetting (2^5) allows you to create 32 subnets within a
Class B network.
6. Which subnet mask is associated with a /27 prefix length in CIDR notation?
a. 255.255.255.192
b. 255.255.255.224
c. 255.255.255.240
d. 255.255.255.248
Answer: d. 255.255.255.248
a. 192.168.0.0
b. 192.168.1.0
c. 192.168.1.50
d. 192.168.2.0
Answer: b. 192.168.1.0
Explanation: The network address is obtained by applying the subnet mask, so in this case,
the network address is 192.168.1.0.
8. How many host addresses are available in a subnet with a /29 prefix length?
a. 2
b. 6
c. 14
d. 30
Answer: c. 14
Explanation: A /29 subnet has 8 total IP addresses. However, 2 are reserved for the network
address and the broadcast address, leaving 6 usable host addresses (2^3 - 2).
a. 255.255.255.240
b. 192.168.1.16
c. 192.168.1.31
d. 192.168.1.32
Answer: c. 192.168.1.31
Explanation: In a /28 subnet, the broadcast address is the last address within the subnet, so
it's 192.168.1.31.
10. If you need to subnet a Class B network into /26 subnets, how many bits are borrowed
for subnetting?
a. 4 bits
b. 6 bits
c. 8 bits
d. 16 bits
Answer: a. 4 bits
Explanation: Subnetting a Class B network into /26 subnets requires borrowing 4 bits,
leaving 4 bits for host addresses in each subnet.
11. In binary form, what is the subnet mask for a /30 prefix length?
a. 11111111.11111111.11111111.11110000
b. 11111111.11111111.11111111.11111100
c. 11111111.11111111.11111111.11111111
d. 11111111.11111111.11111111.11111000
Answer: b. 11111111.11111111.11111111.11111100
Explanation: In binary, a /30 subnet mask has 30 "1" bits for the network portion and 2 "0"
bits for host addresses.
12. How many /28 subnets can be created from a Class C network with a /24 prefix
length?
a. 2
b. 4
c. 8
d. 16
Answer: d. 16
Explanation: You can create 16 /28 subnets within a Class C network (2^4 = 16).
13. In a Class A network, if you need to subnet with a /24 prefix length, how many bits are
borrowed for subnetting?
a. 8 bits
b. 16 bits
c. 24 bits
d. 32 bits
Answer: a. 8 bits
Explanation: To subnet a Class A network with a /24 prefix length, you need to borrow 8 bits
for subnetting, leaving 24 bits for host addresses.
a. 192.168.1.0
b. 192.168.1.5
c. 192.168.1.8
d. 192.168.1.15
Answer: b. 192.168.1.5
Explanation: In a /29 subnet, valid host addresses range from 192.168.1.1 to 192.168.1.6,
excluding the network address (192.168.1.0) and the broadcast address (192.168.1.7).
15. What is the subnet mask for a /25 prefix length in binary form?
a. 11111111.11111111.11111111.10000000
b. 11111111.11111111.11111111.11000000
c. 11111111.11111111.11111111.11100000
d. 11111111.11111111.11111111.11111100
Answer: c. 11111111.11111111.11111111.11100000
Explanation: In binary, a /25 subnet mask has 25 "1" bits for the network portion and 7 "0"
bits for host addresses.
16. How many bits are typically borrowed for subnetting in a Class B network?
a. 8 bits
b. 16 bits
c. 24 bits
d. 32 bits
Answer: b. 16 bits
17. In a Class C network with a /26 prefix length, how many host bits are available for each
subnet?
a. 4 bits
b. 6 bits
c. 8 bits
d. 32 bits
Answer: b. 6 bits
Explanation: In a /26 subnet, 6 bits are available for host addresses (2^6 = 64 hosts).
18. What is the maximum number of subnets you can create with a /23 prefix length in
binary form?
a. 4
b. 32
c. 64
d. 128
Answer: c. 64
a. 4
b. 6
c. 14
d. 16
Answer: c. 14
20. What is the valid range of host addresses in a /27 subnet with a network address of
192.168.1.0?
a. 192.168.1.1 to 192.168.1.30
b. 192.168.1.1 to 192.168.1.31
c. 192.168.1.2 to 192.168.1.31
d. 192.168.1.2 to 192.168.1.30
Explanation: In a /27 subnet, the valid host addresses range from 192.168.1.1 to
192.168.1.30, excluding the network address (192.168.1.0) and the broadcast address
(192.168.1.31).
21. What is the broadcast address in a /29 subnet with a network address of 10.0.0.32?
a. 10.0.0.32
b. 10.0.0.39
c. 10.0.0.31
d. 10.0.0.40
Answer: b. 10.0.0.39
Explanation: In a /29 subnet with a network address of 10.0.0.32, the broadcast address is
10.0.0.39.
a. 7 bits
b. 8 bits
c. 15 bits
d. 16 bits
Answer: a. 7 bits
Explanation: In a /25 subnet, there are 7 bits available for host addresses.
a. 255.255.255.128
b. 255.255.255.192
c. 255.255.255.224
d. 255.255.255.240
Answer: d. 255.255.255.240
24. What is the maximum number of host addresses available in a /30 subnet?
a. 2
b. 4
c. 6
d. 8
Answer: a. 2
Explanation: In a /30 subnet, there are only 2 usable host addresses because the other two
addresses are reserved for the network and broadcast addresses.
25. Which subnet mask is associated with a /22 prefix length in CIDR notation?
a. 255.255.252.0
b. 255.255.254.0
c. 255.255.255.0
d. 255.255.255.252
Answer: b. 255.255.252.0
26. What is the broadcast address in a /28 subnet with a network address of 172.16.1.0?
a. 172.16.1.14
b. 172.16.1.15
c. 172.16.1.16
d. 172.16.1.31
Answer: b. 172.16.1.15
Explanation: In a /28 subnet with a network address of 172.16.1.0, the broadcast address is
172.16.1.15.
27. In binary form, what is the subnet mask for a /27 prefix length?
a. 11111111.11111111.11111111.11110000
b. 11111111.11111111.11111111.11111100
c. 11111111.11111111.11111111.11111110
d. 11111111.11111111.11111111.11111000
Answer: b. 11111111.11111111.11111111.11111100
Explanation: In binary, a /27 subnet mask has 27 "1" bits for the network portion and 5 "0"
bits for host addresses.
28. If you have a Class A network and you need 16 subnets, how many bits should you
borrow for subnetting?
a. 2 bits
b. 3 bits
c. 4 bits
d. 8 bits
Answer: b. 3 bits
Explanation: To create 16 subnets, you need to borrow 4 bits (2^4 = 16) from the Class A
network.
29. What is the valid range of host addresses in a /26 subnet with a network address of
192.168.2.0?
a. 192.168.2.1 to 192.168.2.62
b. 192.168.2.1 to 192.168.2.63
c. 192.168.2.2 to 192.168.2.63
d. 192.168.2.2 to 192.168.2.62
Explanation: In a /26 subnet with a network address of 192.168.2.0, the valid host addresses
range from 192.168.2.1 to 192.168.2.62.
30. What is the maximum number of subnets you can create with a /20 prefix length in
binary form?
a. 8
b. 16
c. 32
d. 64
Answer: d. 64
31. In a /28 subnet, how many bits are reserved for host addresses?
a. 2 bits
b. 4 bits
c. 6 bits
d. 8 bits
Answer: a. 2 bits
Explanation: In a /28 subnet, 2 bits are available for host addresses, allowing for 4 usable
host addresses (2^2 - 2).
32. Which subnet mask would allow for 4 subnets in a Class B network?
a. 255.255.252.0
b. 255.255.254.0
c. 255.255.255.0
d. 255.255.255.252
Answer: a. 255.255.252.0
33. What is the broadcast address in a /30 subnet with a network address of 10.0.0.20?
a. 10.0.0.20
b. 10.0.0.21
c. 10.0.0.22
d. 10.0.0.23
Answer: d. 10.0.0.23
Explanation: In a /30 subnet with a network address of 10.0.0.20, the broadcast address is
10.0.0.23.
34. How many bits are reserved for the network portion in a Class C IP address?
a. 8 bits
b. 16 bits
c. 24 bits
d. 32 bits
Answer: c. 24 bits
Explanation: In a Class C IP address, the first 24 bits are reserved for the network portion.
35. What is the subnet mask for a /21 prefix length in CIDR notation?
a. 255.255.254.0
b. 255.255.255.0
c. 255.255.248.0
d. 255.255.255.248
Answer: c. 255.255.248.0
a. 6
b. 8
c. 14
d. 16
Answer: c. 14
37. If you have a Class B network and you need 32 subnets, how many bits should you
borrow for subnetting?
a. 4 bits
b. 5 bits
c. 6 bits
d. 7 bits
Answer: b. 5 bits
Explanation: To create 32 subnets, you need to borrow 5 bits (2^5 = 32) from the Class B
network.
38. What is the maximum number of subnets you can create with a /19 prefix length in
binary form?
a. 8
b. 16
c. 32
d. 64
Answer: c. 32
39. What is the broadcast address in a /27 subnet with a network address of
192.168.0.96?
a. 192.168.0.96
b. 192.168.0.97
c. 192.168.0.126
d. 192.168.0.127
Answer: d. 192.168.0.127
Explanation: In a /27 subnet with a network address of 192.168.0.96, the broadcast address
is 192.168.0.127.
40. How many bits are reserved for the network portion in a Class A IP address?
a. 8 bits
b. 16 bits
c. 24 bits
d. 32 bits
Answer: a. 8 bits
Explanation: In a Class A IP address, the first 8 bits are reserved for the network portion.
41. What is the subnet mask for a /24 prefix length in CIDR notation?
a. 255.255.0.0
b. 255.0.0.0
c. 255.255.255.0
d. 255.255.255.255
Answer: c. 255.255.255.0
42. If you have a Class C network and you need 4 subnets, how many bits should you
borrow for subnetting?
a. 1 bit
b. 2 bits
c. 3 bits
d. 4 bits
Answer: c. 3 bits
Explanation: To create 4 subnets, you need to borrow 2 bits (2^2 = 4) from the Class C
network.
43. In a Class A network, if you need to subnet with a /16 prefix length, how many bits are
borrowed for subnetting?
a. 8 bits
b. 16 bits
c. 24 bits
d. 32 bits
Answer: c. 24 bits
Explanation: To subnet a Class A network with a /16 prefix length, you need to borrow 24
bits for subnetting, leaving 8 bits for host addresses.
a. 16
b. 30
c. 32
d. 64
Answer: b. 30