Data Link Layer Flashcards

1
Q

Purpose of Data Link Layer

A
  • Responsible for communications between end-device NICs
  • Prepares network data for the physical network
  • Allows upper layer protocols to access the physical layer media
  • Accepts data, usually layer 3 packets and encapsulates into layer 2 frames
  • Performs error detection and rejects corrupt frames
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two sublayers of the Data Link Layer

A

Logical Link Layer (LLC)

Media Access Control (MAC)

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

What is the LLC

A

Communicates between the networking software at the upper layers and the device hardware at the lower layers. Places information in frame that identifies which network layer protocol is being used.

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

What is the MAC

A

Responsible for data encapsulation and media access control. Provides data link layer addressing.

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

What are the three common physical WAN topologies? Describe them?

A

Point-to-point - simplest and most common. Consists of a permanent link between two endpoints.
Hub and spoke - central site interconnects branch sites through point-to-point links
Mesh - high availability but requires every end system to be connected to each other

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

What are the three modes that data transmitted over the network flow?

A
  1. Simplex - data can only flow in one direction
  2. Half-duplex - data flows in one direction at a time
  3. Full-duplex - data flows in both directions at the same time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When to use contention-based access?

A

Only when nodes are operating in half-duplex ie WLANS

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

What types of contention-based access is there?

A

CSMA/CD - collision detection

CSMA/CA - collision avoidance

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

What is collision detection? (CSMA/CD)

A
  • 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
10
Q

What is collision avoidance? (CSMA/CA)

A
  • When transmitting, devices also include the time duration needed for the transmission
  • Other devices on the shared medium receive the time duration information and know how long the medium will be unavailable.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is in a Data Link Frame Header?

A

Frame Start, Addressing, Type (protocol type), control (flow control services ie. QoS)

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

What is in a Data Link Frame Trailer?

A

Error Detection and Frame Stop

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

What are Layer 2 addresses used to connect?

A

only used to connect devices within the same shared media on the same IP network

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

What is the order of address field?

A

L2 Header - Destination NIC, Source NIC

L3 IP Packet - Source IP, Destination IP

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