Week-2 - Lesson-1 PDF
Week-2 - Lesson-1 PDF
Week-2 - Lesson-1 PDF
CSE 225/233
WEEK-2, LESSON-1
NETWORK MODEL
Layered Task
We use the concept of layers in our daily life. As an
example, let us consider two friends who communicate
through postal mail. The process of sending a letter to a
friend would be complex if there were no services available
from the post office. See the next slide.
• Representation of Bits: Data in this layer consists of stream of bits. The bits must
be encoded into signals for transmission. It defines the type of encoding i.e. how
0's and 1's are changed to signal.
• Data Rate: This layer defines the rate of transmission which is the number of bits
per second.
• Synchronization: It deals with the synchronization of the transmitter and receiver.
The sender and receiver are synchronized at bit level.
• Interface: The physical layer defines the transmission interface between devices
and transmission medium.
• Line Configuration: This layer connects devices with the medium: Point to Point
configuration and Multipoint configuration.
• Topologies: Devices must be connected using the following topologies: Mesh,
Star, Ring and Bus.
• Transmission Modes: Physical Layer defines the direction of transmission
between two devices: Simplex, Half Duplex, Full Duplex.
• Deals with baseband and broadband transmission.
• Framing: Frames are the streams of bits received from the network layer into
manageable data units. This division of stream of bits is done by Data Link Layer.
• Physical Addressing: The Data Link layer adds a header to the frame in order to
define physical address of the sender or receiver of the frame, if the frames are to
be distributed to different systems on the network.
• Flow Control: A flow control mechanism to avoid a fast transmitter from running
a slow receiver by buffering the extra bit is provided by flow control. This prevents
traffic jam at the receiver side.
• Error Control: Error control is achieved by adding a trailer at the end of the frame.
Duplication of frames are also prevented by using this mechanism. Data Link
Layers adds mechanism to prevent duplication of frames.
• Access Control: Protocols of this layer determine which of the devices has control
over the link at any given time, when two or more devices are connected to the
same link.
• Service Point Addressing: Transport Layer header includes service point address
which is port address. This layer gets the message to the correct process on the
computer unlike Network Layer, which gets each packet to the correct computer.
• Segmentation and Reassembling: A message is divided into segments; each
segment contains sequence number, which enables this layer in reassembling the
message. Message is reassembled correctly upon arrival at the destination and
replaces packets which were lost in transmission.
• Connection Control: It includes 2 types:
• Connectionless Transport Layer : Each segment is considered as an independent packet
and delivered to the transport layer at the destination machine.
• Connection Oriented Transport Layer : Before delivering packets, connection is made
with transport layer at the destination machine.
• Flow Control: In this layer, flow control is performed end to end.
• Error Control: Error Control is performed end to end in this layer to ensure that
the complete message arrives at the receiving transport layer without any error.
Error Correction is done through retransmission.