What Is Ethernet?
Ethernet is a LAN Data Link Layer protocol that is used in Bus and Star topologies and implements CSMA/CD (Carrier Sense Multiple Access with Collision Detection) as the medium access method.
Ethernet operates at the Data Link Layer (Layer 2) of the OSI model. It is the most widely used LAN technology in the world, connecting devices within a local area network using shared or switched media.
📅 Historical Timeline
🕰️ 1980 — Original Ethernet (DIX)
Developed by three companies:
- Digital Equipment Corporation
- Intel
- Xerox
Together = DIX Ethernet (the original standard)
📋 1985 — IEEE Project 802
The Computer Society of IEEE started Project 802 to set standards enabling intercommunication among equipment from a variety of manufacturers.
Result: IEEE Ethernet (the current version)
DIX = Digital + Intel + Xerox
Think: "Developed In eXcellence" — the three founders of original Ethernet in 1980.
Know: Ethernet = LAN Data Link layer protocol, topologies = Bus & Star, access method = CSMA/CD, developed 1980 by DIX, standardized 1985 by IEEE Project 802.
- Ethernet is a Data Link Layer LAN protocol using CSMA/CD
- Original Ethernet (1980) created by Digital, Intel, Xerox (DIX)
- IEEE Project 802 (1985) standardized it → current IEEE Ethernet
- Used in Bus and Star topologies
IEEE Ethernet — Two Sublayers
In IEEE 802.3 Ethernet, the Data Link Layer is split into two sublayers. This split allows Ethernet to be standardized in a way that different LAN protocols can share the same upper layer.
🔻 Bottom: MAC Sublayer
Standard: IEEE 802.3
- Handles part of framing
- Handles MAC addressing
- Handles Medium Access Control
- Specific implementation for each LAN protocol
- Defines CSMA/CD for Ethernet LANs
- Defines Token Passing for Token Ring
🔺 Top: LLC Sublayer
Standard: IEEE 802.2
- Handles another part of framing
- Provides error and flow control if needed
- Makes the MAC sublayer transparent
- Allows interconnectivity between different LAN data link layers
MAC (802.3): Bottom sublayer. Technology-specific. Knows whether you are on Ethernet, Token Ring, etc. Handles the actual media access.
LLC (802.2): Top sublayer. Technology-independent. Provides a uniform interface to the network layer above. Makes different MACs look the same.
Think of it: MAC is the specialist (knows the hardware), LLC is the translator (hides the differences).
MAC sublayer = IEEE 802.3 | LLC sublayer = IEEE 802.2
MAC is at the bottom; LLC is at the top of the Data Link layer.
LLC makes the MAC sublayer transparent, allowing interconnectivity between different LAN types.
- IEEE Data Link Layer is split into MAC (bottom) and LLC (top)
- MAC = IEEE 802.3: framing, MAC addressing, medium access (CSMA/CD)
- LLC = IEEE 802.2: error/flow control, makes MAC transparent
- LLC allows different LAN technologies to communicate through a common interface
Ethernet Frame Format
There are two Ethernet frame formats: the original DIX Ethernet frame and the IEEE 802.3 frame. They are very similar — the key difference is that DIX uses a Type field while 802.3 uses a Length field.
📦 IEEE 802.3 Frame Structure (Visual)
🔍 Field-by-Field Explanation
| Field | Size | Purpose & Details |
|---|---|---|
| Preamble | 7 bytes (DIX: 8 bytes) | Pattern 10101010 repeated. Used to synchronize sender and
receiver clock rates before the actual frame arrives. |
| SFD (Start Frame Delimiter) |
1 byte | Pattern 10101011. Marks the start of the actual frame. Together with
Preamble, forms the physical layer header. |
| Destination Address | 6 bytes | MAC address of the receiver. Can be Unicast, Multicast, or Broadcast. |
| Source Address | 6 bytes | MAC address of the sender. Always Unicast (a device can only send from its own address). |
| Type (DIX) | 2 bytes | Indicates the Network Layer protocol in the payload (e.g., IP=0800, ARP=0806, Novell IPX=8137, AppleTalk=809B). Value starts at 0600h (1536 decimal). Enables multiplexing. |
| Length (802.3) | 2 bytes | Number of bytes in the data field. Maximum = 1500 bytes (05DCh). |
| Data & Padding | 46–1500 bytes | Carries data from upper-layer protocols. Pad: zeros added if data is less than 46 bytes to ensure minimum frame size. |
| CRC / FCS | 4 bytes | Cyclic Redundancy Check (CRC-32). Checked at receiver — if error detected, frame is discarded. This is the trailer of the Data Link frame. |
Minimum Frame Length
64 bytes
(512 bits)
Maximum Frame Length
1518 bytes
(12,144 bits)
Minimum data (payload) = 46 bytes | Maximum data = 1500 bytes
Why minimum 46 bytes? To satisfy CSMA/CD collision detection timing requirements. Pad zeros are added if data is smaller.
DIX Ethernet: Uses a Type field (value ≥ 0600h = 1536 decimal) to identify the upper-layer protocol. Enables multiplexing of different network layer protocols.
IEEE 802.3: Uses a Length field (value ≤ 1500 = 05DCh) to specify how many bytes are in the data field.
How to tell which is which: If value > 1536 → Type field (DIX). If value ≤ 1500 → Length field (802.3).
"Pretty Students Do Seriously Long Data Calculations"
→ Preamble | SFD | Destination | Source | Length/Type | Data | CRC
- Preamble (7B) + SFD (1B) = Physical layer header for synchronization
- Dest Address (6B) + Source Address (6B) = MAC addresses
- Type (DIX, ≥0600h) or Length (802.3, ≤1500) = 2 bytes
- Data: 46–1500 bytes; Pad added if <46 bytes
- CRC-32 (4B) = error detection trailer; errors → frame discarded
- Min frame: 64 bytes (512 bits) | Max frame: 1518 bytes (12,144 bits)
Ethernet (MAC) Address
A MAC (Media Access Control) address is a 6-byte (48-bit) hardware address used to identify network devices at the Data Link layer. It is burned into the NIC ROM at the time of manufacture.
Structure of a MAC Address
First 24 bits (3 bytes)
Last 24 bits (3 bytes)
Example address: 06-01-02-01-2C-4B
- Size: 6 bytes = 48 bits
- Format: Flat address — NOT hierarchical (unlike IP addresses)
- Storage: Burned into NIC ROM (Read-Only Memory) — permanent
- First 3 bytes: Identify the vendor/manufacturer (OUI —
Organizationally Unique Identifier). Example: Cisco =
00-00-0C, Juniper =00-05-85 - Last 3 bytes: Created uniquely by the company for each device
- Source address: ALWAYS Unicast — a device can only send from its own address
Look at the least significant bit (LSB) of the first byte (= the second hexadecimal digit from the left):
- If LSB = 0 (second hex digit is even) → Unicast
- If LSB = 1 (second hex digit is odd) → Multicast
- If all bits = 1 (all Fs: FF:FF:FF:FF:FF:FF) → Broadcast
📝 Worked Example
Given addresses — determine type:
| Address | 2nd Hex Digit | Binary | LSB | Type |
|---|---|---|---|---|
4A:30:10:21:10:1A |
A | 1010 | 0 (even) | ✅ Unicast |
47:20:1B:2E:08:EE |
7 | 0111 | 1 (odd) | 📢 Multicast |
FF:FF:FF:FF:FF:FF |
F | 1111 | All 1s | 📡 Broadcast |
Note: Look at the second hexadecimal character of the whole address (first hex char of byte 1). Even = Unicast; Odd = Multicast.
"Even = One, Odd = Many"
Even second digit → Unicast (one recipient) | Odd second digit → Multicast (many recipients)
Broadcast is a special case of multicast where ALL bits are 1s (FF:FF:FF:FF:FF:FF)
- MAC address = 6 bytes (48 bits), flat (non-hierarchical), burned in NIC ROM
- First 3 bytes = OUI (vendor ID), Last 3 bytes = unique device ID
- Unicast: LSB of first byte = 0 (second hex digit even)
- Multicast: LSB of first byte = 1 (second hex digit odd)
- Broadcast: all bits = 1 → FF:FF:FF:FF:FF:FF (special case of multicast)
- Source address is ALWAYS unicast
Types of Ethernet Destination Addresses
Sent to one specific station only. The second hex digit from the left is even.
Example:
4A:30:10:21:10:1A
(A = 1010 → LSB=0)
Sent to a group of stations. The second hex digit from the left is odd. Used in conferencing applications.
Example:
47:20:1B:2E:08:EE
(7 = 0111 → LSB=1)
Sent to ALL stations on the network. Special case of multicast where all 48 bits = 1.
Always:
FF:FF:FF:FF:FF:FF
The source address is ALWAYS unicast. A device can only originate frames from its own unique MAC address — it cannot "pretend" to send from a group address.
The least significant bit of the first byte determines Unicast (0) vs Multicast (1).
Broadcast = special case of multicast with all bits = 1 (FF:FF:FF:FF:FF:FF).
Multicast example use case: video conferencing where one station needs to send to a group simultaneously.
Ethernet Generations & Standards
Ethernet has evolved through four generations, each offering higher speeds while maintaining backward compatibility in addressing and frame format.
Standard Ethernet
Original. Bus or Star topology.
Fast Ethernet
10× faster. Star topology.
Gigabit Ethernet
100× faster. Star topology.
10 Gigabit Ethernet
Fiber only. Star topology.
Standard Ethernet — Naming Convention
10 = Speed in Mbps | Base = Baseband (digital) | T = Twisted pair cable, F = Fiber optic
So: 100Base-TX = 100 Mbps, Baseband, Twisted pair (category 5
UTP)
Detailed Standards Comparison
| Standard | Speed | Topology | Media | Implementations |
|---|---|---|---|---|
| Standard Ethernet 10Base-T / 10Base-F |
10 Mbps | Star (with switch) | UTP or Fiber | 10Base-T (2 pairs UTP), 10Base-F (2 fiber-optic cables) |
| Fast Ethernet 100Base-T / 100Base-F |
100 Mbps | Star | Twisted pair or Fiber | 100Base-TX (2w Cat5 UTP), 100Base-FX (2w fiber), 100Base-T4 (4w Cat3 UTP) |
| Gigabit Ethernet 1000Base-T / 1000Base-F |
1000 Mbps (1 Gbps) | Star | Twisted pair or Fiber | 1000Base-SX (short fiber), 1000Base-LX (long fiber), 1000Base-CX (STP copper), 1000Base-T (4w UTP) |
| 10 Gigabit Ethernet 10GBase-F |
10,000 Mbps (10 Gbps) | Star | Fiber optic ONLY | Fiber optic cables only — no copper support |
- Standard: 10 Mbps | Fast: 100 Mbps | Gigabit: 1 Gbps | 10G: 10 Gbps
- All newer generations use Star topology
- Only 10 Gigabit Ethernet uses fiber optic cable ONLY (no twisted pair option)
- Fast Ethernet and Gigabit Ethernet support both twisted pair AND fiber
- Four generations: Standard (10M), Fast (100M), Gigabit (1G), 10 Gigabit (10G)
- All use Star topology with a switch as central device
- 10 Gigabit = fiber optic ONLY (no copper/UTP)
- Naming: [speed]Base-[media] → T=twisted pair, F=fiber
- Fast Ethernet implementations: 100Base-TX, 100Base-FX, 100Base-T4
- Gigabit implementations: 1000Base-SX/LX (fiber), 1000Base-CX/T (copper)
Half Duplex vs Full Duplex Operation
📻 Half Duplex (Traditional)
- Station can either transmit OR receive — not both simultaneously
- Uses CSMA/CD to detect collisions
- Traditional Ethernet operates this way
- Central device: Hub
- Shared collision domain
⚡ Full Duplex (Modern)
- Station can transmit AND receive simultaneously
- Throughput is doubled
- No collisions → CSMA/CD NOT needed
- Central device: Switch (not hub!)
- Each station has its own collision domain
Full Duplex Throughput Examples
100 Mbps Ethernet in Full-Duplex
→ 200 Mbps
theoretical transfer rate
1 Gbps Ethernet in Full-Duplex
→ 2 Gbps
theoretical transfer rate
Requirements to Enable Full-Duplex Mode
To operate in full-duplex mode, 4 changes must be made:
| # | Requirement | Why? |
|---|---|---|
| 1 | Stations must have full-duplex NIC cards | To physically support simultaneous send/receive |
| 2 | Must use two pairs of wire | One pair: host → switch (inbound). Other pair: switch → host (outbound) |
| 3 | Must use a Switch as central device (NOT a hub) | Switches create dedicated connections; hubs broadcast to all |
| 4 | Devices must connect point-to-point (dedicated) to the switch | Dedicated connection = no shared medium = no collisions |
Hub: Broadcasts all traffic to all ports. Shared medium → collisions can happen → CSMA/CD needed → half duplex only.
Switch: Creates a dedicated path between sender and receiver. Each port is its own collision domain → no collisions → CSMA/CD not needed → can operate in full duplex.
Full duplex requires a switch — never a hub.
In full-duplex: (1) Throughput is doubled. (2) CSMA/CD is NOT needed because there are no collisions. (3) Each station constitutes a separate collision domain. (4) Must use a switch, not a hub.
- Half duplex: transmit OR receive (not both) — uses CSMA/CD, hub-based
- Full duplex: transmit AND receive simultaneously — doubles throughput
- Full duplex requirements: full-duplex NIC, 2 wire pairs, switch (not hub), point-to-point connection
- In full duplex: no collisions → CSMA/CD algorithm not needed
- Each station in switched Ethernet = separate collision domain
⚡ Quick Revision Cheat Sheet
Ethernet Basics
Frame Fields & Sizes
Frame Limits
MAC Address
Address Types
Ethernet Generations
Sublayers
Full Duplex
- MAC address = 6 bytes = 48 bits
- Preamble = 7 bytes (pattern 10101010)
- SFD = 1 byte (pattern 10101011)
- Type field starts at 0600h = 1536 decimal
- Max Length field = 1500 bytes = 05DCh
- Min payload = 46 bytes (pad if less)
- Max payload = 1500 bytes
- Min frame = 64 bytes, Max = 1518 bytes
🧪 Practice Questions
47:20:1B:2E:08:EE00-00-0C belongs to Cisco. The last 3 bytes are
the unique device identifier assigned by the manufacturer.