SlideShare a Scribd company logo
7
Most read
9
Most read
10
Most read
Data Link Layer

Network Fundamentals – Chapter 7

ITE I Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

1
Objectives


Identify Data Link layer protocols in data transmission.



Identify types of media access control methods.



Identify several common logical network topologies
and describe how the logical topology determines the
media access control method for that network.



Identify purpose of encapsulating packets into frames
to facilitate media access.



Identify Layer 2 frame structure and generic fields.



Identify key frame header and trailer fields including
addressing, QoS, type of protocol and Frame Check
Sequence.

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

2
Data Link Layer – Accessing the Media
 Prepares Network layer packets for transmission on
media via encapsulation
 Control access to the physical media
 Allows exchange data over a common local media

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

3
Data Link Layer – Accessing the Media
 Data Link layer protocols are required to control media
access

WAN layer 2 protocols HDLC,
SLIP, PPP

LAN layer 2 protocols IEEE 802.3,
FDDI and Token Ring
ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

4
Data Link Layer – Accessing the Media


Network layer packets are encapsulated into layer 2 frames



Frames contain fields that allow the delivery of the data across the WAN or LAN link to be managed



Typical fields include:



Which nodes are in communication with each other



When communication between individual nodes begins and when it ends



Which errors occurred while the nodes communicated

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

5
Data Link Layer – Accessing the Media


To support a wide variety of network functions, the Data Link layer is often divided into two sublayers:
an upper sublayer and an lower sublayer.



Logical Link Control
The upper sublayer defines the software processes that provide services to the Network layer
protocols.



Media Access Control
The lower sublayer defines the media access processes performed by the hardware.

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

6
Data Link Layer – Accessing the Media
 Standards used by the Data Link layer

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

7
Media Access Control Techniques
 The need for controlling access to the media

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

8
Media Access Control Techniques
 Controlled Access (Token Ring, FDDI)
 Contention Based Access (CSMA/CD and CSMA/CA)
Carrier Sense Multiple Access / Collision Detection
Carrier Sense Multiple Access / Collision Avoidance

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

9
Media Access Control – Duplex and Non
Shared Media
 Full Duplex Transmit and Receive simultaneously (can
double Bandwidth)
 Half Duplex Transmit or Receive in turns

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

10
Media Access Control Topologies


A logical topology is the way a network transfers frames from one node to the next. Consists of virtual
connections between the nodes of a network independent of their physical layout. These logical signal
paths are defined by Data Link layer protocols. The Data Link layer "sees" the logical topology of a
network when controlling data access to the media. The logical topology influences the type of
network framing and media access control used.



The physical topology is an arrangement of the nodes and the physical connections between them. The
representation of how the media is used to interconnect the devices is the physical topology.

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

11
Media Access Control Topology
 Logical topology example

Type of Layer 2 frame include:
PPP,HDLC, ATM ,FRAME-RELAY etc

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

12
Media Access Control Topology
 Physical point-to-point topology only 2 nodes non multiaccess, non shared

Type of Layer 2 frame include:
PPP,HDLC, ATM ,FRAME-RELAY etc

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

13
Media Access Control Topology
 Physical multi-access topology Contention based
access, Bus topology, Collisions can occur

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

14
Media Access Control Techniques
 Physically resembles a ring topology, media access is
controlled typically by tokens passing between nodes

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

15
Media Access Control Addressing and
Framing Data
 Independence of upper layer protocols is ensured by
layer 2 encapsulation. More controls or frame fields are
required for fragile environments

GPRS (General Packet
Radio Service)

IEEE layer 2 Framing

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

16
Media access control addressing and framing
data
 Frame header contains the control information specified by the
Data Link layer protocol for the specific logical topology and
media used

Preamble Start of Frame

Upper layer Service or
Protocol i.e. IP or other
layer 3 protocol

Source and Destination
MAC address

Error checking

Upper layer data

End of Frame

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

17
Media access control addressing and framing
data
 Data Link layer address is only used for local delivery.
Addresses at this layer have no meaning beyond the
local network. Compare this to Layer 3, where
addresses in the packet header are carried from source
host to destination host regardless of the number of
network hops along the route.

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

18
Media access control addressing and framing
data
 The frame check sequence is used for error checking.
The source calculates a number based on the frame’s
data and places that number in the FCS field. The
destination then recalculates the data to see if the FCS
matches. If they don’t match, the destination discards
the frame.

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

