Data link layer Flashcards
What is the Data Link Layer in the OSI Reference Model?
Layer 2 of the OSI Reference Model
The OSI model consists of 7 layers, with the Data Link Layer being the second layer, responsible for node-to-node data transfer.
What are some protocols used at Layer 2?
- Ethernet
- Frame Relay
- High-Level Data Link Control (HDLC)
- Multi-Protocol Label Switching (MPLS)
- Others
Ethernet is the default protocol at Layer 2.
What is the main function of the Data Link Layer?
Forwards frames using MAC Addresses
The Data Link Layer is responsible for the delivery of frames between devices on the same network.
What does the Data Link Layer frame structure consist of?
- Frame Header
- Payload
- Frame Trailer
The payload usually contains upper-layer data and may include control information for the Layer 2 protocol.
What is a MAC Address?
A unique 48-bit address in hexadecimal assigned to every Network Interface Card (NIC)
MAC addresses are also known as physical addresses and are burned into the hardware.
What are the two sections of a MAC Address?
- OUI – Organizationally Unique Identifier (24 bits)
- Vendor Assigned ID (24 bits)
The OUI is assigned by the IEEE to a specific manufacturer.
What types of MAC addresses exist?
- Unicast Addresses
- Broadcast Addresses
- Multicast Addresses
Each type has different addressing rules and purposes in a network.
What is the difference between Physical Topology and Logical Topology?
- Physical Topology: How devices are physically connected
- Logical Topology: How devices communicate inside the network
Understanding both topologies is crucial for network design.
What are common network topologies?
- Bus
- Ring
- Star
- Mesh
Each topology has its own advantages and disadvantages in terms of performance and reliability.
What is a collision domain?
A media segment where collisions can occur
Hubs create a single collision domain, while switches break up collision domains.
How do switches differ from hubs in frame forwarding?
Switches forward frames to specific devices using a MAC address table, while hubs broadcast frames to all ports
This makes switches more efficient and reduces collisions.
What is the purpose of a switch MAC Address Table?
Tracks which MAC address is connected to each switchport
The table is updated over time to ensure accuracy in frame forwarding.
What are the sublayers of the Data Link Layer?
- Logical Link Control
- Media Access Control
These sublayers handle different aspects of data link layer functions.
Fill in the blank: The Data Link Layer uses _______ as its Protocol Data Unit (PDU).
Frame
The frame is the data format used by the Data Link Layer.
True or False: A switch operates in full-duplex mode, allowing send and receive simultaneously.
True
This is one of the advantages of using switches over hubs.
What are the forms of switch form factors?
- Fixed Form
- Chassis
- Stackable
Different form factors cater to various network needs.