Question

A router forwards a packet based on the packet's destination IP address. A link-layer switch forwards a packet based on the packet's destination MAC address with the help of a certain configuration protocol.

Fig: 1