[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"article-data-link-layer-osi-layer-2-en":3,"article-related-data-link-layer-osi-layer-2-en":31,"series-research-7fdb9c93-55a6-4f1a-968a-6e683b200191":76},{"id":4,"slug":5,"title":6,"content":7,"summary":8,"source":9,"source_url":10,"author":11,"image_url":12,"cover_image":12,"category":13,"language":14,"translated_content":11,"related_article_id":15,"keywords":16,"key_takeaways":23,"views":27,"created_at":28,"published_at":29,"topic_cluster_id":30},"7fdb9c93-55a6-4f1a-968a-6e683b200191","data-link-layer-osi-layer-2-en","Data link layer: OSI layer 2 explained","\u003Cp>When two devices share the same network segment, they still need rules for who talks first, how frames are labeled, and what happens when bits get scrambled. That job falls to the data link layer, also known as \u003Ca href=\"\u002Ftag\u002Flayer-2\">layer 2\u003C\u002Fa>, in the \u003Ca href=\"\u002Fnews\u002Fosi-model-explained-networking-layers-en\">OSI model\u003C\u002Fa>.\u003C\u002Fp>\u003Cp data-speakable=\"summary\">The data link layer moves frames between nearby devices and handles local access, addressing, and error checks.\u003C\u002Fp>\u003Ch2>What changed\u003C\u002Fh2>\u003Cp>The concept has not changed, but the standard view is clearer: layer 2 sits between the physical layer and the network layer, handling node-to-node delivery on a single link or LAN. It does not route traffic across networks; instead, it focuses on local delivery, frame formatting, and access to the medium.\u003C\u002Fp>\n\u003Cfigure class=\"my-6\">\u003Cimg src=\"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783348379590-4qi2.png\" alt=\"Data link layer: OSI layer 2 explained\" class=\"rounded-xl w-full\" loading=\"lazy\" \u002F>\u003C\u002Ffigure>\n\u003Cp>In the OSI model, the data link layer is commonly split into two sublayers: logical link control and media access control. LLC multiplexes upper-layer protocols and can add flow control or acknowledgment, while MAC decides who may use the medium and how frames are synchronized and addressed.\u003C\u002Fp>\u003Cul>\u003Cli>Layer 2 transfers data as frames, not packets.\u003C\u002Fli>\u003Cli>Frame headers carry source and destination MAC addresses.\u003C\u002Fli>\u003Cli>Many LANs use flat addresses, unlike routable network-layer addresses.\u003C\u002Fli>\u003Cli>MAC methods include CSMA\u002FCD for Ethernet and CSMA\u002FCA for WiFi.\u003C\u002Fli>\u003Cli>Some protocols add error detection, retransmission, or flow control.\u003C\u002Fli>\u003C\u002Ful>\u003Cp>Wikipedia’s overview also notes that different standards divide the layer differently. IEEE 802 networks usually describe LLC and MAC as separate sublayers, while protocols such as HDLC may bundle both functions, and G.hn adds an extra convergence sublayer for home wiring networks.\u003C\u002Fp>\u003Ch2>Why it matters\u003C\u002Fh2>\u003Cp>For developers, layer 2 is where local network behavior becomes concrete: frame boundaries, collision handling, switching, VLANs, and MAC filtering all live here. If a device can reach the wire but cannot exchange frames reliably, the problem is often in this layer rather than in routing or application code.\u003C\u002Fp>\n\u003Cfigure class=\"my-6\">\u003Cimg src=\"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783348378706-xa3x.png\" alt=\"Data link layer: OSI layer 2 explained\" class=\"rounded-xl w-full\" loading=\"lazy\" \u002F>\u003C\u002Ffigure>\n\u003Cp>It also explains why some failures are local and some are not. Ethernet usually skips retransmission at layer 2 because short wired links rarely corrupt bits, while wireless links and modem-style connections may rely on link-layer recovery. That difference affects latency, throughput, and where error handling should be built into a stack.\u003C\u002Fp>\u003Cp>The TCP\u002FIP model folds this work into its link layer, but the OSI framing still helps teams map problems to the right place. If a network issue looks like “the app is down,” layer 2 is often the first checkpoint for switching, addressing, and media access faults.\u003C\u002Fp>\u003Cp>For anyone debugging packet loss or building networked systems, the takeaway is simple: layer 2 is the local traffic rulebook, and most of its work happens before data ever leaves the segment.\u003C\u002Fp>","The OSI data link layer defines local frame delivery, media access, and error checks between devices on the same network segment.","en.wikipedia.org","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FData_link_layer",null,"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783348379590-4qi2.png","research","en","1eed455b-155a-4dce-9aaf-7f8328e9614f",[17,18,19,20,21,22],"OSI model","data link layer","layer 2","MAC address","Ethernet","WiFi",[24,25,26],"Layer 2 handles local frame delivery between nearby nodes.","LLC and MAC split control, addressing, and medium access.","Error checks and retransmission depend on the link type.",0,"2026-07-06T14:32:29.07434+00:00","2026-07-06T14:32:29.06+00:00","d9ea7297-0ab1-4eb5-9718-c3b1086b0b14",{"tags":32,"relatedLang":35,"relatedPosts":39},[33],{"name":19,"slug":34},"layer-2",{"id":15,"slug":36,"title":37,"language":38},"data-link-layer-osi-layer-2-en-zh","OSI 第2層：資料鏈結層速懂","zh",[40,46,52,58,64,70],{"id":41,"slug":42,"title":43,"cover_image":44,"image_url":44,"created_at":45,"category":13},"9d81e592-6c7e-48e4-8e0d-10e4c74d595f","camvla-calibration-free-view-robust-vla-en","CamVLA makes robot policies view-robust","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783404180114-4njo.png","2026-07-07T06:02:31.927927+00:00",{"id":47,"slug":48,"title":49,"cover_image":50,"image_url":50,"created_at":51,"category":13},"7f13f21d-e4cd-4ed5-bf73-10c328681594","osi-model-explained-networking-layers-en","The OSI model still explains networking well","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783346592828-6a7d.png","2026-07-06T14:02:38.619749+00:00",{"id":53,"slug":54,"title":55,"cover_image":56,"image_url":56,"created_at":57,"category":13},"c2d5749a-f8c3-460f-bdcc-019aa1bf2552","evaluation-protocols-fine-tuned-llms-2026-en","Evaluation Protocols for Fine-Tuned LLMs in 2026","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783101774147-96vm.png","2026-07-03T18:02:25.049896+00:00",{"id":59,"slug":60,"title":61,"cover_image":62,"image_url":62,"created_at":63,"category":13},"ca28a691-10df-40cc-86fa-4684b467c452","deepspec-data-regeneration-pipeline-qwen3-eagle3-en","DeepSpec should be treated as a data-regeneration pipeline, not a tra…","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783080168119-497r.png","2026-07-03T12:02:18.983093+00:00",{"id":65,"slug":66,"title":67,"cover_image":68,"image_url":68,"created_at":69,"category":13},"93228acd-047c-403b-bbbb-15e1498522df","program-as-weights-fuzzy-functions-en","Program-as-Weights turns prompts into reusable tools","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783062181621-asl2.png","2026-07-03T07:02:33.067987+00:00",{"id":71,"slug":72,"title":73,"cover_image":74,"image_url":74,"created_at":75,"category":13},"7c19a29b-70e8-4982-8b8d-9fff544d2984","lacuna-llm-unlearning-localization-testbed-en","LACUNA tests whether LLM unlearning really erases","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1783060371861-ttwp.png","2026-07-03T06:32:31.852501+00:00",[77,82,87,92,97,102,107,112,117,122],{"id":78,"slug":79,"title":80,"created_at":81},"a2715e72-1fe8-41b3-abb1-d0cf1f710189","ai-predictions-2026-big-changes-en","AI Predictions for 2026: Brace for Big Changes","2026-03-26T01:25:07.788356+00:00",{"id":83,"slug":84,"title":85,"created_at":86},"8404bd7b-4c2f-4109-9ec4-baf29d88af2b","ml-papers-of-the-week-github-research-desk-en","ML Papers of the Week Turns GitHub Into a Research Desk","2026-03-27T01:11:39.480259+00:00",{"id":88,"slug":89,"title":90,"created_at":91},"87897a94-8065-4464-a016-1f23e89e17cc","ai-ml-conferences-to-watch-in-2026-en","AI\u002FML Conferences to Watch in 2026","2026-03-27T01:51:54.184108+00:00",{"id":93,"slug":94,"title":95,"created_at":96},"6f1987cf-25f3-47a4-b3e6-db0997695be8","openclaw-agents-manipulated-self-sabotage-en","OpenClaw Agents Can Be Manipulated Into Failure","2026-03-28T03:03:18.899465+00:00",{"id":98,"slug":99,"title":100,"created_at":101},"a53571ad-735a-4178-9f93-cb09b699d99c","vega-driving-language-instructions-en","Vega: Driving with Natural Language Instructions","2026-03-28T14:54:04.698882+00:00",{"id":103,"slug":104,"title":105,"created_at":106},"a34581d6-f36e-46da-88bb-582fb3e7425c","personalizing-autonomous-driving-styles-en","Drive My Way: Personalizing Autonomous Driving Styles","2026-03-28T14:54:26.148181+00:00",{"id":108,"slug":109,"title":110,"created_at":111},"2bc1ad7f-26ce-4f02-9885-803b35fd229d","training-knowledge-bases-writeback-rag-en","Training Knowledge Bases with WriteBack-RAG","2026-03-28T14:54:45.643433+00:00",{"id":113,"slug":114,"title":115,"created_at":116},"71adc507-3c54-4605-bbe2-c966acd6187e","packforcing-long-video-generation-en","PackForcing: Efficient Long-Video Generation Method","2026-03-28T14:55:02.646943+00:00",{"id":118,"slug":119,"title":120,"created_at":121},"675942ef-b9ec-4c5f-a997-381250b6eacb","pixelsmile-facial-expression-editing-en","PixelSmile Framework Enhances Facial Expression Editing","2026-03-28T14:55:20.633463+00:00",{"id":123,"slug":124,"title":125,"created_at":126},"6954fa2b-8b66-4839-884b-e46f89fa1bc3","adaptive-block-scaled-data-types-en","IF4: Smarter 4-Bit Quantization That Adapts to Your Data","2026-03-31T06:00:36.65963+00:00"]