Chapter 6 The Link Layer and LANs
6.1 Introduction to the Link Layer
Link-layer: services, implementation context.
๎๎๎๎Some important terminology:
โข๎๎๎๎Node: any device that runs a link-layer (i.e., layer 2) protocol. Nodes include hosts,
routers, switches, and WiFi access points
โข๎๎๎๎Links: the communication channels that connect adjacent nodes along the
communication path as.
โข๎๎๎๎In order for a datagram to be transferred from source host to destination host, it
must be moved over each of the๎individual links๎in the end-to-end path.
โข๎๎๎๎Link-layer frame: over a given link, a transmitting node encapsulates the
datagram in a๎link-layer frame๎and transmits the๎frame๎into the link.
6.1.1 The Services Provided by the Link Layer
The๎basic๎service: to move a datagram from one node to an adjacent node over a single
communication link
๎๎๎๎The๎details:๎vary๎from one protocol to the next. Possible services:
โข๎๎๎๎Framing๎.
โข๎๎๎๎Almost all link-layer protocols encapsulate each datagram within a frame before
transmission over the link. A frame consists of a data field and a number of header
fields.
โข๎๎๎๎Link access.