Module 6: Data Link Layer Flashcards

1
Q

What are the two sublayers of the Data Link Layer and what are their functions?

A

The two sublayers of the Data Link Layer are the Logical Link Control (LLC) and the Media Access Control (MAC). The LLC is responsible for error control, flow control, and framing, while the MAC is responsible for controlling how devices access the network media and how data is transmitted over the media. Together, these sublayers perform error detection and reject corrupt frames to ensure reliable data transmission between network devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the functions of the Logical Link Control (LLC) and Media Access Control (MAC) sublayers in the Data Link Layer?

A

The Logical Link Control (LLC) sublayer in the Data Link Layer serves as a bridge between the networking software at the upper layers and the device hardware at the lower layers. It communicates with the upper layers to ensure reliable data transmission and provides flow control, error control, and framing.
Media Access Control (MAC) sublayer is responsible for data encapsulation and media access control. It determines how data is transmitted over the media and how devices access the network media. Together, the LLC and MAC sublayers ensure error-free and efficient data transmission between network devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the four basic Layer 2 functions performed by a router?

A

A router performs the following four basic Layer 2 functions:

1 Accepts a frame from the network medium.
2 De-encapsulates the frame to expose the encapsulated packet.
3 Re-encapsulates the packet into a new frame.
4 Forwards the new frame on the medium of the next network segment.
The router receives a frame from the network medium, removes the header and trailer added by the previous device to expose the packet, adds a new header and trailer for the next segment, and forwards the new frame to the next network segment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the difference between physical and logical topology

A

The physical topology refers to the physical layout of devices and their interconnections.
Logical topology refers to the way devices communicate over a network using virtual connections and IP addressing schemes.
The physical topology shows the physical arrangement of devices and their interconnections, including cables, connectors, and other physical components.
The logical topology identifies the virtual connections between devices, including the path that data takes from one device to another.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the most common WAN topology?

A

The most common WAN topology is the point-to-point topology, which consists of a permanent link between two endpoints.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does the hub and spoke WAN topology work?

A

The hub and spoke WAN topology is similar to a star topology, where a central site (the hub) interconnects branch sites (the spokes) through point-to-point links.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the mesh WAN topology known for providing?

A

The mesh WAN topology is known for providing high availability, as every end system is connected to every other end system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Do nodes in a point-to-point WAN topology share the media with other hosts?

A

No, nodes in a point-to-point WAN topology may not share the media with other hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Where is half-duplex communication commonly used?

A

Half-duplex communication is commonly used on WLANs (Wireless Local Area Networks) and legacy bus topology with Ethernet hubs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is half-duplex communication?

A

Half-duplex communication allows one device to send or receive at a time on a shared medium.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is full-duplex communication?

A

Full-duplex communication allows both devices to simultaneously transmit and receive on a shared medium.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In what mode do Ethernet switches operate?

A

Ethernet switches operate in full-duplex mode, allowing both devices to transmit and receive simultaneously without any collisions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the difference between CSMA/CD and CSMA/CA, and on what types of networks are they commonly used?

A

CSMA/CD stands for carrier sense multiple access with collision detection and is used on legacy bus-topology Ethernet networks. CSMA/CA stands for carrier sense multiple access with collision avoidance and is used on wireless LANs. The key difference between the two is that CSMA/CD detects collisions that occur when two nodes transmit simultaneously and takes steps to resolve them, while CSMA/CA attempts to avoid collisions in the first place by having nodes wait for a brief time before transmitting to ensure the medium is free of other transmissions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How does CSMA/CD manage collisions?

A

CSMA/CD uses a collision detection process to govern when a device can send and what happens if multiple devices send at the same time. If a collision is detected, CSMA/CD initiates a backoff algorithm to ensure that the devices wait a random amount of time before retransmitting to avoid further collisions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the three steps of the CSMA/CD collision detection process?

A

The three steps of the CSMA/CD collision detection process are:

Devices transmitting simultaneously will result in a signal collision on the shared media.
Devices detect the collision.
Devices wait a random period of time and retransmit data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a data link frame, and what are its three parts?

A

A data link frame is a unit of data that is created by the data link layer of the OSI model to encapsulate data for transmission over a network. A data link frame has three parts: a header, data, and trailer. The header contains information about the frame, such as the source and destination addresses, while the trailer contains error detection and correction information to ensure data integrity. The data portion of the frame contains the actual data being transmitted.

17
Q

What are some examples of data link protocols, and how are they determined by the logical topology and physical media?

A

Examples of data link protocols include Ethernet, 802.11 Wireless,
Point-to-Point (PPP),
High-Level Data Link Control (HDLC),
and Frame-Relay.
The specific data link protocol used is determined by the logical topology and physical media being used in the network. Each data link protocol is responsible for performing media access control for specified logical topologies, ensuring that devices on the network do not transmit data at the same time, and handling other tasks related to reliable data transmission over the network.