Web Science/Part1: Foundations of the web/Ethernet/Communication over a shared Medium

Communication over a shared Medium

Learning goals

  1. understand the basic problems when communicating over a shared medium
  2. understand the origins of ethernet

Video

Script

Why Ethernet protocol was developed?

Let’s assume that we have one or more computers that want to communicate. The key is a shared medium. They want to exchange information. As we all know the smallest node of information is 1 bit. So what we can do is to put this 1 bit to the voltage cable in order to transfer.

But if you do this, some problems will arise:

- VOLTAGE TIME

How long do you have to put voltage on the cable?

If you just start putting the voltage on the cable, there will be electromagnetic waves starting to transfer proper data through the cable. The question is how long do you have to do this that others can measure this?

- SENDER

Who is actually a sender of the data?

Let’s imagine 3 computers: A, B and C. We assume that A sends a bit of data. At some point of time B and C receive the data. But the question is who send the data? You can’t figure this out.

- RECIPIENT

Who is the recipient of the data?

If A transfers data then B and C might not know if this data is actually for them.

- TRANSFERING SIMULTANEOUSLY

Who is supposed to use medium?

A starts transferring some data then at some point of time B also starts transferring some data. What we have is that C receives corrupted data.

- IS DATA CORRUPT?

The data might get corrupted while being in the cable due to some external events. For example, if cell phone is close to the cable the electromagnetic waves might cause a change. Participants should figure this out.

In order to solve this problem the Ethernet protocol was developed.

So what Ethernet can do is:

• SYNCHRONIZE TIME INTERVALS

Let’s assume computer A sends data at 10 Mbits/s. And computer C has interface that allows 100 Mbits/s. Ethernet as the protocol will be able to synchronize the clocks between these 2 devices.

• SPECIFY RECIPIENT AND SENDER

If A wants to send data for C then B will know that this data is not for him (while C will know that it’s for him).

• DETECT CORRUPTED DATA

If data gets corrupted for some reason then computer C will first see that the data is corrupted.

• DETECT COLLISIONS If A and B starts to transfer data at the same point of time they know that something went wrong and C will receive corrupted data(because it’s overload by 2 packages).



Quiz

1 What general problems exist while making digital communication over a shared medium?

Participants have to have a way not to talk at the same time.
Participants have to talk the same language / protocol.
The used protocol has to be an Internet standard
One has to ensure that everyone gets the same amount of time to put data to the shared medium.
Communication must be encrypted.
One has to make sure who sends a message and to whom it should be delivered.
Messages have to be delivered correctly and be secured against data loss

2 Which of the following statements are characteristic for communication over a shared medium?

The smallest amount of information that can be transferred is a Bit.
Everyone who has access to the medium can receive all the data that is being put on the medium.
Several computers use the same medium to communicate with each other
Collisions will occur if using a shared medium .
Communication must be encrypted.


Further reading

Discussion