OSI Data Link Layer (Layer 2) Basics
10 Questions
43 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the purpose of the preamble in an Ethernet frame?

  • To synchronize the receiver and sender clock rates (correct)
  • To detect errors in the frame
  • To specify the destination MAC address
  • To indicate the higher-layer protocol
  • What happens to the frame if the CRC check fails?

  • The frame is simply dropped (correct)
  • The frame is routed to a different destination
  • The frame is retransmitted
  • An error message is sent back to the sender
  • What is the purpose of ARP?

  • To route IP packets across a WAN
  • To assign IP addresses to nodes on a LAN
  • To translate IP addresses to MAC addresses (correct)
  • To provide quality of service guarantees
  • What type of address is used in an ARP query packet?

    <p>IP address</p> Signup and view all the answers

    What happens when a node receives a frame with a matching destination address?

    <p>The frame is passed to the net-layer protocol</p> Signup and view all the answers

    What is the purpose of the Type field in an Ethernet frame?

    <p>To indicate the higher-layer protocol</p> Signup and view all the answers

    What is the length of a MAC address in an Ethernet frame?

    <p>6 bytes</p> Signup and view all the answers

    What is the purpose of ARP in a LAN?

    <p>To create ARP tables without intervention from the net administrator</p> Signup and view all the answers

    What is soft state information?

    <p>Information that times out unless refreshed</p> Signup and view all the answers

    What happens when a node receives an ARP query packet?

    <p>The node sends a reply packet with its MAC address</p> Signup and view all the answers

    Study Notes

    • The data link layer is responsible for transferring datagrams from one node to an adjacent node over a link.
    • The layer provides error detection and correction, link layer addressing, and framing services.
    • Nodes in a network include hosts, routers, bridges, and switches.
    • Communication channels that connect adjacent nodes along a communication path are referred to as links.
    • Links can be wired or wireless and can be part of a LAN.
    • A 2-PDU is a frame, which encapsulates a datagram.
    • Framing involves encapsulating a datagram into a frame with a header and trailer.
    • Link access involves channel access control for shared media.
    • Physical addresses are used in frame headers to identify source and destination nodes.
    • Reliable delivery is ensured between adjacent nodes using techniques learned in the transport layer.
    • Flow control involves pacing between adjacent sending and receiving nodes.
    • Error detection involves detecting errors caused by signal attenuation, noise, and other factors.

    ARP: Address Resolution Protocol

    • ARP is used to determine the MAC address of a node knowing its IP address.
    • Each IP node on a LAN has an ARP table that maps IP addresses to MAC addresses.
    • The ARP table has an entry for each IP/MAC address mapping with a TTL (Time To Live) value.
    • The TTL value determines how long the address mapping will be cached.

    ARP Protocol

    • When a node (A) wants to send a datagram to another node (B) and doesn't know B's MAC address, it broadcasts an ARP query packet.
    • The ARP query packet contains B's IP address.
    • All nodes on the LAN receive the ARP query packet, and the destination node (B) responds with its MAC address.
    • The responding node sends a frame to the sender's MAC address with its MAC address.
    • The ARP table is updated with the IP-to-MAC address mapping.

    Ethernet Frame Structure

    • The Ethernet frame structure consists of a preamble, addresses, type, data, and CRC (Cyclic Redundancy Check).
    • The preamble is used to synchronize the receiver and sender clock rates.
    • The addresses are 6 bytes long and are used to identify the destination node.
    • The type field indicates the higher layer protocol (e.g., IP).
    • The CRC is used to detect errors in the frame.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Learn about the data link layer, its responsibilities, and services including error detection, correction, and link layer addressing.

    More Like This

    OSI Model Layers: Encapsulation and De-Encapsulation
    10 questions
    Networking Fundamentals: Repeaters
    10 questions
    Networking Lecture 3: OSI and TCP/IP Models
    10 questions
    Use Quizgecko on...
    Browser
    Browser