Data Link Layer Flashcards

1
Q

What is the data link layer responsible for?

A

Controlling the hardware and for error detection

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

What is MAC?

A

Media Access Control, which controls when a device is allowed to transmit. It solves the main problem in many networks, which is that only a single device is allowed to transmit at a time.

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

Explain the two approaches to MAC

A

Controlled Access - One device is allowed to send information at a time, and there is an authority assigning permissions to send, or the permission gets passed from device to device.

Contention based access - Access provided at a first come first serve basis. This requires a mechanism to detect when a frame collision has happened, and order a re-transmission of those frames.

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

CSMA/SC method

A

Carrier Sense (CM) - A device listens and only transmits when no other device is doing do

Multiple Access(MA) - Multiple devices share the same medium

Collision Detection(CD) - Mechanism to detect and order re-transmission in case of a collision

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

What was Ethernet based on?

A

A single coaxial cable that devices tapped into physically

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

What is a shared bus topology?

A

When all devices share the same bus (original Ethernet)

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

What is a consequence of a shared bus?

A

All devices receive all the messages sent an the network.

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

What is a MAC address?

A

A unique address of 6 bytes to each device connected to a network that can differentiate the messages sent to the devices,

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

What are the disadvantages of shared-bus Ethernet?

A
  • Half-duplex ( only one device)
  • Network broadcasts ALL messages
  • Heavy reliance of collision detection limits size of network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a star topology?

A

Central hub component with limited number of sockets, so each device connects with an individual cable.

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

What is the caveat of shared topology?

A

It made the network behave as if all the computers were connected with one cable. the physical topology was a star, whilst the logical topology was a bus.

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

How do switches work on the data link layer?

A

The switch receives a message from a connected device and doesn’t know where the receiver is, but it knows it isn’t from the sender port. Then is broadcasts the message to all ports, with an ethernet frame that contains the source MAC address.

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

What is a forwarding table?

A

The area where the source ports’ information are stored after a switch broadcasts a message.

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

What does WLAN use to communicate?

A

A strictly regulated spectrum of radio waves.

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

What do 2.4GHz and 5GHz refer to?

A

The two main bands of frequency which WLAN devices use

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

What is attenuation?

A

The effect of a higher frequency becoming weaker much faster over longer distances that lower frequencies.

17
Q

How many channels are available in the 2.4 GHz band?

A

13 channels approx. 22 MHz wide.

18
Q

What is the simplest setup for a wireless network?

A

ad-hoc/independent Basic Service Set

19
Q

Explain an ad-hoc network

A

Behaves like an og shared Ethernet (no central hub and random frames sent to network with MAC address). But many use a central AP.

20
Q

Explain an Infrastructure BSS.

A

Access point of connected to rest of network with a cable-based Ethernet. All communication goes through the AP (Access point)

21
Q

What is an ESS?

A

Multiple APs work together connected by the same cable-based network, designed to overlap to transmit the same identifier (ex. eduroam)