The Ethernet frame and the MAC address
Sign in to read this lesson
The most important fields of an Ethernet frame are the Destination and Source addresses: this is where the MAC addresses go. A frame starts with a Preamble and SOF and ends with the FCS. A MAC address is 48 bits written in hex; it contains a BC (broadcast) bit, a Local bit, the vendor's 22-bit OUI and a 24-bit unique part assigned by the vendor.
What you will learn
- Ethernet frame fields: Preamble, SOF, Destination, Source, Length, 802.2 Header/Data, FCS. The most important are Destination and Source: that is where the MAC addresses are.
- Preamble and SOF (Start of Frame delimiter) are alternating 0s and 1s that tell the receiver "a frame is coming". The FCS (Frame Check Sequence) checks whether the frame is OK or corrupted; a corrupted frame is dropped.
- A MAC address is 48 bits: 1 bit BC (broadcast), 1 bit Local, 22 bits OUI (Organizationally Unique Identifier) and 24 bits Vendor Assigned.
- A MAC address is written as 12 hex digits, for example
00:00:0C:52:31:04. The first 3 bytes (00:00:0C) identify the vendor: this one is Cisco. - Normally a MAC address is unique on the planet. A manually changed MAC has the Local bit set and is only locally unique, i.e. unique on your own network.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.