Ethernet

Ethernet is used for data transfer from NIC to NIC. It is typically used for connecting devices in a LAN.

Ethernet frame

Property Description
Preamble Indicates the start of a new dataframe. Is 7 bytes long
Start frame delimiter 1 byte delimiter to denote the end of the preamble
Destination MAC address 6 bytes
Source MAC address 6 bytes
Length / Type 2 bytes. Can either represent the number of bytes in the data or the type of the data itself (like IPv4 / IPv6)
Data Can be 46 to 1500 bytes. Can and is, in most cases encapsulated data
Frame check sequence Used by the receiving device to error check the data