Chapter 6: The Link Layer and LANs Flashcards

1
Q

Give the definition:
Any device that runs a link-layer protocol, e.g. routers and hosts

A

Node

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

Give the definition:
Communication channels that connect adjacent nodes along communication paths

A

Links

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

What are the three types of links?

A

Wireless, wired and LANs

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

Give the definition:
A link layer packet that encapsulates a datagram

A

Frame

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

Give the definition:
A layer that has the responsibility of transferring datagrams from one node to physically adjacent nodes over a link

A

Link layer

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

Give the definition:
Encapsulating a datagram into a frame by adding a header and a trailer

A

Framing

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

What do MAC addresses in frame headers identify?

A

Source and destination

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

Give the definition:
Channel access is shared medium

A

Link access

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

The link layer offers reliable delivery between

A

adjacent nodes

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

Give the definition:
Pacing between adjacent sending & receiving nodes

A

Flow control

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

Give the definition:
Receiver detects errors caused by signal attenuation/noise and signals retransmission, or drops frame

A

Error detection

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

Give the definition:
Receiver identifies and corrects bit error(s) without retransmission

A

Error correction

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

With half duplex nodes, both ends of a link can transmit, but not

A

at the same time

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

Where is the link layer implemented?

A

In every host

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

How is the link layer implemented?

A

In an Network Interface Card (NIC) or on a chip

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

Ethernet, WiFi card or chip implement which layers?

A

Link & physical

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

Does the description below describe the sending or the receiving side of a link?
1. Encapsulates datagram in frame
2. Adds error checking bits, reliable data transfer, flow control, etc.

A

Sending side

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

Does the description below describe the sending or the receiving side of a link?
1. Looks for errors, reliable data transfer, flow control, etc.
2. Extracts dataframe & passes to upper layer at receiver

A

Receiving side

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

The link layer transmits frames over a

A

physical medium

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

Give the definition:
Two insulated copper wires

A

Twisted pair

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

Give the definition:
Two concentric copper conductors

A

Coaxial cable

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

Give the definition:
Glass fiber carrying light pulses, each pulse a bit. With high speed operation & low error rate

A

Fiber optic cable

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

Give the definition:
Wireless LAN, wide-area, satellite, terrestrial microwave

A

Radio link

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

Give the definition:
The ability of the receiver to both detect and correct errors

A

Forward Error Correction (FEC)

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

Give the definition:
Detect single bit errors

A

Single bit parity

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

Give the definition:
Set parity bit so there’s an even number of 1’s

A

Even parity

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

Give the definition:
Detection and correction of single bit errors

A

2D bit parity

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

What sort of errors are cyclic redundancy checks (CRC) particularly well suited for?

A

Burst errors

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

Give the definition:
Contiguous sequences of erroneous data symbols in messages

A

Burst errors

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

Give the definition:
A link that can have multiple sending and receiving nodes all connected to the same, single, shared broadcast channel

A

Broadcast link

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

Give the definition:
A link where there’s a single sender & receiver at each end of the link.

A

Point-to-Point link

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

Give the definition:
2 or more simultaneous transmissions by nodes

A

Interference

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

Give the definition:
When a node receives 2 or more signals at the same time

A

Collision

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

Give the definition:
Distributed algorithm that determines how nodes share channels, i.e. determines when a node can transmit

A

Multiple access protocol

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

Which problem does this description fit:
How to coordinate the access of multiple sending & receiving nodes to a shared broadcast channel

A

Multiple access problem

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

What are the three classes of MAC protocols?

A

Channel partitioning
Random access
Taking-turns

37
Q

Which class of MAC protocols fits this description:
- Division of channels into smaller “pieces” - by time, frequency or code - that are allocated to nodes for exclusive use
- Shares channels efficiently & fairly at high load
- Inefficient at low load due to delay in channel access & 1/N bandwidth allocated even if only 1 active node

A

Channel partitioning

38
Q

Which class of MAC protocols fits this description:
- Channel isn’t divided & collisions are allowed. Allows for recovery from collisions.
- Efficient at low load due to a single node being able to fully utilize the channel
- Inefficient at high load due to collision overhead

A

Random access

39
Q

Which class of MAC protocols fits this description:
Nodes take turns, and nodes with more to send can take longer turns

A

Taking-turns

40
Q

Which sort of channel partitioning MAC protocol is this?
Assigns a different code to each node

A

Code Division Multiple Access (CDMA)

41
Q

Which sort of channel partitioning MAC protocol is this?
- Access to channel in rounds
- Each station gets fixed amount of packet transmission time in each round
- Unused slots go idle

A

Time Division Multiple Access (TDMA)

42
Q

Which sort of channel partitioning MAC protocol is this?
- Channel spectrum divided into frequency bands
- Each station assigned fixed frequency band
- Unused transmission time in frequency bands go idle

A

Frequency Division Multiple Access (FDMA)

43
Q

What do random access MAC protocols specify?

A
  • How to detect and recover from collisions
44
Q

Which sort of random access MAC protocol is this?
When a node obtains a fresh frame, waits until the beginning of the next slot, then transmits the entire frame in the next slot
- If no collision: node can send new frame in the next slot
- If collision: node retransmits frame in each subsequent slot with probability p until success

A

Slotted ALOHA

45
Q

Which sort of random access MAC protocol is this?
Transmits the first frame immediately upon arrival
- Simpler then slotted ALOHA and requires no synchronization

A

Pure/unslotted ALOHA

46
Q