19
Labs
 7.5.2- Frame Examination (Capturing using Wireshark,
inspecting Frame fields, Source, Destination MAC
address, Upper layer protocol, FCS)
 7.6.1- Skills Integration Challenge Data Link Layer
issues (IP subnetting, Configuring using Packet Tracer)

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

20

More Related Content

PPTX
Introduction to Data-Link Layer
PPT
Osi layer and network protocol
PPT
data-link layer protocols
PPT
Internetworking basics
PPTX
Introduction to data link layer
PPT
Topic : X.25, Frame relay and ATM
PPT
Switching
Introduction to Data-Link Layer
Osi layer and network protocol
data-link layer protocols
Internetworking basics
Introduction to data link layer
Topic : X.25, Frame relay and ATM
Switching

What's hot (20)

PPTX
HDLC and Point to point protocol
PPT
Ip addressing classful
PPTX
Presentation on arp protocol
PPTX
Transport layer
PPTX
Ipv4 presentation
PPT
Chapter 4 data link layer
PPTX
Carrier-sense multiple access with collision avoidance CSMA/CA
PPT
Osi , tcp/ip protocol and Addressing
PPTX
Tcp IP Model
PPT
Forouzan-ch19-Network-Layer-Logical-Addressing.ppt
PPTX
Transport layer protocol
PPTX
PPT
Network layer tanenbaum
PPTX
Data link layer
PPTX
Congestion control
PPTX
go back n protocol
PDF
TCP - IP Presentation
PPT
OSI Physical Layer
PPT
TCP IP Addressing
PPSX
Framing Protocols
HDLC and Point to point protocol
Ip addressing classful
Presentation on arp protocol
Transport layer
Ipv4 presentation
Chapter 4 data link layer
Carrier-sense multiple access with collision avoidance CSMA/CA
Osi , tcp/ip protocol and Addressing
Tcp IP Model
Forouzan-ch19-Network-Layer-Logical-Addressing.ppt
Transport layer protocol
Network layer tanenbaum
Data link layer
Congestion control
go back n protocol
TCP - IP Presentation
OSI Physical Layer
TCP IP Addressing
Framing Protocols
Ad

Viewers also liked (20)

PPTX
Data link layer
PPT
The Data Link Layer
PPT
CCNA Exploration 1 - Chapter 7
PPTX
Dcn ppt on data link layer
PPTX
MPW - Management of self
PDF
We Create KC Year 3
DOC
Injection sql
PPTX
Castillos medievales
PDF
01 a-salinan-permendikbud-no-54-tahun-2013-ttg-skl
DOC
Subneting and vlsm ntpg (1)
PPTX
Auto con piloto automatico
PPTX
Powerpoint
PPTX
Ciudades eternas --
PPTX
Entorno natural
PPTX
music magazine evaluation
PPTX
Wikaniko Peter Simmonds - Home page slideshow
PPT
Ethernet
PPTX
Y'ems Group's Social Networking for Organizations Ver 1.0
PPTX
Mesopotamia ciudades de estado
Data link layer
The Data Link Layer
CCNA Exploration 1 - Chapter 7
Dcn ppt on data link layer
MPW - Management of self
We Create KC Year 3
Injection sql
Castillos medievales
01 a-salinan-permendikbud-no-54-tahun-2013-ttg-skl
Subneting and vlsm ntpg (1)
Auto con piloto automatico
Powerpoint
Ciudades eternas --
Entorno natural
music magazine evaluation
Wikaniko Peter Simmonds - Home page slideshow
Ethernet
Y'ems Group's Social Networking for Organizations Ver 1.0
Mesopotamia ciudades de estado
Ad

Similar to Data Link Layer (20)

