ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Computer Networks
    COMP2119
    Progress0 / 24 topics
    Topics
    1. Introduction and Protocols Architecture2. Basic Concepts of Networking3. Network Topologies4. Layered Architecture5. Physical Layer Functionality6. Data Link Layer Functionality7. Multiple Access Techniques8. Circuit Switching and Packet Switching9. LAN Technologies10. Wireless Networks11. MAC Addressing12. Networking Devices13. Network Layer Protocols14. IPv4 and IPv615. IP Addressing16. Sub Netting17. CIDR18. Routing Protocols19. Transport Layer Protocols20. Ports and Sockets21. Connection Establishment22. Flow and Congestion Control23. Application Layer Protocols24. Latest Trends in Computer Networks
    CC-214›Data Link Layer Functionality
    Computer NetworksTopic 6 of 24

    Data Link Layer Functionality

    3 minread
    561words
    Beginnerlevel

    The Data Link Layer is the second layer of the OSI model and plays a critical role in the reliable transmission of data over a physical medium. It acts as a bridge between the physical layer and the network layer, ensuring that data packets are transmitted smoothly between devices on the same local area network (LAN). Here’s an overview of its functionalities:

    Key Functions of the Data Link Layer

    1. Framing:

      • The data link layer encapsulates network layer packets into frames. A frame includes not only the payload (the actual data) but also header and trailer information that helps manage the data as it travels through the network.
    2. Physical Addressing:

      • Unlike the network layer, which uses logical addressing (like IP addresses), the data link layer uses physical addresses (MAC addresses) to identify devices on the same network. Each device's network interface card (NIC) has a unique MAC address.
    3. Error Detection and Correction:

      • The data link layer is responsible for detecting and possibly correcting errors that occur during transmission. It uses techniques like checksums or cyclic redundancy checks (CRC) to ensure data integrity. If errors are detected, the data link layer can request retransmission of the affected frames.
    4. Flow Control:

      • This function manages the rate of data transmission between sender and receiver to prevent overwhelming the receiving device. Techniques like stop-and-wait or sliding window protocols are used to ensure that data is sent at a manageable rate.
    5. Medium Access Control (MAC):

      • The data link layer determines how multiple devices share the same communication medium (like a cable or wireless frequency). It employs protocols to manage access to the medium, preventing collisions and ensuring orderly transmission. Common MAC protocols include:
        • CSMA/CD (Carrier Sense Multiple Access with Collision Detection): Used in wired Ethernet networks.
        • CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance): Used in wireless networks (like Wi-Fi).
    6. Link Establishment and Termination:

      • The data link layer establishes and terminates the logical link between devices, ensuring that the connection is ready for data transmission and properly closed afterward.
    7. Link Layer Security:

      • Some data link layer protocols offer basic security features, such as encryption and authentication, to ensure secure communication over the network.

    Examples of Data Link Layer Technologies

    • Ethernet:

      • The most common wired networking technology, using frames to transmit data over twisted pair or fiber optic cables. It employs the CSMA/CD protocol for managing access to the medium.
    • Wi-Fi (Wireless LAN):

      • A wireless networking technology that uses radio waves. It relies on CSMA/CA for medium access control and frames for data transmission.
    • PPP (Point-to-Point Protocol):

      • A protocol used for direct connections between two nodes, commonly used in dial-up internet connections and some VPNs. It supports framing, error detection, and authentication.
    • HDLC (High-Level Data Link Control):

      • A bit-oriented synchronous data link layer protocol that provides framing, error detection, and control for point-to-point and multipoint links.

    Conclusion

    The data link layer is essential for ensuring that data is reliably transmitted over a local network. By managing framing, addressing, error detection, flow control, and medium access, it provides a stable foundation for network communication. Understanding the data link layer is crucial for network administrators and engineers, as it directly affects the efficiency and reliability of data transmission. If you have further questions or would like to explore specific aspects in more detail, feel free to ask!

    Previous topic 5
    Physical Layer Functionality
    Next topic 7
    Multiple Access Techniques

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time3 min
      Word count561
      Code examples0
      DifficultyBeginner