Layer 2

Why Trust Techopedia

What Does Layer 2 Mean?

Layer 2 refers to the second layer of the Open Systems Interconnection (OSI) Model, which is the data link layer.

Advertisements

Layer 2 is where data packets are encoded and decoded into actual bits. It is the protocol layer that enables the transfer of data between adjacent network nodes in a network segment, such as a local or wide area network.

Techopedia Explains Layer 2

Layer 2 provides the procedural and functional means for data transfer between network nodes and provides the means to detect and correct errors that may occur at the physical layer (Layer 1).

Ethernet, which is used for multi-node local area networks (LAN), is the best example of the data link layer protocol. Other protocols include Point-to-Point Protocol (PPP), High-Level Data Link Control (HDLC) and Advanced Data Communication Control Procedures (ADCCP) for dual-node connections.

Layer 2 is mainly concerned with the local delivery of data frames between network devices on the same network or LAN, essentially bringing transmission protocol knowledge into the system, managing physical layer errors and fostering flow control and frame synchronization. It has two sublayers – logical link control (LLC) and media access control (MAC).

Major Layer 2 services include:

  • Encapsulation of data packets into frames
  • Frame synchronization
  • Error and flow control via the LLC sublayer
  • Physical or MAC addressing
  • Packet or LAN switching
  • Data packet scheduling
  • Virtual LANs
Advertisements

Related Terms

Margaret Rouse
Technology expert
Margaret Rouse
Technology expert

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.