PPT
Exploration network chapter7
PPT
Chapter7
PPT
Exploration network chapter7
PPT
chapter_7
PDF
6.1 Data Link Layer.pdf 1234567891011121314
PPT
data link and physical layerPPT Week 5.ppt
PPTX
unit2-210710110327.pptx
PPT
Multimedia network services and protocols for multimedia communications
PPTX
datalinklayer-200201062315 (1).pptx
PDF
Chapter 4 Network Access
PPTX
CN Unit 2 - cs8591.pptx
PDF
Ccent notes part 1
PPTX
Networking (osi model)
PPTX
ITN_Module_6.pptx
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 4
PPT
Module 1
PPT
Internetworking Overview
DOC
Ccna 1 chapter 7 v4.0 answers 2011
PPT
06 - OSI Model.ppt
PPT
06 - OSI Model.ppt
Exploration network chapter7
Chapter7
Exploration network chapter7
chapter_7
6.1 Data Link Layer.pdf 1234567891011121314
data link and physical layerPPT Week 5.ppt
unit2-210710110327.pptx
Multimedia network services and protocols for multimedia communications
datalinklayer-200201062315 (1).pptx
Chapter 4 Network Access
CN Unit 2 - cs8591.pptx
Ccent notes part 1
Networking (osi model)
ITN_Module_6.pptx
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 4
Module 1
Internetworking Overview
Ccna 1 chapter 7 v4.0 answers 2011
06 - OSI Model.ppt
06 - OSI Model.ppt

More from Sachii Dosti (13)

DOCX
Network technology Paper 2
DOCX
Network technology paper
DOC
Subneting and vlsm ntpg
PPT
Static Routing
PPT
PPT
Exploration routing chapter 10 & 11
PPT
Addressing the Network – IPv4
PPT
OSI Network Layer
PPT
Exploration routing chapter 4
PPT
OSI Transport Layer
PPT
Application Layer Functionality and Protocols
PPT
Network Fundamentals – Chapter 2
PPT
Network Fundamentals – Chapter 1
Network technology Paper 2
Network technology paper
Subneting and vlsm ntpg
Static Routing
Exploration routing chapter 10 & 11
Addressing the Network – IPv4
OSI Network Layer
Exploration routing chapter 4
OSI Transport Layer
Application Layer Functionality and Protocols
Network Fundamentals – Chapter 2
Network Fundamentals – Chapter 1

Recently uploaded (20)

PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Lesson notes of climatology university.
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Insiders guide to clinical Medicine.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Pre independence Education in Inndia.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Computing-Curriculum for Schools in Ghana
PPTX
master seminar digital applications in india
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Anesthesia in Laparoscopic Surgery in India
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Renaissance Architecture: A Journey from Faith to Humanism
Lesson notes of climatology university.
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Insiders guide to clinical Medicine.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Pre independence Education in Inndia.pdf
PPH.pptx obstetrics and gynecology in nursing
Sports Quiz easy sports quiz sports quiz
Computing-Curriculum for Schools in Ghana
master seminar digital applications in india
STATICS OF THE RIGID BODIES Hibbelers.pdf
Cell Structure & Organelles in detailed.
TR - Agricultural Crops Production NC III.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
GDM (1) (1).pptx small presentation for students
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Anesthesia in Laparoscopic Surgery in India

