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:
- Access the configuration mode of Router1.
- Enter the command ip default-gateway followed by the IP address of the interface connected to SwitchA.
- Save the configuration and verify connectivity from Wrk1 to hosts connected to Switch B or on the Internet.