What Ethernet is
Ethernet is the family of standards that defines how devices on a LAN send data to each other over cables. (Wi-Fi traffic also ends up on Ethernet, because access points bridge it onto the wired network.) Ethernet was developed in the 1970s, standardised by the IEEE as 802.3 in 1983, and has grown from 10 Mbps on shared coaxial cable to 400 Gbps and beyond on fibre. The frame format has barely changed in all that time, which is a big part of why Ethernet replaced its competitors.
If you have plugged a cable into a laptop, a games console or the back of a home router, you have used Ethernet. Every office, school and data centre is built on it.
💡 In simple terms: Ethernet is the set of rules for the “local roads” of a network. It decides what the vehicles (frames) look like, how they are addressed (MAC addresses), and what the roads are made of (cables and signals).
Why Ethernet exists
Before Ethernet, each computer maker had its own way of connecting machines, and equipment from different companies could not communicate. A LAN technology had to solve a few problems:
- A common language: any vendor's card must work with any vendor's switch. The IEEE 802.3 standard provides that.
- Addressing: on a shared network, each device must know which data is meant for it. MAC addresses solve this.
- Error detection: electrical noise can flip bits. Every frame carries a check value, so damage can be detected.
- Growth: the same frames had to work at 10 Mbps in 1983 and at 100 Gbps today.
Where Ethernet sits
Ethernet covers two layers of the OSI model:
| OSI layer | What Ethernet defines there |
|---|---|
| Layer 1, Physical | Cables, connectors, signalling and speeds (the Ethernet standards, Copper cabling and Fibre-optic cabling lessons) |
| Layer 2, Data Link | The frame format, MAC addressing and error detection (this lesson, The Ethernet frame and MAC addresses) |
Everything above Layer 2, such as IP, TCP and web traffic, travels inside Ethernet frames. Ethernet does not care what it carries; it just delivers frames across the local network.
The Ethernet LAN
An Ethernet LAN is a group of devices in one place (a home, an office floor, a building) connected by Ethernet. Today it almost always has a star shape: every device has its own cable to a switch.
Network interface card (NIC)
The Ethernet port in a PC, server or printer. It turns frames into signals and back again, and it has the device's MAC address.
Cables and connectors
Twisted-pair copper with RJ45 plugs, or fibre with LC connectors. They carry the signals between devices.
Switches
The centre of every modern Ethernet LAN. They read MAC addresses and send each frame only where it needs to go.
Frames
The envelopes Ethernet uses. Each one carries addresses, a type code, the data and an error check.
MAC addresses
48-bit addresses that identify which interface sent a frame and which interface should receive it.
Standards
The IEEE 802.3 rules that every vendor follows, so a laptop from one company works with a switch from another.
- 1. PC 1 prints: a frame from …:aa to the printer's MAC address, …:cc. No other device receives it.
- 2. The laptop opens a file: frames go from …:bb to the server's …:dd at the same time, on different ports.
- 3. PC 1 browses the web: frames go to the router's MAC address, …:01, and the router forwards the data off the LAN.
Older Ethernet used a single shared coaxial cable, or a hub that repeated every signal to every port. Modern LANs use switches, which give each device its own full-speed, collision-free link.
The Ethernet frame
Every piece of data on an Ethernet link travels inside a frame like this:
- Destination and source MAC: which interface the frame is for, and which interface sent it.
- EtherType: what's inside (0x0800 IPv4, 0x86DD IPv6, 0x0806 ARP).
- Payload: usually an IP packet, 46–1500 bytes (the standard MTU).
- FCS (frame check sequence): a CRC checksum. If the receiver calculates a different value, it drops the frame.
A later lesson explains each field and decodes a real frame byte by byte.
Learn more: The Ethernet Frame
MAC addresses
Every Ethernet interface has a 48-bit MAC address. In a manufacturer-assigned address, the first half identifies the manufacturer (the OUI, Organizationally Unique Identifier), and the second half is unique to each interface:
- Bit 0, I/G: 0 = individual (unicast), 1 = group (multicast/broadcast)
- Bit 1, U/L: 0 = universally administered (burned in), 1 = locally administered (set by software)
Many phones and laptops now use random MAC addresses instead, for privacy. Address formats, special bits and random MAC addresses have their own lesson.
Learn more: MAC Addresses
How MAC-based delivery works, step by step
PC 1 (192.168.1.10, MAC 02:00:00:00:00:aa) wants to send a file to the server (192.168.1.20, MAC 02:00:00:00:00:dd) on the same LAN:
- The application hands over the data. TCP and IP add their headers, and the IP packet is addressed to
192.168.1.20. - PC 1 finds the server's MAC address. The server is on the same subnet, so PC 1 checks its ARP cache, or asks with an ARP broadcast.
- PC 1 builds a frame: destination
02:00:00:00:00:dd, source02:00:00:00:00:aa, EtherType0x0800, the IP packet, then the FCS. - The NIC sends the frame as signals over the cable to the switch.
- The switch reads the destination MAC address, looks it up in its MAC address table and sends the frame out of the server's port only. It also learns from the source address that
…:aais on PC 1's port. - The server's NIC checks the frame: the destination is its own MAC address and the FCS is correct, so it passes the IP packet up to the operating system.
- 1. 1. Find the MAC address: if it is not cached, PC 1 broadcasts an ARP request, and the server replies with …:dd.
- 2. 2. Send the frame: the switch reads the destination MAC address and forwards the frame out of one port only.
- 3. 3. The reply: the server swaps the source and destination addresses and sends its answer straight back.
When the destination is on another network, the frame goes to the default gateway's MAC address instead, and the router builds a new frame for the next link. Two later lessons follow both journeys in full.
Learn more: Same-Subnet CommunicationDifferent-Subnet Communication
Three types of destination
- 1. Unicast: to one specific MAC address, PC B.
- 2. Multicast: to a group address (the I/G bit in the first octet is 1). The switch floods it, or, with IGMP snooping, sends it only to group members.
- 3. Broadcast: to every device on the LAN (the broadcast domain), for example an ARP request.
A later lesson explains these three types with real examples.
Learn more: Unicast, Broadcast and Multicast
A real-world example: a home network
In most homes, the “router” box from the internet provider contains a small Ethernet switch with four ports. A games console, a smart TV and a desktop PC plug into those ports. When the PC streams a film from a media server on the console, the frames go PC → built-in switch → console, delivered by MAC address: the internet is not involved at all. When the PC loads a website, its frames go to the router part of the box (the default gateway), which forwards the data to the internet.
Duplex and autonegotiation
Half duplex means a device can send or receive, but not both at once. It was used on old, shared Ethernet, where every hub formed one collision domain. Full duplex means sending and receiving at the same time, which is the norm on switched networks. Both ends normally use autonegotiation to agree on the best speed and duplex they both support.
⚠️ Duplex mismatch: if one end is hard-set to full duplex and the other autonegotiates, the autonegotiating side falls back to half duplex. The link comes up but is slow, with late collisions and CRC errors on the interface counters. Use auto on both ends, or set both ends to the same values.
A later lesson covers speed and duplex in detail, with the commands to check them.
Learn more: Speed and Duplex
When Ethernet fails
| Symptom | Likely cause | First check |
|---|---|---|
| No link light, “Network cable unplugged” | Broken or unplugged cable, dead port, NIC disabled | Reseat both ends, try another cable and port |
| Link up at 100 Mbps instead of 1 Gbps | A damaged pair or an old cable | Swap the patch lead for a known-good Cat5e/Cat6 |
| Works but slow, errors on the port | Duplex mismatch, bad cable, interference | Speed/duplex on both ends; CRC error counters |
| Link is up, but nothing communicates | Probably not an Ethernet problem: IP settings, VLAN or ARP | Move up a layer: IP and gateway problems |
Useful commands
C:\>netsh interface show interface Admin State State Type Interface Name ------------------------------------------------------------------------- Enabled Connected Dedicated Ethernet Enabled Disconnected Dedicated Wi-Fi
ipconfig /all and look for “Physical Address”.$ ip -br link lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP> enp3s0 UP 02:00:00:00:00:aa <BROADCAST,MULTICAST,UP,LOWER_UP> wlp2s0 DOWN 02:00:00:00:00:bb <NO-CARRIER,BROADCAST,MULTICAST,UP>
LOWER_UP means the cable has a link; NO-CARRIER means there is no signal. The middle column is each interface's MAC address. Run sudo ethtool enp3s0 to see the speed and duplex as well.Common mistakes
- Mixing up Ethernet and IP. Ethernet uses MAC addresses to deliver frames on the local network; IP uses IP addresses to deliver packets across networks. They work together.
- Thinking a switch understands IP. A plain (Layer 2) switch only reads MAC addresses. It forwards frames without looking at the IP packet inside.
- Assuming a link light means everything works. It only proves Layer 1. Speed, duplex, errors and IP settings still matter.
- Hard-setting speed or duplex on one end only. The other end falls back to half duplex, which causes a duplex mismatch.
- Ethernet (IEEE 802.3) is the standard for wired LANs, covering Layers 1 and 2.
- A modern Ethernet LAN is a star of devices cabled to switches.
- Data travels in frames: destination MAC, source MAC, EtherType, payload, FCS.
- Every interface has a 48-bit MAC address; switches deliver frames by MAC address.
- Full duplex with autonegotiation on both ends is the healthy default.
Check yourself
A PC receives an Ethernet frame. Which field tells it that the payload is an IPv4 packet?
A link works but is slow, and the counters show late collisions on one end. What is the most likely cause?
A colleague says Ethernet is “just the cable”. Which two OSI layers does Ethernet actually define?
PC 1 sends a frame to a server on the same LAN. Which address does the switch use to choose the outgoing port?
Where to go next
Next, look inside the frame field by field, then study MAC addresses in detail.
Learn more: The Ethernet FrameMAC Addresses