Professional Documents
Culture Documents
Layer 2 - Data Link: This layer gets the data packets send by the network
layer and convert
them into frames that will be sent out to the network media, adding the
physical address
of the network card of your computer, the physical address of the
network card of the
destination, control data and a checksum data, also known as CRC. The
frame created by this
layer is sent to the physical layer, where the frame will be converted
into an electrical
signal (or electromagnetic signal, if you are using a wireless network).
The Data Link
layer on the receiving computer will recalculate the checksum and see if
the new calculated
checksum matches the value sent. If they match, the receiving computer
sends an acknowledge
signal (ack) to the transmitting computer. Otherwise the transmitting
computer will
re-send the frame, as it didn’t arrive at destination or it arrived with
its data corrupted.
Layer 1 - Physical: This layer gets the frames sent by the Data Link
layer and convert
them into signals compatible with the transmission media. If a metallic
cable is used,
then it will convert data into electrical signals; if a fiber optical
cable is used, then
it will convert data into luminous signals; if a wireless network is
used, then it will
convert data into electromagnetic signals; and so on. When receiving
data, this layer
will get the signal received and convert it into 0s and 1s and send them
to the Data
Link layer, which will put the frame back together and check for its
integrity.