Machine-translated by Google. Questions are authored in English.
Top

Subnetting Questions and Answers

1.

The network address of 172.16.0.0/19 provides how many subnets and hosts?

Answer: B

Correct answer: 8 subnets, 8,190 hosts each

172.16.0.0 is a class B network with a natural /16, so a /19 borrows three bits and leaves thirteen: \[ 2^{3} = 8\ \mathrm{subnets}, \qquad 2^{13}-2 = 8190\ \mathrm{hosts}. \] All eight subnets are usable on any modern IOS, and the answers offering seven subnets come from the obsolete rule that excluded the all-zeros subnet.

Please log in or register to report this question.

2.

To test the IP stack on your local host, which IP address would you ping?

Answer: C

Correct answer: 127.0.0.1

127.0.0.1 is the loopback address, and pinging it exercises the local TCP/IP stack without touching any network hardware - a reply proves the software is installed and running. 127.0.0.0 is the network address of the loopback block and 127.0.0.255 a broadcast within it; neither is the host address to test.

Please log in or register to report this question.

3.

If an Ethernet port on a router were assigned an IP address of 172.16.112.1/25, what would be the valid subnet address of this host?

Answer: A

A /25 mask is 255.255.255.128. Used with a Class B network, the third and fourth octets are used for subnetting with a total of 9 subnet bits, 8 bits in the third octet and 1 bit in the fourth octet. Since there is only 1 bit in the fourth octet, the bit is either off or on-which is a value of 0 or 128. The host in the question is in the 0 subnet, which has a broadcast address of 127 since 128 is the next subnet.

Please log in or register to report this question.

4.

You need to configure a server that is on the subnet 192.168.19.24/29. The router has the first available host address. Which of the following should you assign to the server?

Answer: C

A /29 is 255.255.255.248, which is a block size of 8 in the fourth octet. The subnets are 0, 8, 16, 24, 32, 40, etc. 192.168.19.24 is the 24 subnet, and since 32 is the next subnet, the broadcast address for the 24 subnet is 31. 192.168.19.26 is the only correct answer.

Please log in or register to report this question.

5.

What is the subnetwork number of a host with an IP address of 172.16.66.0/21?

Answer: C

A /21 is 255.255.248.0, which means we have a block size of 8 in the third octet, so we just count by 8 until we reach 66. The subnet in this question is 64.0. The next subnet is 72.0, so the broadcast address of the 64 subnet is 71.255.

Please log in or register to report this question.

6.

Using the following illustration, what would be the IP address of E0 if you were using the eighth subnet? The network ID is 192.168.10.0/28 and you need to use the last available IP address in the range. The zero subnet should not be considered valid for this question.

Answer: A

A /28 is a 255.255.255.240 mask. Let's count to the ninth subnet (we need to find the broadcast address of the eighth subnet, so we need to count to the ninth subnet). Starting at 16 (remember, the question stated that we will not use subnet zero, so we start at 16, not 0), 16, 32, 48, 64, 80, 96, 112, 128, 144. The eighth subnet is 128 and the next subnet is 144, so our broadcast address of the 128 subnet is 143. This makes the host range 129-142. 142 is the last valid host.

Please log in or register to report this question.

7.

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.

Answer: D

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).

Please log in or register to report this question.

8.

Using the illustration from the previous question, what would be the IP address of S0 if you were using the first subnet? The network ID is 192.168.10.0/28 and you need to use the last available IP address in the range. Again, the zero subnet should not be considered valid for this question.

Answer: C

A /28 is a 255.255.255.240 mask. The first subnet is 16 (remember that the question stated not to use subnet zero) and the next subnet is 32, so our broadcast address is 31. This makes our host range 17-30. 30 is the last valid host.

Please log in or register to report this question.

9.

You have an interface on a router with the IP address of 192.168.192.10/29. Including the router interface, how many hosts can have IP addresses on the LAN attached to the router interface?

Answer: A

Correct answer: 6

A /29 leaves three host bits, so \[ 2^{3} - 2 = 8 - 2 = 6 \] usable addresses - the block of eight less the subnet address and the broadcast. The router interface is one of the six, so five hosts may join it. The 8 offered is the block size before those two are removed.

Please log in or register to report this question.

10.

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.

Answer: B

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.

Please log in or register to report this question.

Loading…
Tags: Subnetting Questions and Answers || Subnetting MCQ Questions and Answers || Subnetting GK Questions and Answers || Subnetting GK MCQ Questions || Subnetting Multiple Choice Questions and Answers || Subnetting GK || GK on Subnetting || Computer Networking Questions and Answers || Computer Networking MCQ Questions and Answers || Computer Networking GK Questions and Answers || GK on Computer Networking