Lecture 4, 5 Osi Model
Lecture 4, 5 Osi Model
Applications
TE-256
Data Communication &
Networking
Compiled By:
Imran Khan
Dawood University of Engineering & Technology
Department of Telecommunication Engineering imran.khan@@duet.edu.pk
Need For Protocol Architecture
• The data link layer is responsible for moving frames from one node to the next.
• Physical Addressing:- Add a header to the frame to define the physical address of the
source and the destination machines.
• Feedback:- after transmitting the frames, the system waits for the feedback.
• Error Control:- It provides the mechanism of error control in which it detects and
retransmits damaged or lost frames.
Network Layer:
Network layer:
• It is responsible for the source to destination delivery of a packets
across multiple networks.
• PDU at Network layer are packets
Functions of Network layer:
• Routing:- Provide mechanism to transmit data over independent
networks that are linked together.
• Logical addressing:- Adds IP addresses of sender and Receiver.
• Provides Best path determination and Shortest path
Transport Layer:
Transport Layer:
• It is responsible for source process to destination process delivery of
entire message.
• PDU at Transport Layer are Segments
• Transport layer provides two types of services:
1) Connection Oriented Transmission: In this type of transmission the
receiving device sends an acknowledgment back to the source after a
packet or group of packet is received. Such as TCP
2) Connectionless Transmission: In this type of transmission the
receiver does not acknowledge receipt of a packet. Such as UDP
1) TCP:
• Transport layer used TCP for reliable connection oriented service.
• Assurance that packet reached
• Sequencing : Make a sequence for reassembly at the receiving side.
• Faster Protocol
• Error Control: Make sure that the entire message arrives without
errors else retransmit
• Flow Control: Transport layer makes sure that the sender and the
receiver communicate at a rate they both can control
2) UDP
• Transport layer used this protocol for unreliable connectionless
service.
• No assurance that packet reached.
• No sequencing & No error checking
• Useful in real time data transfer and quick transfer of large data.
• It follows that delivery is more important than accurate delivery.
• More faster than TCP
Functions of Transport Layer:
Segmentation and Reassembly: Divide the message received
from Session layer into Segments and number them to make a
sequence for reassembly at the receiving side.
Error Control: Make sure that the entire message arrives without errors
else retransmit.