

{"id":100675,"date":"2021-09-24T09:00:13","date_gmt":"2021-09-24T03:30:13","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=100675"},"modified":"2021-09-24T10:13:16","modified_gmt":"2021-09-24T04:43:16","slug":"data-link-layer-of-osi-model","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/","title":{"rendered":"Data Link Layer of OSI Model"},"content":{"rendered":"<p>The second tier of the OSI Layered Model is the Data Link Layer. This layer is one of the most complex, with several capabilities and liabilities. The data connection layer conceals the specifics of the underlying hardware and represents itself as the channel of communication to the top layer.<\/p>\n<p>The data connection layer communicates between two hosts that are in some ways directly connected. This direct link might be either point-to-point or broadcast. Systems connected to a broadcast network are said to be on the same connection. When dealing with many hosts on a single collision domain, the data connection layer&#8217;s task becomes more complicated.<\/p>\n<p>The data connection layer is in charge of transforming data streams to signals bit by bit and transmitting them across the underlying hardware. At the receiver, the data link layer collects data from hardware in the form of electrical signals, then assembles it into a recognised frame format to pass it to a higher layer.<\/p>\n<h3>Services Provided By Data Link Layer:<\/h3>\n<h4>1. Framing:<\/h4>\n<p>The data-link layer encapsulates packets from the network layer into frames. Then, on the hardware, it delivers each frame bit by bit. The data connection layer at the receiver&#8217;s end collects signals from hardware and assembles them into frames.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/framing-in-data-link-layer.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100794\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/framing-in-data-link-layer.jpg\" alt=\"framing in data link layer\" width=\"1026\" height=\"534\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/framing-in-data-link-layer.jpg 1026w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/framing-in-data-link-layer-768x400.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/framing-in-data-link-layer-720x375.jpg 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/framing-in-data-link-layer-520x271.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/framing-in-data-link-layer-320x167.jpg 320w\" sizes=\"auto, (max-width: 1026px) 100vw, 1026px\" \/><\/a><\/p>\n<h4>2. Addressing:<\/h4>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/datalink-layer-addressing.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100792\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/datalink-layer-addressing.jpg\" alt=\"data link layer addressing\" width=\"1080\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/datalink-layer-addressing.jpg 1080w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/datalink-layer-addressing-768x447.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/datalink-layer-addressing-720x419.jpg 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/datalink-layer-addressing-520x302.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/datalink-layer-addressing-320x186.jpg 320w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/a><\/p>\n<p>Layer-2 hardware addressing is provided by the data-link layer. On the connection, hardware addresses are considered to be unique. It is programmed into devices during the manufacturing process.<\/p>\n<h4>3. Synchronization:<\/h4>\n<p>When data frames are transmitted via the network, both computers must be synced in order for the transfer to occur.<\/p>\n<h4>4. Error Control:<\/h4>\n<p>Signals may occasionally meet a difficulty during transition, causing the bits to be flipped. These mistakes are discovered and tried to be recovered in order to retrieve genuine data bits. It also offers the sender with an error reporting tool.<\/p>\n<h4>5. Flow Control:<\/h4>\n<p>Stations on the same connection may have varying speeds or capacities. The data-link layer guarantees flow control, allowing two machines to transmit data at the same rate.<\/p>\n<h4>6. Multi-Access:<\/h4>\n<p>When a host on the shared link tries to send data, there is a significant chance of a collision. The data-link layer offers mechanisms such as CSMA\/CD that enable many systems to access a shared medium.<\/p>\n<h4>7. Half-Duplex and Full-Duplex:<\/h4>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/half-duplex-full-duplex.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100793\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/half-duplex-full-duplex.jpg\" alt=\"half duplex and full duplex\" width=\"840\" height=\"597\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/half-duplex-full-duplex.jpg 840w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/half-duplex-full-duplex-768x546.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/half-duplex-full-duplex-720x512.jpg 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/half-duplex-full-duplex-520x370.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/half-duplex-full-duplex-320x227.jpg 320w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/a><\/p>\n<p>Both nodes can send data at the same time in Full-Duplex mode. Only one node can send data at the same time in Half-Duplex mode.<\/p>\n<h4>8. Reliable Delivery:<\/h4>\n<p>The Data Link Layer offers a dependable delivery service, that is, it sends network layer datagrams without error. Transmissions and acknowledgments are used to provide a dependable delivery service. A data connection layer primarily provides a dependable delivery service via links since they have greater error rates and may be rectified locally, rather than causing the data to be retransmitted.<\/p>\n<h3>Sub-Layers of Data Link Layer:<\/h3>\n<h4>1. Logical Link Control:<\/h4>\n<p>It is concerned with protocols, flow control, and error control.<\/p>\n<h4>2. Media Access Control:<\/h4>\n<p>It is concerned with practical media access control.<\/p>\n<h3>Data Link Layer Design Issues<\/h3>\n<p>The problem with this layer (and much of the upper levels) is how to avoid a fast transmitter from drowning a slow receiver in data. A traffic control method is frequently required to inform the broadcaster of how much buffer space the receiver currently has. Flow regulation and error management are frequently combined.<\/p>\n<p>In this layer, broadcast networks have an additional challenge: how to restrict access to the shared channel. The Medium Access Control (MAC) sublayer, a particular sublayer of the data connection layer, deals with this issue.<\/p>\n<h3>Summary<\/h3>\n<p>In this article, we have covered the data link layer of the OSI model in great detail. We looked at the services provided by it, such as flow and error control, addressing and framing etc. We also looked at the various design issues that this layer is plagued with.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The second tier of the OSI Layered Model is the Data Link Layer. This layer is one of the most complex, with several capabilities and liabilities. The data connection layer conceals the specifics of&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":100790,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24974],"tags":[25202,25204,25205,25203],"class_list":["post-100675","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-network","tag-data-link-layer","tag-data-link-layer-design-issues","tag-data-link-layer-services","tag-sub-layers-of-data-link-layer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Data Link Layer of OSI Model - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about data link layer of OSI model. See the various services provided by it like flow control, error detection and correction, etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Data Link Layer of OSI Model - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about data link layer of OSI model. See the various services provided by it like flow control, error detection and correction, etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-24T03:30:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-24T04:43:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/data-link-layer.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Data Link Layer of OSI Model - DataFlair","description":"Learn about data link layer of OSI model. See the various services provided by it like flow control, error detection and correction, etc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/","og_locale":"en_US","og_type":"article","og_title":"Data Link Layer of OSI Model - DataFlair","og_description":"Learn about data link layer of OSI model. See the various services provided by it like flow control, error detection and correction, etc.","og_url":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-09-24T03:30:13+00:00","article_modified_time":"2021-09-24T04:43:16+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/data-link-layer.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"Data Link Layer of OSI Model","datePublished":"2021-09-24T03:30:13+00:00","dateModified":"2021-09-24T04:43:16+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/"},"wordCount":635,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/data-link-layer.jpg","keywords":["Data Link Layer","Data Link Layer design issues","Data Link Layer services","sub layers of Data Link Layer"],"articleSection":["computer network tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/","url":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/","name":"Data Link Layer of OSI Model - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/data-link-layer.jpg","datePublished":"2021-09-24T03:30:13+00:00","dateModified":"2021-09-24T04:43:16+00:00","description":"Learn about data link layer of OSI model. See the various services provided by it like flow control, error detection and correction, etc.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/data-link-layer.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/data-link-layer.jpg","width":1200,"height":628,"caption":"data link layer"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/data-link-layer-of-osi-model\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"computer network tutorial","item":"https:\/\/data-flair.training\/blogs\/category\/computer-network\/"},{"@type":"ListItem","position":3,"name":"Data Link Layer of OSI Model"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=100675"}],"version-history":[{"count":3,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100675\/revisions"}],"predecessor-version":[{"id":100796,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100675\/revisions\/100796"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/100790"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=100675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=100675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=100675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}