Which sort of random access MAC protocol is this?
Listens before transmission
- If channel sensed idle: transmits entire frame
- If channel sensed busy: defer transmission
Has carrier sensing

A

Simple CSMA (Carrier Sense Multiple Access)

47
Q

Which sort of random access MAC protocol is this?
CSMA with collision detection
- Collisions detected within short time
- Colliding transmissions aborted

48
Q

Give the definition:
A node listens to the channel before transmitting

A

Carrier sensing

49
Q

Give the definition:
The time it takes for a signal to propagate from one node to another

A

Channel propagation delay

50
Q

Collision probability depends on what two factors?

A

Distance & propagation delay

51
Q

Give the definition:
After mth collision, NIC chooses K at random from {0, 1, 2, …, 2^(m-1)}. NIC waits K*512 times then senses channel

A

Binary (exponential) backoff

52
Q

Which taking-turn MAC protocol is this?
A master node invites other nodes to transmit in turn by polling them in a RR-fashion.

53
Q

Which taking-turn MAC protocol is this?
A control token, which is a small, special purpose frame, is exchanged among nodes sequentially (in some fixed order)

A

Token passing

54
Q

Which MAC protocols do cable access networks use?

A

FDM, TDM & random access

55
Q

What is the name of the link layer protocol for cable internet access, that specifies cable data network architecture and its protocols?

A

Data Over Cable Service Interface Specifications (DOCSIS)

56
Q

What sort of address is this?
32-bit address used for network layer / layer 3 forwarding

A

IP address

57
Q

What sort of address is this?
A 48-bit address burned in NIC ROM or in software that is used “locally” to get a frame from one interface to another physically connected interface

A

MAC address

58
Q

What sort of address is this?
An address that can move an interface from one LAN to another. Recalls the IP address if not portable - depends on the subnet to which node is attached

A

MAC flat address

59
Q

What protocol is this?
A protocol that makes it possible to determine an interfaces MAC address based on its IP address

A

Address Resolution Protocol (ARP)

60
Q

What sort of table is this?
A table that each IP node on LAN has. It contains IP/MAC address mappings for some LAN nodes and Time To Live (TTL) for each address mapping.

61
Q

What do we call the physical topology for the ethernet that has an active link layer / layer 2 switch in the center of several hosts/”wheel” where each “spoke” runs a (separate) Ethernet protocol

62
Q

What does Ethernet with switching ensure that nodes don’t do?

63
Q

What sort of frame is this?
The frame that a sending interface encapsulates an IP datagram or other network layer protocol packet in

A

Ethernet frame

64
Q

What part of the Ethernet frame is this?
Synchronizes receiver and sender clock rates. Has 7 bytes of 10101010 + 1 byte 10101011.

65
Q

What part of the Ethernet frame is this?
6 byte source & destination address

A

Source and destination addresses

66
Q

What part of the Ethernet frame is this?
Indicated higher layer protocol (mostly IP) & is used to demux up at receiver. 2 bytes.

67
Q

What part of the Ethernet frame is this?
Carries IP datagram.

A

Data (payload)

68
Q

What part of the Ethernet frame is this?
Cyclic Redundancy Check at receiver that drops a frame if an error is detected. 4 bytes.

69
Q

Which attribute of the Ethernet is described below?
No handshaking between sending and receiving NICs

A

Connectionless

70
Q

Which attribute of the Ethernet is described below?
Receiving NIC doesn’t send ACKs or NAKs to sending NIC - Data dropped in frames recovered only if initial sender uses higher layer rdt, otherwise the dropped packet is lost

A

Unreliable

71
Q

What’s the Ethernet MAC protocol for half-duplex connections / connections to old non-switched equipment?

A

Unslotted CSMA/CD with binary backoff

72
Q

What is the difference between the Ethernet standards?

A

Speeds & physical layer media

73
Q

What do the Ethernet standards have in common?

A

MAC protocol & frame format

74
Q

What attribute of the switch is described below?
Hosts are unaware of the presence of switches

A

Transparent

75
Q

What attribute of the switch is described below?
Different links can operate at different speeds and run over different media

A

Heterogeneous links

76
Q

What attribute of the switch is described below?
Switch learns which hosts can be reached through which interface

A

Self-learning

77
Q

What attribute of some switches is described below?
A device that requires no intervention from a network administrator or user

A

Plug-and-play

78
Q

What function of a switch is described below?
The function that determines whether a frame should be forwarded to some interface or dropped

79
Q

What function of a switch is described below?
The function that determines the interface to which a frame should be directed, and then moves the frame to those interfaces

A

Forwarding

80
Q

Switching makes it possible for two hosts to transmit …, without collisions

A

simultaneously

81
Q

What sort of table has the following information in each entry?
MAC address of host
Interface to reach host
Time stamp

A

Switch table

82
Q

What sort of switches are described below?
Self-learning switched that are connected together

A

Interconnected switched

83
Q

What two attributes do switches and routers have in common?

A

Store-and-forward & forwarding tables

84
Q

Are routers or switches network-layer devices that examine network-layer headers?

85
Q

Are routers or switches link-layer devices that examine link-layer headers?

86
Q

Do routers or switches compute their forwarding tables using routing algorithms & IP addresses?

87
Q

Do routers or switches learn their forwarding tables using flooding, learning & MAC addresses?

88
Q

Which layer has the following principles behind their services?
- Error detection & correction
- Sharing a broadcast channel: multiple access & link layer addressing

A

Link layer

89
Q

What two link layer technologies have we learnt how to instantiate and implement?

A

Ethernet & switched LANs