Ethernet.md

Ethernet

Each station has a NIC (Network Interface Card) that has a unique 6-byte MAC address.

How to handle collisions when channel is shared?

CSMA (Carrier Sense Multiple Access)

CSMA/CD (Collision Detection)

Minimum Frame Size

For 10 Mbps Ethernet, the minimum frame size is 512 bits (64 bytes), maximum transmission distance is 5km. Every frame less than 64 bytes is corrupted by the collision.

How long to wait before retrying? (Binary Exponential Backoff)

MAC Address

Ethernet MAC Frame Format

Destination MAC Source MAC Type Data FCS
Length 6 bytes 6 bytes 2 bytes 46-1500 bytes 4 bytes

Some typical type values:

In physical layer, 7 bytes of preamble and 1 byte of start frame delimiter (SFD) are added before the frame.