Networking Concepts
A server hosts a web service and an SSH service on a single IP address. What lets the receiving host deliver each incoming segment to the correct service?
Show the answer
Correct answerD. Destination port number
AWhy not this: Session identifiers track dialogs at Layer 5 and do not direct segments to a service.
BWhy not this: The IP address identifies the host at Layer 3, and both services share it.
CWhy not this: MAC addresses identify a NIC on the local link at Layer 2, not a service on the host.
DWhy this is right: Transport-layer ports identify the receiving service, so segments reach the web or SSH process.
The Transport layer uses port numbers to multiplex traffic to different services on one host. The IP address only identifies the host, so it cannot separate the web and SSH services that share it.