Networking - Subnetting

Why should I learn to solve Networking questions and answers section on "Subnetting"?

Learn and practise solving Networking questions and answers section on "Subnetting" to enhance your skills so that you can clear interviews, competitive examinations, and various entrance tests (CAT, GATE, GRE, MAT, bank exams, railway exams, etc.) with full confidence.

Where can I get the Networking questions and answers section on "Subnetting"?

IndiaBIX provides you with numerous Networking questions and answers based on "Subnetting" along with fully solved examples and detailed explanations that will be easy to understand.

Where can I get the Networking section on "Subnetting" MCQ-type interview questions and answers (objective type, multiple choice)?

Here you can find multiple-choice Networking questions and answers based on "Subnetting" for your placement interviews and competitive exams. Objective-type and true-or-false-type questions are given too.

How do I download the Networking questions and answers section on "Subnetting" in PDF format?

You can download the Networking quiz questions and answers section on "Subnetting" as PDF files or eBooks.

How do I solve Networking quiz problems based on "Subnetting"?

You can easily solve Networking quiz problems based on "Subnetting" by practising the given exercises, including shortcuts and tricks.

Exercise : Subnetting - Subnetting
  • Subnetting - Subnetting
1.
Your router has the following IP address on Ethernet0: 172.16.2.1/23. Which of the following can be valid host IDs on the LAN interface attached to the router?
  1. 172.16.1.100
  2. 172.16.1.198
  3. 172.16.2.255
  4. 172.16.3.0
1 only
2 and 3 only
3 and 4 only
None of the above
Answer: Option
Explanation:
The router's IP address on the E0 interface is 172.16.2.1/23, which is 255.255.254.0. This makes the third octet a block size of 2. The router's interface is in the 2.0 subnet, and the broadcast address is 3.255 because the next subnet is 4.0. The valid host range is 2.1 through 3.254. The router is using the first valid host address in the range.

2.
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.
1 and 3
2 and 4
1, 2 and 4
2, 3 and 4
Answer: Option
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.

3.
A network administrator is connecting hosts A and B directly through their Ethernet interfaces, as shown in the illustration. Ping attempts between the hosts are unsuccessful. What can be done to provide connectivity between the hosts?
  1. A crossover cable should be used in place of the straight-through cable.
  2. A rollover cable should be used in place of the straight-through cable.
  3. The subnet masks should be set to 255.255.255.192.
  4. A default gateway needs to be set on each host.
  5. The subnet masks should be set to 255.255.255.0.
1 only
2 only
3 and 4 only
1 and 5 only
2 and 5 only
Answer: Option
Explanation:
First, if you have two hosts directly connected, as shown in the graphic, then you need a crossover cable. A straight-through cable won't work. Second, the hosts have different masks, which puts them in different subnets. The easy solution is just to set both masks to 255.255.255.0 (/24).

4.
What is the maximum number of IP addresses that can be assigned to hosts on a local subnet that uses the 255.255.255.224 subnet mask?
14
15
16
30
Answer: Option
Explanation:
A /27 (255.255.255.224) is 3 bits on and 5 bits off. This provides 8 subnets, each with 30 hosts. Does it matter if this mask is used with a Class A, B, or C network address? Not at all. The number of host bits would never change.

5.
You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which classful subnet mask would you use?
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
Answer: Option
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.