Vidyalelo
Networking · Q20

Subnetting

Programming · Networking · question 20

Q20

What is the subnetwork address for a host with the IP address 200.10.5.68/28?

A.
200.10.5.56
B.
200.10.5.32
C.
200.10.5.64
Answer
D.
200.10.5.0

Answer: Option C

Solution

Answer: Option C
Solution:
Explanation:

Step 1:
The given IP address is 200.10.5.68 with a subnet mask of /28.

Step 2:
Convert the subnet mask from its decimal representation to binary.
The subnet mask /28 corresponds to 255.255.255.240 in decimal, which is 11111111.11111111.11111111.11110000 in binary.

Step 3:
Perform a bitwise "AND" operation between the IP address and the subnet mask.

IP address: 200.10.5.68 -> 11001000.00001010.00000101.01000100
Subnet mask: 255.255.255.240 -> 11111111.11111111.11111111.11110000
Subnet (AND): 200.10.5.64 -> 11001000.00001010.00000101.01000000

Step 4:
The result of the "AND" operation is the subnetwork address.
Therefore, the subnetwork address for the host with the IP address 200.10.5.68/28 is:

C. 200.10.5.64

This output corresponds to the subnetwork address obtained by applying the subnet mask to the given IP address.