Biruk Final
Biruk Final
Biruk Final
The physical layer is responsible for movements of individual bits from one hop
(node) to the next.
The physical layer is also concerned with the following:
1. Physical characteristics of interfaces and medium. The
physical layer defines the characteristics of the interface
between the devices and the transmission medium. It also
defines the type of transmission medium.
2. Representation of bits. The physical layer data consists of a
stream of bits (sequence of 0s or 1s) with no interpretation.
To be transmitted, bits must be encoded into signals -
electrical or optical. The physical layer defines the type of
encoding (how 0s and 1s are changed to signals) (Refer
chapter one).
3. Data rate. The transmission rate - the number of bits sent
each second - is also defined by the physical layer. In other
words, the physical layer defines the duration of a bit, which
is how long it lasts.
4. Synchronization of bits. The sender and receiver not only
must use the same bit rate but also must be synchronized at
the bit level. In other words, the sender and the receiver
clocks must be synchronized.
5. Line configuration. The physical layer is
concerned with the connection of devices to
the media (point – to – point or multipoint).
6. Physical topology. The physical topology
defines how devices are connected to make a
network.
6. Transmission mode. The physical layer also
defines the direction of transmission between
two devices: simplex, half-duplex, or full-duplex
Data Link Layer
• The data link layer transforms the physical layer, a raw
transmission facility, to a reliable link.
• It makes the physical layer appear error-free to the upper
layer (network layer). The following figure shows the
relationship of the data link layer to the network and physical
layers.
The data link layer is responsible for moving frames from one hop (node) to the next.
responsibilities of the data link layer include the following:
1. Framing. The data link layer divides the stream of bits received from the
network layer into manageable data units called frames.
2. Physical addressing. If frames are to be distributed to different systems on
the network, the data link layer adds a header to the frame to define the
sender and/or receiver of the frame. If the frame is intended for a system
outside the sender‘s network, the receiver address is the address of the
device that connects the network to the next one.
3. Flow control. If the rate at which the data are absorbed by the receiver is
less than the rate at which data are produced in the sender, the data link
layer imposes a flow control mechanism to avoid overwhelming the
receiver.
4. Error control. The data link layer adds reliability to the physical layer by
adding mechanisms to detect and retransmit damaged or lost frames. It also
uses a mechanism to recognize duplicate frames. Error control is normally
achieved through a trailer added to the end of the frame.
5. Access control. When two or more devices are connected to the same link,
data link layer protocols are necessary to determine which device has
control over the link at any given time.
Network Layer (3rd OSI Layer)
• Concerned with getting packets from source to destination.
• The network layer must know the topology of the subnet and
choose appropriate paths through it.
• When source and destination are in different networks, the network
layer must deal with these differences.
• The network layer is responsible for the source-to-destination
delivery of a packet, possibly across multiple networks. Whereas
the data link layer oversees the delivery of the packet between two
systems on the same network, the network layer ensures that each
packet gets from its point of origin to its final destination.
• If two systems are connected to the same local network, there is
usually no need for a network layer. However, if the two systems
are attached to different networks with connecting devices
between the networks, there is often a need for the network layer
to accomplish source-to-destination delivery.
responsibilities of the network layer