CCNA Exam: Troubleshooting Network Connectivity

Connecting Workstation A and Workstation B: IP Address Configuration and Ping Issues

Prev Question Next Question

Question

Workstation A has been assigned an IP address of 192.0.2.24/28. Workstation B has been assigned an IP address of 192.0.2.100/28. The two workstations are connected with a straight-through cable. Attempts to ping between the hosts are unsuccessful. What two things can be done to allow communications between the hosts? (Choose two)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

AB

To specify when we use crossover cable or straight-through cable, we should remember:

Group 1: Router, Host, Server -

Group 2: Hub, Switch -

One device in group 1 + One device in group 2: use straight-through cable

Two devices in the same group: use crossover cable

-> To connect two hosts we must use crossover cable -> A is correct.

With the subnet mask of /28, 192.0.2.24 & 192.0.2.100 will be in different subnets (192.0.2.24 belongs to subnet 192.0.2.16/28; 192.0.2.100 belongs to subnet

192.0.2.96). To make them in the same subnet we need more space for host. Because 100 < 128 so we the suitable subnet should be /25.

To enable communication between Workstation A and Workstation B, we need to check the network and host portion of the IP addresses assigned to each workstation.

Both workstations have been assigned IP addresses from the same network 192.0.2.16/28, which means that the network address is 192.0.2.16 and the subnet mask is 255.255.255.240.

With this subnet mask, the usable IP addresses in this network range from 192.0.2.17 to 192.0.2.30.

Workstation A has been assigned the IP address 192.0.2.24/28, which means that its network address is 192.0.2.16 and its host address is 8.

Workstation B has been assigned the IP address 192.0.2.100/28, which means that its network address is also 192.0.2.16 and its host address is 100.

Since both workstations are in the same network, they should be able to communicate with each other. However, since they are connected using a straight-through cable, we need to verify the cable.

If we have verified the cable and it is in good condition, then we can try the following solutions:

A. Replace the straight-through cable with a crossover cable.

A crossover cable is used to connect two devices of the same type, such as two workstations, without using a hub or a switch. This would allow the two workstations to communicate with each other.

B. Change the subnet mask of the hosts to /25.

If we change the subnet mask of both workstations to /25, the network range will be expanded, and the new network address will be 192.0.2.0/25. The usable IP addresses will range from 192.0.2.1 to 192.0.2.126. Both workstations will be in the same network, and they will be able to communicate with each other.

Therefore, the correct answers are A and B.