Subnetting Numerical
Subnetting Numerical
Q.1
In a class B, network on the internet has a subnet mask of 255.255.240.0. What is the
maximum number of hosts per subnet?
1. 4096
2. 4094
3. 4092
4. 4090
11110000 00000000
Ans
1. Number of bits reserved for network ID in the given subnet mask = 20.
2. So, Number of bits reserved for Host ID = 32 – 20 = 12 bits.
3. Thus, Number of hosts per subnet = 212 – 2 = 4094.
4. In class B, 16 bits are reserved for the network.
5. So, Number of bits reserved for subnet ID = 20 – 16 = 4 bits.
6. Number of subnets possible = 24 = 16.
7. Thus, Option (B) is correct.
Q.2
Suppose a network with IP Address 192.16.0.0. is divided into 2 subnets, find number of
hosts per subnet.
Also for the first subnet, find-
1. Subnet Address
2. First Host ID
3. Last Host ID
4. Broadcast Address
Ans:
B
255.255.255.224
.
C
255.255.255.240
.
D
255.255.255.248
.
Answer: Option B
Explanation:
You need 5 subnets, each with at least 16 hosts. The mask 255.255.255.240 provides 16
subnets with 14 hosts-this will not work. The mask 255.255.255.224 provides 8 subnets, each
with 30 hosts. This is the best answer.
Q4:
Which two statements describe the IP address 10.16.3.65/23?
1. The subnet address is 10.16.3.0 255.255.254.0.
2. The lowest host address in the subnet is 10.16.2.1 255.255.254.0.
3. The last valid host address in the subnet is 10.16.2.254 255.255.254.0.
4. The broadcast address of the subnet is 10.16.3.255 255.255.254.0.
A
1 and 3
.
B
2 and 4
.
C
1, 2 and 4
.
D
2, 3 and 4
.
Answer: Option B
Explanation:
The mask 255.255.254.0 (/23) used with a Class A address means that there are 15 subnet bits
and 9 host bits. The block size in the third octet is 2 (256 - 254). So this makes the subnets in the
interesting octet 0, 2, 4, 6, etc., all the way to 254. The host 10.16.3.65 is in the 2.0 subnet. The
next subnet is 4.0, so the broadcast address for the 2.0 subnet is 3.255. The valid host
addresses are 2.1 through 3.254.