SlideServe
Menu
Préférences
© SlideServe · v2026

Understanding Data Link Layer Functions and Services

eshana avatar
13 diapositives · 261 Views · Jul 28, 2014

Learn about the crucial functions and services of the Data Link Layer, such as data transfer, error detection, addressing, flow control, and reliable data transmission. Explore the relationship between packets and frames and various link layer technologies.

Understanding Data Link Layer Functions and Services - slide 1
01 / 13Understanding Data Link Layer Functions and Services
1 / 17

Télécharger la présentation

Understanding Data Link Layer Functions and Services
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Data Link Layer Shashank Srivastava Motilal Nehru national Institute Of Information Technology, Allahabad

  2. Functions of Data Link Layer • Carries data from node to node. • Determines how data is grouped into frames(cells). • Addressing – Physical addresses are used to find the address of next node in node-to-node delivery. • Dealing with transmission errors from one node to another. • Regulating the flow of frames so that slow receivers are not swamped by fast senders. • Medium access control – if several computers are connected to same link, there must be a method to control the access to the medium at any moment.

  3. Relationship between packets and frames

  4. Model used

  5. understand principles behind data link layer services: error detection, correction sharing a broadcast channel: multiple access link layer addressing reliable data transfer, flow control: done! instantiation and implementation of various link layer technologies The Data Link Layer :Goals 5: DataLink Layer

  6. Introduction and services Error detection and correction Multiple access protocols Link-Layer Addressing Ethernet Hubs and switches PPP Link Layer 5: DataLink Layer

  7. Some terminology: hosts and routers are nodes communication channels that connect adjacent nodes along communication path are links wired links wireless links LANs layer-2 packet is a frame,encapsulates datagram “link” Link Layer: Introduction data-link layer has responsibility of transferring datagram from one node to adjacent node over a link 5: DataLink Layer

  8. Datagram transferred by different link protocols over different links: e.g., Ethernet on first link, frame relay on intermediate links, 802.11 on last link Each link protocol provides different services e.g., may or may not provide rdt over link transportation analogy trip from Princeton to Lausanne limo: Princeton to JFK plane: JFK to Geneva train: Geneva to Lausanne tourist = datagram transport segment = communication link transportation mode = link layer protocol travel agent = routing algorithm Link layer: context 5: DataLink Layer

  9. Link Layer Services • Framing, link access: • encapsulate datagram into frame, adding header, trailer • channel access if shared medium • “MAC” addresses used in frame headers to identify source, dest • different from IP address! • Reliable delivery between adjacent nodes • we learned how to do this already (chapter 3)! • seldom used on low bit error link (fiber, some twisted pair) • wireless links: high error rates • Q: why both link-level and end-end reliability? 5: DataLink Layer

  10. Link Layer Services (more) • Flow Control: • pacing between adjacent sending and receiving nodes • Error Detection: • errors caused by signal attenuation, noise. • receiver detects presence of errors: • signals sender for retransmission or drops frame • Error Correction: • receiver identifies and corrects bit error(s) without resorting to retransmission • Half-duplex and full-duplex • with half duplex, nodes at both ends of link can transmit, but not at same time 5: DataLink Layer

  11. link layer implemented in “adaptor” (aka NIC) Ethernet card, PCMCI card, 802.11 card sending side: encapsulates datagram in a frame adds error checking bits, rdt, flow control, etc. receiving side looks for errors, rdt, flow control, etc extracts datagram, passes to rcving node adapter is semi-autonomous link & physical layers frame frame Adaptors Communicating datagram rcving node link layer protocol sending node adapter adapter 5: DataLink Layer

  12. Data Link Control