Local network, interfaces, Ethernet and Wi-Fi
Connect a device to a local network and separate interfaces, links, hardware addresses and IP addresses.
- Distinguish a device from each network interface it contains.
- Explain why local Ethernet delivery and IP addressing are related but different layers.
- Network foundations
- Computer
- Packet
On this page
One device can have several interfaces
A laptop may contain an Ethernet interface and a Wi-Fi interface. Each interface is a connection point with its own state and identifiers. “The laptop is online” is therefore less precise than “its Wi-Fi interface is connected and has an IP configuration.”
Local links
Ethernet and Wi-Fi can carry data on a local network. Ethernet commonly uses a cable; Wi-Fi uses radio. Both can connect an interface to the same logical local network, but their physical and link behaviour are not identical.
On an Ethernet-style local network, frames use link-layer addresses—commonly called MAC addresses—for local delivery. IP addresses serve a different purpose: logical delivery across an IP network and, with routing, between networks.
A local exchange
application data
↓
IP packet: source and destination IP address
↓
local frame: source and destination link-layer address
↓
Ethernet cable or Wi-Fi radio link
The layers describe different responsibilities. The packet can remain logically addressed to the final IP destination while each local link uses the addresses needed for its next local delivery.
Inspect the simulator
Use ip address to identify the simulated interface and its IP address. Do not invent a MAC address: this simulator does not currently model one.
Common mistakes
- Wi-Fi is not the internet; it is a local access technology.
- A MAC address and an IP address are not interchangeable.
- ARP resolves a local IPv4-to-link-layer mapping; DNS resolves typed data associated with names.
Now follow the data from a process to a particular service.