PCCET · Question #107
In a TCP packet sent over Ethernet, what is the order of data?
The correct answer is C. Ethernet header, IP header, TCP header, and then TCP data. When a TCP packet is sent over Ethernet, it is encapsulated sequentially with an Ethernet header for the data link layer, an IP header for the network layer, followed by the TCP header and its data.
Question
In a TCP packet sent over Ethernet, what is the order of data?
Options
- AEthernet header, TCP header, and then TCP data
- BIP header, TCP header, and then TCP data
- CEthernet header, IP header, TCP header, and then TCP data
- DEthernet header, IP header, IP data, TCP header, and then TCP data
How the community answered
(26 responses)- B8% (2)
- C88% (23)
- D4% (1)
Why each option
When a TCP packet is sent over Ethernet, it is encapsulated sequentially with an Ethernet header for the data link layer, an IP header for the network layer, followed by the TCP header and its data.
This order omits the crucial IP header, which is necessary for routing the packet across networks.
This order omits the Ethernet header, which is required for transmission over the local Ethernet physical medium.
Data encapsulation in the TCP/IP model proceeds from higher to lower layers. A TCP segment (TCP header + TCP data) is encapsulated within an IP packet (IP header + TCP segment), and then the IP packet is encapsulated within an Ethernet frame (Ethernet header + IP packet) for transmission over an Ethernet network.
This option incorrectly separates "IP data" from the "TCP header and then TCP data"; in reality, the entire TCP segment (header + data) is the data payload for the IP layer.
Concept tested: TCP/IP encapsulation order (OSI model layers)
Source: https://learn.microsoft.com/en-us/windows/win32/winsock/tcp-ip-protocol-layering-1
Topics
Community Discussion
No community discussion yet for this question.