Header Vs Trailer
Header is the extra bit of information at the start of the block to store the state of the protocol.
- Header is in OSI Layers 6,5,4,3,2 (Everything except for Application & Physical)
Trailer is the information occupied at the end of the block, they contain error-checking data.
- Trailer is in OSI Layers 2 Data Link only
At minimum, most packet include a TCP header and an IP header
[!note]
When data packets move from Lower to Upper layer, headers get removed
When data pack packets move from Upper to Lower, headers get added