Networking Concepts

A branch office has two ISP uplinks and a Layer 3 device that must choose the next hop for traffic to 10.50.0.0/16 by matching the longest prefix in its table. Which device performs this function?

Show the answer

Correct answerA. Router

AWhy this is right: Routers match destination IPs against routing table prefixes and choose the next hop between networks.

BWhy not this: A Layer 2 switch forwards by MAC address and does not select next hops by IP prefix.

CWhy not this: A wireless controller manages access points and does not make routing table decisions.

DWhy not this: A load balancer spreads client requests across servers; it does not route between networks.

A router forwards packets between networks by looking up the destination IP address in its routing table and selecting the longest matching prefix. A Layer 2 switch forwards frames by MAC address within one broadcast domain and does not make next-hop routing decisions.