Podcast
Questions and Answers
Which topology connects two endpoints and routes all communications through a central device?
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?
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?
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?
In which access control method do all nodes compete for the use of the medium?
What is a defining feature of a mesh topology?
What is a defining feature of a mesh topology?
In which access control method does each node have its designated time on the medium?
In which access control method does each node have its designated time on the medium?
What is a primary benefit of star and extended star topologies?
What is a primary benefit of star and extended star topologies?
Which technology is primarily associated with half-duplex communication?
Which technology is primarily associated with half-duplex communication?
What type of address is always used as the source in multicast communication?
What type of address is always used as the source in multicast communication?
How does a Layer 2 Ethernet switch make forwarding decisions?
How does a Layer 2 Ethernet switch make forwarding decisions?
What happens when a switch receives a frame with a source MAC address that already exists in its table but on a different port?
What happens when a switch receives a frame with a source MAC address that already exists in its table but on a different port?
What happens to the MAC address table when the switch is powered on?
What happens to the MAC address table when the switch is powered on?
What is the function of the refresh timer in a MAC address table?
What is the function of the refresh timer in a MAC address table?
What characterizes a multicast IP address?
What characterizes a multicast IP address?
In what memory format is the MAC address table referred to?
In what memory format is the MAC address table referred to?
What occurs when a switch checks a frame's source MAC address upon receipt?
What occurs when a switch checks a frame's source MAC address upon receipt?
What is a major advantage of discarding frames with errors in networking?
What is a major advantage of discarding frames with errors in networking?
What is a disadvantage of the cut-through method of switching?
What is a disadvantage of the cut-through method of switching?
How does port-based memory buffering in switches operate?
How does port-based memory buffering in switches operate?
What unique advantage does shared memory buffering provide?
What unique advantage does shared memory buffering provide?
What is the primary function of the data link layer?
What is the primary function of the data link layer?
Which type of switching method offers the lowest level of latency?
Which type of switching method offers the lowest level of latency?
What consequence can result from a busy destination port in port-based buffering?
What consequence can result from a busy destination port in port-based buffering?
Which of the following describes the LLC sublayer?
Which of the following describes the LLC sublayer?
What is one characteristic of asymmetric switching as mentioned in the content?
What is one characteristic of asymmetric switching as mentioned in the content?
What information does an Ethernet frame contain?
What information does an Ethernet frame contain?
Which networking technique reduces the amount of bandwidth used but may increase latency?
Which networking technique reduces the amount of bandwidth used but may increase latency?
How does a switch build its MAC address table?
How does a switch build its MAC address table?
What is the role of the MAC sublayer in the data link layer?
What is the role of the MAC sublayer in the data link layer?
What characteristic distinguishes WAN from LAN regarding media access control methods?
What characteristic distinguishes WAN from LAN regarding media access control methods?
Which statement best describes the function of error detection in the data link layer?
Which statement best describes the function of error detection in the data link layer?
What is the significance of switch speeds and forwarding methods in a Layer 2 switch?
What is the significance of switch speeds and forwarding methods in a Layer 2 switch?
What is the purpose of a unicast MAC address in Ethernet communication?
What is the purpose of a unicast MAC address in Ethernet communication?
What MAC address is used in an Ethernet broadcast frame?
What MAC address is used in an Ethernet broadcast frame?
Which protocol is used by a source host to determine the destination MAC address for an IPv4 address?
Which protocol is used by a source host to determine the destination MAC address for an IPv4 address?
How does an Ethernet switch handle broadcast frames?
How does an Ethernet switch handle broadcast frames?
What destination MAC address is used for IPv4 multicast packets?
What destination MAC address is used for IPv4 multicast packets?
What is true about the source MAC address when sending an Ethernet frame?
What is true about the source MAC address when sending an Ethernet frame?
What happens when a multicast frame is received by a device not part of the multicast group?
What happens when a multicast frame is received by a device not part of the multicast group?
Which of the following statements accurately describes an Ethernet multicast frame?
Which of the following statements accurately describes an Ethernet multicast frame?
What is the primary role of autonegotiation in Ethernet switches?
What is the primary role of autonegotiation in Ethernet switches?
What issue can arise from a duplex mismatch on Ethernet links?
What issue can arise from a duplex mismatch on Ethernet links?
Which statement about duplex settings is accurate?
Which statement about duplex settings is accurate?
How does auto-MDIX benefit connection setups between devices?
How does auto-MDIX benefit connection setups between devices?
In what scenario is a crossover cable required?
In what scenario is a crossover cable required?
Why is it important for duplex and bandwidth settings to match on a connection?
Why is it important for duplex and bandwidth settings to match on a connection?
What is a key feature of Gigabit Ethernet ports regarding duplex operation?
What is a key feature of Gigabit Ethernet ports regarding duplex operation?
What could be a consequence of improperly configuring only one side of a link?
What could be a consequence of improperly configuring only one side of a link?
Flashcards
Data Link Layer Purpose
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
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
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
MAC Sublayer Role
Signup and view all the flashcards
Ethernet Frame
Ethernet Frame
Signup and view all the flashcards
Ethernet MAC Address
Ethernet MAC Address
Signup and view all the flashcards
MAC Address Table
MAC Address Table
Signup and view all the flashcards
Switch Forwarding Methods
Switch Forwarding Methods
Signup and view all the flashcards
Point-to-Point Topology
Point-to-Point Topology
Signup and view all the flashcards
Hub and Spoke Topology
Hub and Spoke Topology
Signup and view all the flashcards
Mesh Topology
Mesh Topology
Signup and view all the flashcards
Star Topology
Star Topology
Signup and view all the flashcards
Bus Topology
Bus Topology
Signup and view all the flashcards
Ring Topology
Ring Topology
Signup and view all the flashcards
Half-Duplex Communication
Half-Duplex Communication
Signup and view all the flashcards
Full-Duplex Communication
Full-Duplex Communication
Signup and view all the flashcards
Unicast MAC Address
Unicast MAC Address
Signup and view all the flashcards
ARP (Address Resolution Protocol)
ARP (Address Resolution Protocol)
Signup and view all the flashcards
Neighbor Discovery (ND)
Neighbor Discovery (ND)
Signup and view all the flashcards
Ethernet Broadcast Frame
Ethernet Broadcast Frame
Signup and view all the flashcards
Broadcast Domain
Broadcast Domain
Signup and view all the flashcards
Ethernet Multicast Frame
Ethernet Multicast Frame
Signup and view all the flashcards
Multicast Snooping
Multicast Snooping
Signup and view all the flashcards
Spanning Tree Protocol (STP)
Spanning Tree Protocol (STP)
Signup and view all the flashcards
Switch Speed: Cut-Through
Switch Speed: Cut-Through
Signup and view all the flashcards
Switch Speed: Fragment-Free
Switch Speed: Fragment-Free
Signup and view all the flashcards
Switch Buffering: Port-Based
Switch Buffering: Port-Based
Signup and view all the flashcards
Switch Buffering: Shared Memory
Switch Buffering: Shared Memory
Signup and view all the flashcards
Switch Speed: Latency
Switch Speed: Latency
Signup and view all the flashcards
Switch Speed: Error Checking
Switch Speed: Error Checking
Signup and view all the flashcards
Switch Buffering: Asymmetric Switching
Switch Buffering: Asymmetric Switching
Signup and view all the flashcards
Switch Speed: Bandwidth
Switch Speed: Bandwidth
Signup and view all the flashcards
What are multicast addresses?
What are multicast addresses?
Signup and view all the flashcards
What is the source of a multicast packet?
What is the source of a multicast packet?
Signup and view all the flashcards
How are multicast addresses similar to unicast and broadcast addresses?
How are multicast addresses similar to unicast and broadcast addresses?
Signup and view all the flashcards
What is the MAC address table?
What is the MAC address table?
Signup and view all the flashcards
What happens when a switch is turned on?
What happens when a switch is turned on?
Signup and view all the flashcards
How does the switch learn MAC addresses?
How does the switch learn MAC addresses?
Signup and view all the flashcards
What happens if a MAC address is already in the table but on a different port?
What happens if a MAC address is already in the table but on a different port?
Signup and view all the flashcards
How long does the switch keep an entry in the MAC address table?
How long does the switch keep an entry in the MAC address table?
Signup and view all the flashcards
Duplex Settings
Duplex Settings
Signup and view all the flashcards
Autonegotiation
Autonegotiation
Signup and view all the flashcards
Duplex Mismatch
Duplex Mismatch
Signup and view all the flashcards
Switch Speed
Switch Speed
Signup and view all the flashcards
Auto-MDIX
Auto-MDIX
Signup and view all the flashcards
Straight-Through Cable
Straight-Through Cable
Signup and view all the flashcards
Crossover Cable
Crossover Cable
Signup and view all the flashcards
Gigabit Ethernet
Gigabit Ethernet
Signup and view all the flashcards
Study Notes
Data Link Layer
- 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.
Purpose of the Data Link Layer
- 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.
Data Link Sublayers
- 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.
Related Documents
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.