Main Devices in the Data Link Layer
The machines that live at Layer 2 — the NIC, the switch, the historical bridge, and the wireless access point — are what turn MAC addressing into a working network. Understanding them also means mastering two ideas the exam tests hard: collision domains and broadcast domains.
Network interface card (NIC)
The NIC (also called a network adapter or LAN adapter) is the hardware that connects a host to the network medium. It is the boundary between data and signals: it takes a Layer-3 packet handed down by the operating system, builds the Layer-2 frame, adds the MAC address, and converts the frame into the electrical, optical, or radio signals the medium carries. On receive, it does the reverse — reads signals, checks the FCS, and passes the packet up.
- Holds the interface’s MAC address (the burned-in address) and its unicast/group identity.
- Adds the source MAC address and reads the destination MAC address of every frame.
- Operates at both Layer 1 and Layer 2: it is the physical transmitter and the Layer-2 framer.
- Can be wired (Ethernet) or wireless (Wi-Fi), and is commonly built into the motherboard today.
Every interface that connects to the network has its own NIC and its own MAC address. A device with both an Ethernet port and a Wi-Fi radio has two interfaces and therefore two MAC addresses.
Switch
A switch is a multiport Layer-2 device. Its job is to forward frames between the devices connected to it, using the destination MAC address. It does this with a MAC address table (also called the CAM table) that maps MAC addresses to switch ports.
How a switch builds and uses the table:
- Learning. When a frame arrives on a port, the switch records the source MAC address and the port it came in on. Over time it learns which MAC is reachable through which port.
- Forwarding. It looks up the destination MAC. If that address is in the table, the frame goes out the matching port only.
- Flooding. If the destination is unknown (not yet learned), or the destination is a broadcast or multicast, the switch floods the frame out every port in the same VLAN except the one it arrived on.
- Filtering. If the destination is on the same port the frame arrived on, the switch drops it — there is no need to send it back.
Bridge (historical)
A bridge is the ancestor of the switch. It was a software-based device that joined two LAN segments, learning MAC addresses and forwarding frames between them — so it worked at Layer 2 exactly like a switch. In fact, a bridge is functionally a two-port switch.
| Aspect | Bridge | Switch |
|---|---|---|
| Ports | Typically two | Many (often 24–48+) |
| Implementation | Software (CPU-based) | Hardware (ASIC), very fast |
| Forwarding logic | MAC address table | MAC address table (same idea) |
| Today | Obsolete as a separate device | Everywhere in modern LANs |
Because switches are just fast, high-port-count bridges, the terms “bridge” and “switch” describe the same Layer-2 function. You will still see “bridging” used for certain software functions and for wireless bridging.
Wireless access point and WLC
A wireless access point (AP) lets wireless hosts join the wired network. It bridges the Wi-Fi medium (radio) to the Ethernet medium (cable), forwarding frames between them — a Layer-2 role. Wireless hosts are half-duplex and share the air, so the AP coordinates access using CSMA/CA.
In business networks, many APs are managed centrally by a Wireless LAN Controller (WLC). The controller centralises configuration, security policy, and roaming for all APs. In a controller-based design, lightweight APs typically build a tunnel (CAPWAP) back to the WLC. The WLC is the management brain; the APs still do the radio work at Layer 1 and frame handling at Layer 2.
Collision domains vs broadcast domains
These two terms describe how far two kinds of traffic can spread. They are central to the exam.
| Device | Collision domains | Broadcast domains |
|---|---|---|
| Hub / repeater | One shared domain for all ports | Does not divide — one |
| NIC | Belongs to one collision domain (its link) | Does not divide |
| Switch port | Each port is its own collision domain | Does not divide — all ports share one L2 broadcast domain (per VLAN) |
| Router | Each interface is its own domain | Divides — each interface is a separate broadcast domain |
A switch segments collision domains. Because each connection runs on its own port, devices on different ports cannot collide with each other. A hub, by contrast, repeats every signal to every port, so all its devices are in one collision domain and contend for the same bandwidth.
A switch does not segment broadcast domains. A broadcast sent to FF:FF:FF:FF:FF:FF is flooded out every port in the VLAN. To break a broadcast domain you need a router or VLANs, which create logically separate Layer-2 networks.
Half duplex vs full duplex
Duplex describes whether a link can send and receive at the same time.
| Mode | Data flow | Collisions | Typical use |
|---|---|---|---|
| Half duplex | Send or receive, but not both at once | Possible; handled by CSMA/CD | Shared hub links; legacy shared media |
| Full duplex | Send and receive simultaneously | None; CSMA/CD is disabled | Point-to-point switch-to-host and switch-to-switch links |
Full duplex is possible only on a point-to-point link with separate transmit and receive paths — which is exactly what a switch provides on each port. Because there can be no collisions, the full bandwidth is available in each direction, and the link no longer counts as a shared collision domain. Modern Ethernet links between a host and a switch normally run at full duplex; a mismatch (one side half duplex, the other full) is a classic cause of errors and poor performance.
Review
Check what you have learned with these review questions.
Sources & references
- IEEE. IEEE 802.3: Ethernet (switching, duplex operation, CSMA/CD). standards.ieee.org.
- IEEE. IEEE 802.11: Wireless LAN (access points, CSMA/CA). standards.ieee.org.
- Braden, R. RFC 1122: Requirements for Internet Hosts — Communication Layers (1989), Section 1.3.3. rfc-editor.org/rfc/rfc1122.
- Cisco. CCNA (200-301) Exam Topics, Network Fundamentals. cisco.com.
Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.