Link Layer Flashcards

1
Q

What does the Link Layer handle?

A

Transmission of frames of physical medium.

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

What is the MAC protocol?

A

Media Access Control Protocol - Manages access to and from physical media.

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

What is ARP?

A

Address Resoluion Protocol - resolves destination MAC address requests.

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

Why do packets get dropped in the Link Layer?

A

Congestion

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

WHat are the Link Layer models and when are they used?

A

Connectionless, no ACK - low error rate like ethernet.
Connectionless, acks - high error rate, like WIFI, needs delivery assurance.
Connection-oriented + ACKS - Long delay, unreliable links like satelites.

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

How are ACKs handled? (3)

A

Stop-and-wait Automatic Repeat and Request (ARQ): Send frame, get ack, send next frame.
Improved ARQ with pipeline: Send multiple frames with sequence numbers, don’t wait for acks, if an ack isn’t received for a frame, go back to that frame and retransmit from there.
Selective-Repeat-Arq - Similar to above, but only retransmit frame with no ack.

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

How are errors checked in the link layer? (2)

A

Parity bit.

Checksum (compare sender and receivers)

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

What happens when receiving a Link Layer message?

A

The message is unwrapped to get the IP datagram to pass up to the network layer.

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

How are messages forwarded?

A

IP datagram is encapsulated into frame, MTU added.

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

What does the MTU do?

A

Defines how much data can be transmitted from a link at one time.

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

WHat is a MAC address (+structure)?

A

Physical address for network hardware.

48-bit: 24-bit vendor ID, 24-bit assigned by vendor (usually sequential)

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

What is an ethernet frame?

A

48-bit source and destination MAC addresses.
MTU
802.1Q tag for optional priority and VLAN id.

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

What do ethernet switches do?

A

Forward frames to ports.

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

What is smart forwarding?

A

When an ethernet switch learns which MAC address goes to which port.

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

How does the ethernet switch support VLANs and QoS?

A

VLAN: Forwards according to VLAN id, no need to rewire hte network.
QoS : Uses frame priority.

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

What is ARP used for?

A

Finding MAC address for destination of a message.

17
Q

What is the ARP process?

A

Broadcast ARP to LAN.
Target responds and sends MAC address book.
Book is cached for 60 seconds.