liveBook · Manning

Data link layer

As explained in Fundamentals of Cybersecurity

The Data Link layer is the OSI layer responsible for node-to-node transfer over a local network and for link-layer addressing.

The Data Link layer, or Layer 2, transfers data between nodes on the same local network. It defines network interface cards (NICs) and MAC addresses, which identify network interfaces for local communication. section 11.12

A MAC address

00-51-02-1F-58-F6 is an example of a 48-bit MAC address, written as six hexadecimal groups. An IPv4 address, such as 10.23.19.49, uses a different format. section 11.12

Subnetting uses IP addressing at Layer 3 to define subnets. VLANs operate at Layer 2 and enforce boundaries at the switch. They are almost always used together; deploying one without the other is described as a misconfiguration. section 11.8.3

How Fundamentals of Cybersecurity covers it

How deep it goes
Defines local transfer and MAC addressing, with a hexadecimal example and the role of network interface cards.
Examples
Uses a hexadecimal MAC address and contrasts Layer 2 VLAN boundaries with Layer 3 subnet addressing.
What you can do after
Understand which OSI layer handles MAC addresses and local transfer, and distinguish Layer 2 VLANs from Layer 3 subnetting.
How it connects
Connects the OSI model and MAC addresses with NICs, VLANs, subnetting, switches, and the Network layer.

Also explained in

Compare how 2 books explain data link layer →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fundamentals of Cybersecurity. The section links point to the parts of the book it draws on.