Routelearn.net
Course menu

Unit 4: Ethernet and CablingLesson 4.1 (1 of 9 in this unit)16 of 84 in the Network Fundamentals course

Ethernet Fundamentals

Ethernet is the technology behind almost every wired network. Learn what it is, why it became the standard, how an Ethernet LAN is built, and how frames carrying MAC addresses move data from one device to another.

Beginner · 14 min read · Before this: The OSI model, Encapsulation and de-encapsulation

Ethernet is the family of IEEE 802.3 standards for wired local area networks. It covers both the physical layer (cables, connectors and signalling) and the data link layer (the frame format and MAC addressing). Devices exchange data in Ethernet frames, addressed by MAC address.

In simple terms: Ethernet is the technology behind almost every wired network. It sets the rules for the cables, and for how devices package data into frames and address them to each other.

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 layerWhat Ethernet defines there
Layer 1, PhysicalCables, connectors, signalling and speeds (the Ethernet standards, Copper cabling and Fibre-optic cabling lessons)
Layer 2, Data LinkThe 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.

Office switchPC 1…:aaLaptop…:bbPrinter…:ccFile server…:ddRouter…:01
  1. 1. PC 1 prints: a frame from …:aa to the printer's MAC address, …:cc. No other device receives it.
  2. 2. The laptop opens a file: frames go from …:bb to the server's …:dd at the same time, on different ports.
  3. 3. PC 1 browses the web: frames go to the router's MAC address, …:01, and the router forwards the data off the LAN.
Every device has its own cable to the switch. Short MAC addresses (…:aa) stand for 02:00:00:00:00:aa and so on.

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:

Preamble7 BSync pattern
SFD1 BStart of frame
Destination MAC6 BWho it's for
Source MAC6 BWho sent it
EtherType2 Be.g. 0x0800 = IPv4
Payload46–1500 BIP packet (+ padding)
FCS4 BError check (CRC)
On the wire only (8 B)
Ethernet header: 14 B
Frame: 64–1518 bytes (destination MAC → FCS)
Ethernet II frame. The preamble and SFD are transmitted before the frame but aren't counted in its size. Payloads under 46 bytes are padded; 802.1Q VLAN tags add 4 bytes.
  • 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:

00
1A
2B
3C
4D
5E
OUI (24 bits): who made the interface
Device-specific (24 bits): assigned by the maker
First octet 00 in binary (bit 7 … bit 0)
0
0
0
0
0
0
0
0
  • 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)
Written as 00:1A:2B:3C:4D:5E, 00-1A-2B-3C-4D-5E, or Cisco-style 001a.2b3c.4d5e. The broadcast address is FF:FF:FF:FF:FF:FF.

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:

  1. The application hands over the data. TCP and IP add their headers, and the IP packet is addressed to 192.168.1.20.
  2. 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.
  3. PC 1 builds a frame: destination 02:00:00:00:00:dd, source 02:00:00:00:00:aa, EtherType 0x0800, the IP packet, then the FCS.
  4. The NIC sends the frame as signals over the cable to the switch.
  5. 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 …:aa is on PC 1's port.
  6. 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.
PC 1192.168.1.10 · …:aaSwitchlooks up …:ddFile server192.168.1.20 · …:dd
  1. 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. 2. Send the frame: the switch reads the destination MAC address and forwards the frame out of one port only.
  3. 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

SwitchPC APC Bin groupPC Cin groupPC D
  1. 1. Unicast: to one specific MAC address, PC B.
  2. 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. 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

SymptomLikely causeFirst check
No link light, “Network cable unplugged”Broken or unplugged cable, dead port, NIC disabledReseat both ends, try another cable and port
Link up at 100 Mbps instead of 1 GbpsA damaged pair or an old cableSwap the patch lead for a known-good Cat5e/Cat6
Works but slow, errors on the portDuplex mismatch, bad cable, interferenceSpeed/duplex on both ends; CRC error counters
Link is up, but nothing communicatesProbably not an Ethernet problem: IP settings, VLAN or ARPMove up a layer: IP and gateway problems

Useful commands

Example output from a Windows PC, written for this lesson
C:\>netsh interface show interface
Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Enabled        Connected      Dedicated        Ethernet
Enabled        Disconnected   Dedicated        Wi-Fi
What to look for: Connected in the State column means the Ethernet link is up (Layer 1 is working). Disconnected means no link, which is normal here for the unused Wi-Fi adapter. To see the interface's MAC address, run ipconfig /all and look for “Physical Address”.
Example output from a Linux PC, written for this lesson
$ 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>
What to look for: 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.
✅ Key takeaways
  • 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

Predict · scenario 1

A PC receives an Ethernet frame. Which field tells it that the payload is an IPv4 packet?

Predict · scenario 2

A link works but is slow, and the counters show late collisions on one end. What is the most likely cause?

Predict · scenario 3

A colleague says Ethernet is “just the cable”. Which two OSI layers does Ethernet actually define?

Predict · scenario 4

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

FAQ

Is Wi-Fi a kind of Ethernet?
Not exactly. Wi-Fi is a separate IEEE standard (802.11) with its own radio rules and frame format. But it uses the same 48-bit MAC addresses, and an access point converts Wi-Fi frames into Ethernet frames for the wired network. So, to the rest of the LAN, a wireless laptop looks just like a wired one.
What is the difference between Ethernet and the internet?
Ethernet moves frames between devices on the same local network, using MAC addresses. The internet connects millions of separate networks using IP addresses and routers. Your data usually crosses an Ethernet LAN first, then many other links on its way across the internet.
Is an Ethernet cable the same as a LAN cable or network cable?
Yes. In everyday speech, those names all mean a twisted-pair copper cable with RJ45 plugs, such as Cat5e or Cat6. The Copper Cabling lesson explains the categories.
Why is Ethernet still used after 50 years?
Because it kept the same frame format and addressing while the speeds and cables kept improving. Old and new equipment can talk to each other, it is inexpensive, and every vendor supports it.