Data Link Layer

  • 1. Data Link Layer Network Fundamentals – Chapter 7 ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1
  • 2. Objectives  Identify Data Link layer protocols in data transmission.  Identify types of media access control methods.  Identify several common logical network topologies and describe how the logical topology determines the media access control method for that network.  Identify purpose of encapsulating packets into frames to facilitate media access.  Identify Layer 2 frame structure and generic fields.  Identify key frame header and trailer fields including addressing, QoS, type of protocol and Frame Check Sequence. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 2
  • 3. Data Link Layer – Accessing the Media  Prepares Network layer packets for transmission on media via encapsulation  Control access to the physical media  Allows exchange data over a common local media ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 3
  • 4. Data Link Layer – Accessing the Media  Data Link layer protocols are required to control media access WAN layer 2 protocols HDLC, SLIP, PPP LAN layer 2 protocols IEEE 802.3, FDDI and Token Ring ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 4
  • 5. Data Link Layer – Accessing the Media  Network layer packets are encapsulated into layer 2 frames  Frames contain fields that allow the delivery of the data across the WAN or LAN link to be managed  Typical fields include:  Which nodes are in communication with each other  When communication between individual nodes begins and when it ends  Which errors occurred while the nodes communicated ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 5
  • 6. Data Link Layer – Accessing the Media  To support a wide variety of network functions, the Data Link layer is often divided into two sublayers: an upper sublayer and an lower sublayer.  Logical Link Control The upper sublayer defines the software processes that provide services to the Network layer protocols.  Media Access Control The lower sublayer defines the media access processes performed by the hardware. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 6
  • 7. Data Link Layer – Accessing the Media  Standards used by the Data Link layer ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 7
  • 8. Media Access Control Techniques  The need for controlling access to the media ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 8
  • 9. Media Access Control Techniques  Controlled Access (Token Ring, FDDI)  Contention Based Access (CSMA/CD and CSMA/CA) Carrier Sense Multiple Access / Collision Detection Carrier Sense Multiple Access / Collision Avoidance ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 9
  • 10. Media Access Control – Duplex and Non Shared Media  Full Duplex Transmit and Receive simultaneously (can double Bandwidth)  Half Duplex Transmit or Receive in turns ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 10
  • 11. Media Access Control Topologies  A logical topology is the way a network transfers frames from one node to the next. Consists of virtual connections between the nodes of a network independent of their physical layout. These logical signal paths are defined by Data Link layer protocols. The Data Link layer "sees" the logical topology of a network when controlling data access to the media. The logical topology influences the type of network framing and media access control used.  The physical topology is an arrangement of the nodes and the physical connections between them. The representation of how the media is used to interconnect the devices is the physical topology. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 11
  • 12. Media Access Control Topology  Logical topology example Type of Layer 2 frame include: PPP,HDLC, ATM ,FRAME-RELAY etc ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 12
  • 13. Media Access Control Topology  Physical point-to-point topology only 2 nodes non multiaccess, non shared Type of Layer 2 frame include: PPP,HDLC, ATM ,FRAME-RELAY etc ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 13
  • 14. Media Access Control Topology  Physical multi-access topology Contention based access, Bus topology, Collisions can occur ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 14
  • 15. Media Access Control Techniques  Physically resembles a ring topology, media access is controlled typically by tokens passing between nodes ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 15
  • 16. Media Access Control Addressing and Framing Data  Independence of upper layer protocols is ensured by layer 2 encapsulation. More controls or frame fields are required for fragile environments GPRS (General Packet Radio Service) IEEE layer 2 Framing ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 16
  • 17. Media access control addressing and framing data  Frame header contains the control information specified by the Data Link layer protocol for the specific logical topology and media used Preamble Start of Frame Upper layer Service or Protocol i.e. IP or other layer 3 protocol Source and Destination MAC address Error checking Upper layer data End of Frame ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 17
  • 18. Media access control addressing and framing data  Data Link layer address is only used for local delivery. Addresses at this layer have no meaning beyond the local network. Compare this to Layer 3, where addresses in the packet header are carried from source host to destination host regardless of the number of network hops along the route. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 18
  • 19. Media access control addressing and framing data  The frame check sequence is used for error checking. The source calculates a number based on the frame’s data and places that number in the FCS field. The destination then recalculates the data to see if the FCS matches. If they don’t match, the destination discards the frame. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 19
  • 20. Labs  7.5.2- Frame Examination (Capturing using Wireshark, inspecting Frame fields, Source, Destination MAC address, Upper layer protocol, FCS)  7.6.1- Skills Integration Challenge Data Link Layer issues (IP subnetting, Configuring using Packet Tracer) ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 20

