A server receives an incoming network transmission where an HTTP request payload is encapsulated within a TCP segment, an IPv4 packet, and an Ethernet frame. As the destination host's operating system stack performs de-encapsulation at the Transport layer (Layer 4), which header field is inspected to deliver the inner payload to the correct server process?
- Destination Port NumberAnswer
- BProtocol field
- CEtherType field
- DSource Port Number
Answer
The destination port number in the Transport layer header is inspected by the receiving network stack to direct the payload to the appropriate listening application service.
During the de-encapsulation process, each layer of the OSI model inspects its corresponding header to determine how to route the inner Protocol Data Unit (PDU) upward. At the Transport layer (Layer 4), TCP or UDP headers contain a Destination Port field. The host OS reads this destination port to direct the segment's data payload to the exact application service bound to that port.
Step-by-Step Solution
Key Concept
De-encapsulation and Layer 4 Port Multiplexing