Link Layer Flashcards

1
Q

List and explain 3 Link layer services

A

1- framing datagram by encapsulation
2- reliable delivery between adjacent nodes
3- error detection

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

What does the Link Layer do?

A

Transferring datagram from one node to another.

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

Where is the link layer implemented?

A

In each and every host

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

Name two error detection methods the link layer uses and explain.

A

1) Single bit parity- detects single bit errors

2) 2-dimensional bit parity- detects and corrects single bit errors

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

What is cyclic redundancy check?

A

Code added to data which is used to detect errors.

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

What are the 2 types of links?

A
  • Point to point

- Broadcast

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

What is collision?

A

This happens in broadcast links where a node receives two or more signals at once

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

How do we manage collision?

A

Multiple access protocol

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

What does channel partitioning MAC protocols do? give 2 examples

A

Divides A channel into smaller pieces. (TDMA)Time Division Multiple Access, (FDMA) Frequency Division Multiple Access

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

What do random access MAC protocols do? give an example

A

Detects collisions and recover eg. Slotted ALOHA, CSMA

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

Give an advantage and a disadvantage to Slotted ALOHA

A

+ Simple

- Collisions wastes slots

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

How does CSMA work?

A

If channel sensed idle, transmit entire frame. If channel sensed busy, defer transmission. Collisions may still occur.

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

Whats CSMA/CD?

A

Collision detection within a short amount of time

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

Name 2 taking turns protocols

A

1) token passing

2) polling

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

What’s a MAC(or LAN or Ethernet) address?

A

Gets frames from one interface to another physically-connected interface. e.g. 1A-2F-BB-76-09-AD

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

What’s ARP(Address Resolution Protocol) table?

A

Allows you to determine an interfaces MAC address given it’s IP address

17
Q

What is a Star network topology?

A

One where ethernet switch is in the center and each link runs an ethernet protocol

18
Q

List 2 characteristics of ethernet?

A
  • Unreliable

- Connectionless(no handshaking)

19
Q

How do ethernet switches know which hosts can be reached through which interfaces?

A

Self learning, recording sender and location pair in a switch table

20
Q

Whats the difference between Switches and Routers? In the context of computer network layers

A

Routers– network layer device

Switches– link layer device