quiz image

Sem 2 Networking Programming Week 5-1 Data Link Layer

LuxuryAbundance avatar
LuxuryAbundance
·
·
Download

Start Quiz

Study Flashcards

22 Questions

What is the primary function of the Data Link Layer?

To encapsulate Layer 3 packets into Layer 2 frames

What is the purpose of the Logical Link Control (LLC) sublayer?

To communicate between networking software and device hardware

What is the purpose of the Media Access Control (MAC) sublayer?

To provide media access control and data encapsulation

What happens to packets as they travel through multiple data link layers and media transitions?

They undergo de-encapsulation, re-encapsulation, and forwarding

What organization defines data link layer protocols for LANs and MANs?

IEEE

What is the term for the arrangement and relationship of network devices and interconnections?

Network topology

What is the purpose of the data link layer in a WAN environment?

To encapsulate Layer 3 packets into Layer 2 frames

What is the term for a communication system that allows data to be transmitted in both directions, but not simultaneously?

Half-duplex

What is the primary purpose of a physical topology in network description?

To show physical connections and how devices are interconnected

What is the primary function of the header and trailer in a data link frame?

To encapsulate the data and provide control information

Which WAN topology is similar to a star topology?

Hub and spoke

What is a characteristic of point-to-point WAN protocols?

They can be very simple

What is the main difference between half-duplex and full-duplex communication?

The ability of devices to simultaneously transmit and receive

What type of access control method is used in WLANs and legacy bus topologies with Ethernet hubs?

Contention-based access

What is the typical topology used to interconnect end devices on LANs?

Star or extended star

What is the purpose of the frame start and stop fields in a data link frame?

To identify the beginning and end of the frame

Which of the following is a benefit of a mesh WAN topology?

It provides high availability

What is the main advantage of star and extended star topologies?

They are easy to install and troubleshoot

What is true about nodes in a point-to-point WAN topology?

They may not share the media with other hosts

What type of WAN protocol is used for point-to-point connections?

Point-to-Point Protocol (PPP)

What is the purpose of the addressing field in a data link frame?

To identify the source and destination nodes

What type of LAN topology is used in Ethernet networks?

Ethernet

Study Notes

Network Topologies

  • Star and extended star topologies are easy to install, scalable, and easy to troubleshoot.

Bus and Ring Topologies

  • Bus topology: all end systems are chained together and terminated on each end.
  • Ring topology: each end system is connected to its respective neighbors to form a ring.

Communication Modes

  • Half-duplex communication: only allows one device to send or receive at a time on a shared medium.
  • Full-duplex communication: allows both devices to simultaneously transmit and receive on a shared medium.

Access Control Methods

  • Contention-based access: CSMA/CD and CSMA/CA.
  • Controlled access: used on WLANs and legacy bus topologies with Ethernet hubs.
  • A data link frame consists of a header, data, and trailer.
  • The fields of the header and trailer vary according to the data link layer protocol.

Frame Fields

  • Frame Start and Stop: identify the beginning and end of a frame.
  • Addressing: indicates source and destination nodes.
  • Types: identifies the encapsulated Layer 3 protocol.
  • Control: identifies flow control services.
  • Data: contains the frame payload.
  • Error Detection: used to detect transmission errors.

LAN and WAN Frames

  • LAN and WAN frames use different data link layer protocols, such as Ethernet, 802.11 Wireless, Point-to-Point (PPP), High-Level Data Link Control (HDLC), and Frame-Relay.

Layer 2 Addresses

  • Also referred to as a physical address.
  • Contained in the frame header.
  • Used only for local delivery of a frame on the link.
  • Updated by each device that forwards the frame.
  • Responsible for communications between end-device network interface cards.
  • Allows upper layer protocols to access the physical layer media and encapsulates Layer 3 packets into Layer 2 frames.
  • Performs error detection and rejects corrupt frames.
  • Consists of two sublayers: Logical Link Control (LLC) and Media Access Control (MAC).
  • LLC sublayer communicates between networking software and device hardware.
  • MAC sublayer is responsible for data encapsulation and media access.

Providing Access to Media

  • Routers perform four basic Layer 2 functions: accepting a frame, de-encapsulating, re-encapsulating, and forwarding.
  • Defined by engineering organizations: IEEE, ITU, ISO, and ANSI.

Physical and Logical Topologies

  • Physical topology: shows physical connections and interconnections between devices.
  • Logical topology: identifies virtual connections between devices using device interfaces and IP addressing schemes.

WAN Topologies

  • Point-to-point: a permanent link between two endpoints.
  • Hub and spoke: a central site interconnects branch sites through point-to-point links.
  • Mesh: provides high availability but requires every end system to be connected to every other end system.

This quiz covers different network topologies, including star, extended star, bus, and ring topologies. It explains the characteristics and advantages of each topology.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser