Data Link Layer Overview
48 Questions
0 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

Which topology connects two endpoints and routes all communications through a central device?

  • Mesh
  • Point-to-point (correct)
  • Hybrid
  • Hub and Spoke
  • What characteristic is associated with full-duplex communication?

  • Devices can transmit and receive simultaneously. (correct)
  • All devices must share a single transmission time.
  • Devices can only send or receive one at a time.
  • Shared medium usage is strictly alternated.
  • Which of the following topologies employs a chain of interconnected end systems terminated on each end?

  • Bus (correct)
  • Ring
  • Mesh
  • Star
  • In which access control method do all nodes compete for the use of the medium?

    <p>Contention-based access</p> Signup and view all the answers

    What is a defining feature of a mesh topology?

    <p>Systems are directly connected to every other system.</p> Signup and view all the answers

    In which access control method does each node have its designated time on the medium?

    <p>Controlled access</p> Signup and view all the answers

    What is a primary benefit of star and extended star topologies?

    <p>They are easy to troubleshoot and scalable.</p> Signup and view all the answers

    Which technology is primarily associated with half-duplex communication?

    <p>Wireless LANs</p> Signup and view all the answers

    What type of address is always used as the source in multicast communication?

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

    How does a Layer 2 Ethernet switch make forwarding decisions?

    <p>Based on Layer 2 MAC addresses</p> Signup and view all the answers

    What happens when a switch receives a frame with a source MAC address that already exists in its table but on a different port?

    <p>The existing entry is updated with the new port number</p> Signup and view all the answers

    What happens to the MAC address table when the switch is powered on?

    <p>It is empty until frames are received</p> Signup and view all the answers

    What is the function of the refresh timer in a MAC address table?

    <p>To automatically delete inactive MAC addresses</p> Signup and view all the answers

    What characterizes a multicast IP address?

    <p>It represents a group of addresses</p> Signup and view all the answers

    In what memory format is the MAC address table referred to?

    <p>Content Addressable Memory (CAM)</p> Signup and view all the answers

    What occurs when a switch checks a frame's source MAC address upon receipt?

    <p>It adds or updates the source MAC in its table</p> Signup and view all the answers

    What is a major advantage of discarding frames with errors in networking?

    <p>Reduces the used bandwidth</p> Signup and view all the answers

    What is a disadvantage of the cut-through method of switching?

    <p>No error checking before forwarding packets</p> Signup and view all the answers

    How does port-based memory buffering in switches operate?

    <p>Stores frames in linked queues specific to incoming and outgoing ports</p> Signup and view all the answers

    What unique advantage does shared memory buffering provide?

    <p>Enhances transmission of larger frames with fewer drops</p> Signup and view all the answers

    What is the primary function of the data link layer?

    <p>To control how data is placed and received on the media</p> Signup and view all the answers

    Which type of switching method offers the lowest level of latency?

    <p>Cut-through switching</p> Signup and view all the answers

    What consequence can result from a busy destination port in port-based buffering?

    <p>Delayed transmission of all other frames in memory</p> Signup and view all the answers

    Which of the following describes the LLC sublayer?

    <p>Facilitates communication between networking layers and hardware</p> Signup and view all the answers

    What is one characteristic of asymmetric switching as mentioned in the content?

    <p>Allows different data rates on different ports</p> Signup and view all the answers

    What information does an Ethernet frame contain?

    <p>Source and destination MAC addresses</p> Signup and view all the answers

    Which networking technique reduces the amount of bandwidth used but may increase latency?

    <p>Store-and-forward switching</p> Signup and view all the answers

    How does a switch build its MAC address table?

    <p>By analyzing incoming frames to learn the source MAC addresses</p> Signup and view all the answers

    What is the role of the MAC sublayer in the data link layer?

    <p>To facilitate media access control and data encapsulation</p> Signup and view all the answers

    What characteristic distinguishes WAN from LAN regarding media access control methods?

    <p>LANs typically have lower latency compared to WANs</p> Signup and view all the answers

    Which statement best describes the function of error detection in the data link layer?

    <p>It checks for corrupted frames and rejects them before passing to upper layers</p> Signup and view all the answers

    What is the significance of switch speeds and forwarding methods in a Layer 2 switch?

    <p>They influence how quickly data frames can be processed and forwarded</p> Signup and view all the answers

    What is the purpose of a unicast MAC address in Ethernet communication?

    <p>To send frames from a single transmitting device to a single destination device</p> Signup and view all the answers

    What MAC address is used in an Ethernet broadcast frame?

    <p>FF-FF-FF-FF-FF-FF</p> Signup and view all the answers

    Which protocol is used by a source host to determine the destination MAC address for an IPv4 address?

    <p>Address Resolution Protocol (ARP)</p> Signup and view all the answers

    How does an Ethernet switch handle broadcast frames?

    <p>It floods the frame out all ports except the incoming port</p> Signup and view all the answers

    What destination MAC address is used for IPv4 multicast packets?

    <p>01-00-5E</p> Signup and view all the answers

    What is true about the source MAC address when sending an Ethernet frame?

    <p>It must always be a unicast address</p> Signup and view all the answers

    What happens when a multicast frame is received by a device not part of the multicast group?

    <p>It ignores the packet</p> Signup and view all the answers

    Which of the following statements accurately describes an Ethernet multicast frame?

    <p>It contains a MAC address of 33-33 for IPv6 multicast packets</p> Signup and view all the answers

    What is the primary role of autonegotiation in Ethernet switches?

    <p>To automatically negotiate the best speed and duplex capabilities</p> Signup and view all the answers

    What issue can arise from a duplex mismatch on Ethernet links?

    <p>Performance issues on the link</p> Signup and view all the answers

    Which statement about duplex settings is accurate?

    <p>It is best practice to configure both ports as full-duplex</p> Signup and view all the answers

    How does auto-MDIX benefit connection setups between devices?

    <p>It automatically detects and configures cable types for connections</p> Signup and view all the answers

    In what scenario is a crossover cable required?

    <p>For direct connections between a router and a host</p> Signup and view all the answers

    Why is it important for duplex and bandwidth settings to match on a connection?

    <p>To prevent speed degradation on the link</p> Signup and view all the answers

    What is a key feature of Gigabit Ethernet ports regarding duplex operation?

    <p>They only operate in full-duplex mode</p> Signup and view all the answers

    What could be a consequence of improperly configuring only one side of a link?

    <p>Performance issues due to duplex mismatch</p> Signup and view all the answers

    Study Notes

    • The data link layer prepares communication for transmission on specific media.
    • It compares media access control methods on WAN and LAN topologies.

    Ethernet Frames

    • Ethernet sublayers are related to frame fields.
    • Ethernet MAC addresses are described.
    • Switches build MAC address tables and forward frames.
    • Switch forwarding methods and port settings on Layer 2 switch ports are noted.
    • Enables upper layers to access the media.
    • Accepts Layer 3 packets and controls how data is placed and received on the media.
    • Exchanges frames between endpoints over the network media.
    • Receives encapsulated Layer 3 packets and sends them to proper upper-layer protocols.
    • Performs error detection and rejects corrupt frames.
    • LLC Sublayer: Communicates between networking software and device hardware. Places information in the frame that identifies which network layer protocol is being used.
    • MAC Sublayer: Responsible for data encapsulation and media access control. Its internal structure is the Ethernet frame. Ethernet frames have a source and destination MAC address, and a frame check sequence to ensure accuracy. MAC sublayer also handles media access control (allowing devices to communicate over a shared medium).

    Providing Access to Media

    • Packets exchanged between nodes may experience numerous data link layer and media transitions.
    • At each hop, a router accepts a frame, de-encapsulates it to a packet, re-encapsulates it into a new frame, and forwards it.

    WAN Topologies

    • Three common physical WAN topologies include:
      • Point-to-point: simplest, permanent link between two endpoints.
      • Hub and spoke: star topology where a central site links branch sites via point-to-point links.
      • Mesh: every end system interconnected to every other for high availability, requiring many connections.
    • Hybrid: a variation or combination of any topologies.

    LAN Topologies

    • End devices are typically interconnected using a star or extended star topology.
    • Early Ethernet and Legacy Token Ring provide bus and ring topologies.

    Half and Full Duplex Communication

    • Half-duplex: One device sends or receives at a time on a shared medium. Used on WLANs and legacy bus topologies with Ethernet hubs.
    • Full-duplex: Both devices transmit and receive simultaneously on a shared medium. Ethernet switches operate in full-duplex mode.

    Access Control Methods

    • Contention-based: All nodes in half-duplex compete for medium access. Examples include legacy bus-topology Ethernet and wireless LANs (CSMA/CD and CSMA/CA.)
    • Controlled access: Deterministic access; each node has its predetermined time on the medium, used in legacy networks like Token Ring and ARCNET.

    CSMA/CD and CSMA/CA

    • CSMA/CD: Devices detect collisions, wait randomly, and retransmit data. Used by legacy Ethernet.
    • CSMA/CA: Devices include time duration and use collision avoidance to control when sending data. Used by IEEE 802.11 WLANs.

    Ethernet Frame Fields

    • Preamble & SFD: Notification to the receiving node.
    • Destination MAC Address: Receiving node’s physical address.
    • Source MAC Address: Sending node’s physical address.
    • Type/Length: Information about upper layer protocols, data about its purpose.
    • Data: Encapsulated data from upper layers.
    • FCS: Error detection using cyclic redundancy check.

    Ethernet MAC Addresses

    • Unicast: Unique address used for single-to-single communication.
    • Broadcast: Destination MAC address of FF-FF-FF-FF-FF-FF, processed by every device on the LAN.
    • Multicast: Destination MAC address of 01-00-5E and 33-33, processed by a group of devices in the same multicast group.
    • MAC address table identifies connected devices for switch to route data from a device’s MAC address.

    The MAC Address Table

    • Properties: Table is empty at start-up, referred to as content addressable memory (CAM).
    • Switches use MAC addresses to make forwarding decisions.
    • Learning: Switches examines source MAC addresses to determine incoming port, and updates the table based on those connections.

    Switch Learning and Forwarding

    • Learning: Switch checks frames and adds the source MAC address to the table.
      • If source MAC is not found, adds to the table
      • If exists, updates the entry and refresh timer.
    • Forwarding: If the destination MAC is in the table, the switch forwards to the correct port.
    • If the destination MAC is not in the table, forwards to all ports except the incoming port

    Port-based memory and shared memory

    • Port-based memory: Stores frames in queues linked to specific incoming and outgoing ports, transmitting each frame in the queue in order.
    • Shared memory: Stores frames into a common buffer, all ports share for quick and efficient packet transfer, dynamically allocated, allowing transmission with minimal delay.

    Switch Speeds and Forwarding Methods

    • Store-and-forward switching: Waits for complete frame before checks for errors. Higher latency.
    • Cut-through switching: Forwards quickly, as soon as destination address is found; Lower latency, but no error checking.
    • Fast forwarding: Lowest latency cut-through method. Only checks if destination is available on the MAC address table.
    • Fragment-free: Stores and forwards when the frame is completely checked for errors.

    Duplex and Speed Settings

    • Duplex: describes whether communications can occur in both directions simultaneously (full-duplex) or whether only one device can send at any given time (half-duplex).
    • Speed: refers to the data transfer rate.
    • Auto-negotiation: automatically configures the best speed and duplex capabilities for both computers, essential for optimal performance. Note: Gigabit Ethernet ports only operate in full-duplex mode.

    Auto-MDIX

    • Automatic medium-dependent interface crossover that automatically detects cable type and configures interfaces, eliminating the need for specific cables, like crossover or straight-through.

    End

    Studying That Suits You

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

    Quiz Team

    Related Documents

    ITN Module 6 & 7 PDF

    Description

    This quiz explores the Data Link Layer, focusing on its role in preparing communication for transmission over different media. It covers Ethernet frames, MAC addresses, and the functionalities of the LLC and MAC sublayers. Understand how data is managed at Layer 2 and the principles behind error detection and frame exchanging.

    More Like This

    Ethernet Frames Overview
    8 questions

    Ethernet Frames Overview

    EnergySavingLavender8983 avatar
    EnergySavingLavender8983
    Ethernet Switching Overview
    37 questions
    Use Quizgecko on...
    Browser
    Browser