Data Link Layer Quiz

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 main purpose of the data link layer?

  • Assign IP addresses to devices
  • Receive IP packets from the transport layer
  • Route data to its destination
  • Encapsulate IP packets into frames (correct)

What is the role of MAC addresses in networking?

  • Determining the type of payload in a frame
  • Identifying the sender and recipient of frames (correct)
  • Routing data between networks
  • Assigning unique IP addresses to devices

What type of message is forwarded to a specific group of devices?

  • Any cast
  • Broadcast
  • Unicast
  • Multicast (correct)

Which statement accurately describes Ethernet addressing?

<p>MAC addresses are 48-bit physical addresses (A)</p> Signup and view all the answers

What do switches use to make forwarding decisions in local networks?

<p>MAC addresses (A)</p> Signup and view all the answers

When PC-A sends a frame to PC-B, what does the switch do?

<p>Adds or updates a MAC address table entry for PC-A (D)</p> Signup and view all the answers

What does a switch do if the destination address is not in the MAC address table?

<p>Forwards the frame out of all ports except the incoming port (A)</p> Signup and view all the answers

In which situation are broadcast and multicast frames handled similarly?

<p>When they are sent out of all ports except the incoming port (A)</p> Signup and view all the answers

What issue can arise when multiple switches are connected to each other?

<p>Formation of layer-2 loops (B)</p> Signup and view all the answers

Which traffic type on the data link layer can lead to collisions on a shared medium?

<p>Half duplex (D)</p> Signup and view all the answers

What does a VLAN allow you to do in a physical network?

<p>Divide it into virtual subnets (D)</p> Signup and view all the answers

Which standard is associated with wireless LAN connectivity?

<p>IEEE 802.11 (C)</p> Signup and view all the answers

Flashcards are hidden until you start studying

Study Notes

  • Receives IP packets from the network layer and encapsulates them into frames.
  • Uses MAC addresses to identify the sender and recipient of frames.

Ethernet

  • Most common standard used in wired LAN networks.
  • Ethernet frame consists of three parts: header, payload, and trailer.

MAC Addressing

  • MAC addresses are 48-bit physical addresses used to identify host devices in a local network.
  • Each network interface card (NIC) has a unique MAC address that does not change.

Ethernet Address Types

  • Unicast messages: intended for a single, known recipient.
  • Multicast messages: forwarded to a specific group of devices.
  • Broadcast messages: forwarded to all devices in the local network segment.

Switches

  • Layer-2 devices that forward frames in local networks based on MAC addresses.
  • Store information about connected devices and their MAC addresses in a MAC address table.
  • Fill the MAC address table based on the source addresses of incoming frames.
  • Forward frames based on the MAC address table.
  • If a destination address is in the MAC address table, the switch forwards the frame out of that port.
  • If the destination address is not in the MAC address table, the switch forwards the frame out of all ports except the incoming port.

Loop Prevention

  • Spanning tree protocols (STP) prevent layer-2 loops by logically blocking redundant paths.
  • Loops can quickly bring down the entire network if not prevented.

Duplex

  • Half duplex: only one end of a connection can send data at a time, while the other end listens.
  • Full duplex: both ends of a connection can send data and listen at the same time.
  • Modern wired networks use full duplex.

VLANs

  • Virtual LANs (VLAN) divide a physical network into virtual subnets.
  • Based on the IEEE 802.1q (dot1q) standard.
  • VLANs are handled by switches that tag data with VLAN tags to specify what VLAN the data belongs to.

Wi-Fi

  • IEEE 802.11 is a group of standards for wireless LAN connectivity.
  • Latest Wi-Fi standard is Wi-Fi 6e (or 802.11ax), published in 2021.

Studying That Suits You

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

Quiz Team

More Like This

Use Quizgecko on...
Browser
Browser