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 (D)</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. (D)</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 (C)</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. (D)</p> Signup and view all the answers

Which technology is primarily associated with half-duplex communication?

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

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

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

How does a Layer 2 Ethernet switch make forwarding decisions?

<p>Based on Layer 2 MAC addresses (B)</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 (C)</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 (B)</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 (A)</p> Signup and view all the answers

What characterizes a multicast IP address?

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

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

<p>Content Addressable Memory (CAM) (A)</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 (B)</p> Signup and view all the answers

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

<p>Reduces the used bandwidth (D)</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 (B)</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 (A)</p> Signup and view all the answers

What unique advantage does shared memory buffering provide?

<p>Enhances transmission of larger frames with fewer drops (B)</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 (C)</p> Signup and view all the answers

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

<p>Cut-through switching (D)</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 (C)</p> Signup and view all the answers

Which of the following describes the LLC sublayer?

<p>Facilitates communication between networking layers and hardware (C)</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 (D)</p> Signup and view all the answers

What information does an Ethernet frame contain?

<p>Source and destination MAC addresses (B)</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 (B)</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 (B)</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 (B)</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 (B)</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 (D)</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 (D)</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 (D)</p> Signup and view all the answers

What MAC address is used in an Ethernet broadcast frame?

<p>FF-FF-FF-FF-FF-FF (D)</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) (D)</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 (A)</p> Signup and view all the answers

What destination MAC address is used for IPv4 multicast packets?

<p>01-00-5E (A)</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 (A)</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 (A)</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 (A)</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 (A)</p> Signup and view all the answers

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

<p>Performance issues on the link (C)</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 (A)</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 (A)</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 (D)</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 (C)</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 (B)</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 (A)</p> Signup and view all the answers

Flashcards

Data Link Layer Purpose

The Data Link Layer prepares data for transmission on specific media, enabling upper layers to access the network. It controls how data is placed and received, ensuring reliable communication.

Data Link Layer Functions

The Data Link Layer handles data encapsulation (framing), media access control (MAC), error detection, and frame rejection, ensuring reliable data transfer between network endpoints.

LLC Sublayer Role

The Logical Link Control (LLC) sublayer of the Data Link Layer communicates with higher layers (e.g., Network Layer) and coordinates data transmission. It also manages flow control and error handling.

MAC Sublayer Role

The Media Access Control (MAC) sublayer of the Data Link Layer is responsible for accessing the physical network media. It handles frame formatting, addressing, and physical access control.

Signup and view all the flashcards

Ethernet Frame

An Ethernet frame is the standard data unit used for transmitting data over an Ethernet network. It includes various fields, such as source and destination MAC addresses, payload data, and error checks.

Signup and view all the flashcards

Ethernet MAC Address

A unique identifier assigned to each network interface card (NIC). It's a 48-bit address used for recognizing devices on an Ethernet network.

Signup and view all the flashcards

MAC Address Table

A table maintained by network switches to store MAC addresses and their associated port numbers. It enables efficient frame forwarding by matching destination MAC addresses to port numbers.

Signup and view all the flashcards

Switch Forwarding Methods

Switches use various methods to forward frames, such as cut-through forwarding, store-and-forward, and fragment-free forwarding. Each method has trade-offs in terms of speed and error detection.

Signup and view all the flashcards

Point-to-Point Topology

Direct connection between two devices, enabling communication only between them.

Signup and view all the flashcards

Hub and Spoke Topology

All devices connect to a central hub, which acts as a relay point for communication.

Signup and view all the flashcards

Mesh Topology

Each device is connected to every other device, creating redundant paths for communication.

Signup and view all the flashcards

Star Topology

All devices connect to a central device, but each device has a dedicated connection.

Signup and view all the flashcards

Bus Topology

Devices are connected in a linear chain with data traveling in both directions, requiring termination at the ends.

Signup and view all the flashcards

Ring Topology

Devices are connected in a circular loop, with data flowing in one direction.

Signup and view all the flashcards

Half-Duplex Communication

Only one device can transmit or receive on a shared medium at a time.

Signup and view all the flashcards

Full-Duplex Communication

Both devices can transmit and receive simultaneously on a shared medium.

Signup and view all the flashcards

Unicast MAC Address

A unique MAC address used to send a frame from one specific device to another specific device on an Ethernet network.

Signup and view all the flashcards

ARP (Address Resolution Protocol)

The process used to resolve an IPv4 address to a corresponding MAC address on the local network.

Signup and view all the flashcards

Neighbor Discovery (ND)

The process used to resolve an IPv6 address to a corresponding MAC address on the local network.

Signup and view all the flashcards

Ethernet Broadcast Frame

A frame sent to all devices on an Ethernet network, identified by the destination MAC address FF-FF-FF-FF-FF-FF.

Signup and view all the flashcards

Broadcast Domain

A network segment where all devices receive broadcast traffic.

Signup and view all the flashcards

Ethernet Multicast Frame

A frame sent to a specific group of devices on an Ethernet network, identified by a multicast MAC address.

Signup and view all the flashcards

Multicast Snooping

A feature on Ethernet switches to optimize multicast traffic by only forwarding the frame to ports that are members of the multicast group.

Signup and view all the flashcards

Spanning Tree Protocol (STP)

A protocol used on Ethernet networks to prevent loops and ensure there is a single path between any two devices.

Signup and view all the flashcards

Switch Speed: Cut-Through

A fast forwarding method that immediately forwards a packet after reading the destination address, minimizing latency.

Signup and view all the flashcards

Switch Speed: Fragment-Free

A forwarding method where the switch stores and checks the entire frame before forwarding, ensuring no fragments are transmitted.

Signup and view all the flashcards

Switch Buffering: Port-Based

Each port has its own queue for storing frames. Frames are transmitted when the queue ahead is clear.

Signup and view all the flashcards

Switch Buffering: Shared Memory

All switch ports share a common memory buffer for storing frames, allowing dynamic allocation of buffer space and efficient frame transmission.

Signup and view all the flashcards

Switch Speed: Latency

The delay between receiving and forwarding a packet, a key factor in network performance.

Signup and view all the flashcards

Switch Speed: Error Checking

Ensuring the integrity of a frame by checking for errors before forwarding.

Signup and view all the flashcards

Switch Buffering: Asymmetric Switching

Allows different data rates on different ports, crucial for handling diverse traffic scenarios.

Signup and view all the flashcards

Switch Speed: Bandwidth

The maximum amount of data that can be transmitted over a network connection.

Signup and view all the flashcards

What are multicast addresses?

Multicast addresses represent a group of addresses (sometimes called a host group) and are used as the destination of a packet.

Signup and view all the flashcards

What is the source of a multicast packet?

The source of a multicast packet is always a unicast address.

Signup and view all the flashcards

How are multicast addresses similar to unicast and broadcast addresses?

Multicast IP addresses, like unicast and broadcast addresses, require a corresponding multicast MAC address.

Signup and view all the flashcards

What is the MAC address table?

A Layer 2 Ethernet switch uses a MAC address table to make forwarding decisions. It's a list of MAC addresses and the port they're connected to.

Signup and view all the flashcards

What happens when a switch is turned on?

When a switch is turned on, the MAC address table is empty. It only learns addresses as devices connect.

Signup and view all the flashcards

How does the switch learn MAC addresses?

The switch learns MAC addresses by examining the source MAC address of each frame and the port it enters on. It adds new entries to the table and updates existing ones.

Signup and view all the flashcards

What happens if a MAC address is already in the table but on a different port?

If a MAC address is in the table but on a different port, the switch treats it as a new entry and updates the table with the new port number.

Signup and view all the flashcards

How long does the switch keep an entry in the MAC address table?

By default, most Ethernet switches keep an entry in the table for 5 minutes. If no activity is detected, the entry is removed.

Signup and view all the flashcards

Duplex Settings

Determine how devices communicate over a network. Full-duplex allows simultaneous sending and receiving, while half-duplex restricts sending and receiving to one device at a time.

Signup and view all the flashcards

Autonegotiation

A process where Ethernet devices automatically negotiate the best speed and duplex configuration for a connection.

Signup and view all the flashcards

Duplex Mismatch

When two connected devices have different duplex settings (one full-duplex, one half-duplex), leading to network problems.

Signup and view all the flashcards

Switch Speed

The rate at which a switch port can send and receive data, measured in Mbps (Megabits per second), e.g., 10 Mbps, 100 Mbps, 1000 Mbps (Gigabit).

Signup and view all the flashcards

Auto-MDIX

An automatic feature on switches that detects the type of cable (straight-through or crossover) connected and configures the port accordingly.

Signup and view all the flashcards

Straight-Through Cable

A cable used to connect devices of the same type, e.g., a switch to another switch or computer to a switch.

Signup and view all the flashcards

Crossover Cable

A cable used to connect devices of different types, e.g. a router to a computer or a switch to a hub.

Signup and view all the flashcards

Gigabit Ethernet

A network technology that operates at a speed of 1000 Mbps (Gigabit per second), significantly faster than traditional 10/100 Mbps Ethernet.

Signup and view all the flashcards

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

Use Quizgecko on...
Browser
Browser