189k views
1 vote
You have a small network as shown in the Exhibit. You configure DHCP on Router1 to provide IP addresses to all hosts connected to SwitchA. Following the configuration, you verify that Wrk1 has received an IP address from the DHCP service. Wrk1 can ping every host on the subnet, but cannot communicate with any hosts connected to Switch B or on the Internet. What should you do?

1 Answer

2 votes

Final answer:

To allow Wrk1 to communicate with hosts on Switch B or on the Internet, configure a default gateway on Router1.

Step-by-step explanation:

To allow Wrk1 to communicate with hosts connected to Switch B or on the Internet, you need to configure a default gateway on Router1. A default gateway is the IP address of the router that provides connectivity to other networks. Without a default gateway, Wrk1 can only communicate with hosts on the same network segment, but not with hosts on different networks. By setting the default gateway to the IP address of Router1's interface connected to SwitchA, Wrk1 will be able to reach hosts on other networks and the Internet.

Here are the steps to configure the default gateway on Router1:

  1. Access the configuration mode of Router1.
  2. Enter the command ip default-gateway followed by the IP address of the interface connected to SwitchA.
  3. Save the configuration and verify connectivity from Wrk1 to hosts connected to Switch B or on the Internet.

User Boris Ivanov
by
8.0k points