Editor's Notes

  • #4: The Application layer provides the interface to the user. The Transport layer is responsible for dividing and managing communications between the processes running in the two end systems. The Network layer protocols organize our communication data so that it can travel across internetworks from the originating host to a destination host. It is the role of the OSI Data Link layer to prepare Network layer packets for transmission and to control access to the physical media. The Data Link layer provides a means for exchanging data over a common local media. The Data Link layer performs two basic services: Allows the upper layers to access the media using techniques such as framing Controls how data is placed onto the media and is received from the media using techniques such as media access control and error detection The Data Link layer is responsible for the exchange of frames between nodes over the media of a physical network.
  • #5: In any given exchange of Network layer packets, there may be numerous Data Link layer and media transitions. At each hop along the path, an intermediary device - usually a router - accepts frames from a medium, decapsulates the frame, and then forwards the packet in a new frame appropriate to the medium of that segment of the physical network.
  • #6: Layer 2 protocols specify the encapsulation of a packet into a frame and the techniques for getting the encapsulated packet on and off each medium. The technique used for getting the frame on and off media is called the media access control method. For the data to be transferred across a number of different media, different media access control methods may be required during the course of a single communication. The media access control methods described by the Data Link layer protocols define the processes by which network devices can access the network media and transmit frames in diverse network environments. Data Link layer protocols require control information to enable the protocols to function. Control information may tell: Which nodes are in communication with each other When communication between individual nodes begins and when it ends Which errors occurred while the nodes communicated Which nodes will communicate next The Data Link layer frame includes: Data - The packet from the Network layer Header - Contains control information, such addressing, and is located at the beginning of the PDU Trailer - Contains control information added to the end of the PDU Typical field types include: Start and stop indicator fields - The beginning and end limits of the frame Naming or addressing fields Type field - The type of PDU contained in the frame Quality - control fields A data field -The frame payload (Network layer packet)
  • #7: To support a wide variety of network functions, the Data Link layer is often divided into two sublayers: an upper sublayer and an lower sublayer. Logical Link Control The upper sublayer defines the software processes that provide services to the Network layer protocols. Media Access Control The lower sublayer defines the media access processes performed by the hardware.
  • #9: Regulating the placement of data frames onto the media is known as media access control. Among the different implementations of the Data Link layer protocols, there are different methods of controlling access to the media. These media access control techniques define if and how the nodes share the media. The method of media access control used depends on: Media sharing - If and how the nodes share the media Topology - How the connection between the nodes appears to the Data Link layer
  • #10: There are two basic media access control methods for shared media: Controlled - Each node has its own time to use the medium Contention-based - All nodes compete for the use of the medium
  • #11: In full-duplex communication, both devices can transmit and receive on the media at the same time. The Data Link layer assumes that the media is available for transmission for both nodes at any time. Therefore, there is no media arbitration necessary in the Data Link layer.
  • #12: The topology of a network is the arrangement or relationship of the network devices and the interconnections between them. Network topologies can be viewed at the physical level and the logical level. The physical topology is an arrangement of the nodes and the physical connections between them. The representation of how the media is used to interconnect the devices is the physical topology. A logical topology is the way a network transfers frames from one node to the next. This arrangement consists of virtual connections between the nodes of a network independent of their physical layout. These logical signal paths are defined by Data Link layer protocols. The Data Link layer "sees" the logical topology of a network when controlling data access to the media. It is the logical topology that influences the type of network framing and media access control used.
  • #13: The end nodes communicating in a point-to-point network can be physically connected via a number of intermediate devices. However the use of physical devices in the network does not affect the logical topology. In some cases, the logical connection between nodes forms what is called a virtual circuit. A virtual circuit is a logical connection created within a network between two network devices. The two nodes on either end of the virtual circuit exchange the frames with each other.
  • #17: Link layer protocols that describe Data Link layer frames, each frame type has three basic parts: Header Data Trailer All Data Link layer protocols encapsulate the Layer 3 PDU within the data field of the frame. However, the structure of the frame and the fields contained in the header and trailer vary according to the protocol. The Data Link layer protocol describes the features required for the transport of packets across different media. These features of the protocol are integrated into the encapsulation of the frame. When the frame arrives at its destination and the Data Link protocol takes the frame off the media, the framing information is read and discarded.
  • #18: As shown in the figure, the frame header contains the control information specified by the Data Link layer protocol for the specific logical topology and media used. Frame control information is unique to each type of protocol. It is used by the Layer 2 protocol to provide features demanded by the communication environment. Typical frame header fields include: Start Frame field - Indicates the beginning of the frame Source and Destination address fields - Indicates the source and destination nodes on the media Priority/Quality of Service field - Indicates a particular type of communication service for processing Type field - Indicates the upper layer service contained in the frame Logical connection control field - Used to establish a logical connection between nodes Physical link control field - Used to establish the media link Flow control field - Used to start and stop traffic over the media Congestion control field - Indicates congestion in the media
  • #19: Because the frame is only used to transport data between nodes across the local media, the Data Link layer address is only used for local delivery. Addresses at this layer have no meaning beyond the local network. Compare this to Layer 3, where addresses in the packet header are carried from source host to destination host regardless of the number of network hops along the route. If the packet in the frame must pass onto another network segment, the intermediate device - a router - will decapsulate the original frame, create a new frame for the packet, and send it onto the new segment. The new frame will use source and destination addressing as necessary to transport the packet across the new media.
  • #20: The frame check sequence is used for error checking. The source calculates a number based on the frame’s data and places that number in the FCS field. The destination then recalculates the data to see if the FCS matches. If they don’t match, the destination discards the frame.