2. Layers + Broadcast Flashcards

1
Q

What are the layers of a communication network charactarized by the OSI model?

(There are 7 layers, of which 5 are relevant to this course).

A

Open-Systems Interconnect (OSI) Model

An abstract way of representing the functions needed in a communication system.

Divides networking tasks into layers.

Has 7 layers in total.

Each layer uses the one beneath it and serves the one above it.

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

Define: Bandwidth.

A

Bandwidth – The amount of traffic we can send on the communication channel, given in bit/sec

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

Define: Throughput.

A

Throughput – The percentage of the bandwidth used to send traffic.

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

Define: Goodput.

A

Goodput - The percentage of the bandwidth used to successfully send traffic

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

What is the Slotted ALOHA protocol for sending information in a network in which all nodes broadcast and listen to the same channel?

What is the goodput of this protocol?

A

The goodput is 1/e = 0.37.

That is not very efficient.

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

What is the difference between Pure ALOHA and Slotted ALOHA, and what is the cost of this difference?

A

In Slotted ALOHA, information is only sent at the beggining of a slot. Synchronizing clocks is an expensive task, which Pure ALOHA does not do.

The effect of losing the synchronization is that now, no node (besides myself) should send in the slot before we want to transmit and the slot we transmit.

This results with Pure ALOHA having a goodput of 1/2e, which is half the goodput of Slotted ALOHA.

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

What is a NIC?

A

Wikipedia:

A Network interface card is an electronic device that connects a computer to a computer network, usually a LAN. It is considered a piece of computer hardware. Most modern computers support an internal network interface controller embedded in the motherboard directly rather than provided as an external component.

Network cards let a computer exchange data with a network. To achieve the connection, network cards use a suitable protocol, for example CSMA/CD. Network cards usually implement the first two layers of the OSI model, that is the physical layer, and the data link layer.

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

What is the CSMA/CD protocol?

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

In the CSMA protocol, in case of collisions we would want to wait before trying to send data again.

But how much time should we wait?

A

A standard approach is called “Exponential Backoff”

The time waited depends on a parameter c (usually c=2)

After the the k’th collision we will wait for j*T time units, where j is uniformly selected randomly from {0, … , ck-1}.

The intuition is that if there were many collisions - the network is very loaded, and it makes sense to wait more time before trying to transmit again.

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

What is a MAC Address?

A

Wikipedia:

A media access control address (MAC address) is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment.

Each computer is given a MAC address by its computer maker. A MAC address has 48-bits. MAC addresses identify many things, such as the type of device being used.

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

What is Ethernet?

A

Wikipedia:

Ethernet is a way of connecting computers together in a local area network or LAN.

Systems communicating over Ethernet divide a stream of data into shorter pieces called frames. Each frame contains source and destination addresses, and error-checking data so that damaged frames can be detected and discarded; most often, higher-layer protocols trigger retransmission of lost frames.

As per the OSI model, Ethernet provides services up to and including the data link layer.

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

Define “PROP” and “TRANSP”.

In order for CSMA/CD protocol to work, what must the relationship between PROP and TRANSP be?

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

מה הגודפוט של CSMA\CD, מה המשמעות של הרכיבים שמהם הגודפוט מורכב?

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