SlideShare a Scribd company logo
1 of 41
Presented By: 
Pankaj yadav 
BABA SAHEB BHIM RAO AMBEDKAR UNIVERSITY 
LUCKNOW
OBJECTIVES: 
To discuss the OSI model and its layer architecture 
and to show the interface between the layers. 
To briefly discuss the functions of each layer in the 
OSI model. 
To introduce the TCP/IP protocol. 
To show the functionality of each layer in the TCP/IP 
Model. 
To show the functionality of each layer in the TCP/IP 
Model. 
Similarities and Comparison between OSI & TCP/IP 
Model.
Network Model: 
A method of describing and analyzing data 
communication networks by breaking the entire set of 
communication process into a number of layers. 
Each layer has a specific function.
The OSI Model: 
International standard organization (ISO) established a 
committee in 1977 to develop an architecture for systems 
communication. 
Open System Interconnection (OSI) reference model is 
the result of this effort. 
This model allows any two different systems to 
communicate regardless of their underlying architecture.
Cntd.. 
The OSI model describes how data flows from one 
computer, through a network to another computer. 
The OSI model is not a protocol; it is a model for 
understanding and designing a network architecture that 
is flexible and robust. 
The OSI model consists of seven separate but related 
layers, each of which defines a part of the process of 
moving information across a network.
Seven layers of the OSI model:
Why so many layers? 
To reduce the complexity, networks are organized as a 
stack of layers, one below the other. 
Each layer performs a specific task,. It provides services 
to an adjacent layer.
OSI Layers:
Cntd.. 
 Layers 1,2, 3- physical, data link and network are 
network support layers. 
Layer 4, the transport layer, links the two subgroups. 
Layers 5,6,7- session, presentation, and application are 
user support layers.
An exchange using the OSI model:
Physical Layer: 
Physical layer is the bottom(layer 1) of OSI model. 
It is responsible for the actual physical connection 
between the devices. 
The physical layer is responsible for movements of 
individual bits from one node to next.
Physical layer
Functions of Physical Layer: 
Convert bits to signals 
Bit synchronization 
Manage physical connection 
Bit rate control 
Line configuration 
Physical topology 
Transmission mode 
Multiplexing 
Switching
Data Link Layer: 
The data link layer is responsible for moving frames from 
one node to the next.
Functions of Data Link Layer: 
Framing:- divides the data from N/W layer into frames. 
Physical Addressing:- Add a header to the frame to 
define the physical address of the source and the 
destination machines. 
Flow Control:- It is the traffic regulatory mechanism 
implemented by Data Link layer that prevents the fast 
sender from drowning the slow receiver. 
Error Control:- It provides the mechanism of error control 
in which it detects and retransmits damaged or lost 
frames. 
Feedback:- after transmitting the frames, the system 
waits for the feedback.
Network Layer:
Functions of Network layer: 
It is responsible for the source to destination delivery of a 
packets across multiple networks. 
Routing:- Provide mechanism to transmit data over 
independent networks that are linked together. 
Logical addressing:- Adds Logical addresses of sender 
and Receiver.
Transport Layer: 
It is responsible for source process to destination process 
delivery of entire message.
Cntd… 
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. 
2) Connectionless Transmission: In this type of 
transmission the receiver does not acknowledge receipt 
of a packet.
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. 
Service point addressing: Transport layer makes sure 
that the message is delivered to the correct process on 
destination machine. 
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
Session Layer: 
It is responsible for beginning, maintaining & ending the 
communication between two devices, which is called 
session.
Functions of Session Layer: 
Establishment, maintaining and ending a session: 
Sends SYN packet – establish request 
Receives ACK & SYN- established 
To end – Sender sends ACK 
Dialog Control: The session layer allows two systems to 
enter into a dialog. 
Synchronization: Allows a process to add checkpoints to 
a stream of data.
Presentation Layer: 
This layer is concerned with the syntax and semantics of 
the information exchanged between two systems.
Functions of Presentation Layer: 
Data Translation: Encoding and Decoding 
Sender to Common format on Sending side 
Common to Receiving format on Receiver side 
Data Encryption: For security and privacy purpose. 
 Data Compression: Data compression reduces the 
number of bits contained in the information.
Application Layer: 
Provides User interfaces and support for Services, like e-mail, 
file transfer.
Functions of Application Layer: 
Network Virtual terminal: It allows a user to log on to a 
remote host. 
File Transfer Access, and Management: This application 
allows a user to access files in a remote host. 
Mail Services: This application provides various e-mail 
services. 
Directory Services: This application provides the 
distributed database sources and access for global 
information about various objects and services.
TCP/IP Model: 
 TCP/IP forms the base of present day internet. 
TCP and IP are two protocols of this model. 
This model was initially used by ARPANET. 
The TCP/IP protocol suite was defined as having four 
layers: 
1) Host-to-network 
2) Internet 
3) Transport 
4) Application
TCP/IP and OSI Model
Host to Network Layer: 
 It is the bottom layer of TCP/IP model also known as 
Network interface layer. 
The purpose of this layer is to connect the host to the 
network.
Internet Layer: 
Internet layer is similar to network layer of OSI model in 
functionality. 
This layer is responsible for delivering IP packets to their 
destinations. 
An important protocol of this layer is IP(Internet Protocol).
Internet Protocol(IP): 
It is an unreliable and connectionless protocol. 
IP transports data in packets called datagrams. 
IP does not keep track of the routes.
IP Datagram:
Transport Layer: 
 Transport layer is similar in functionality to transport layer 
of OSI model. 
Transport layer of TCP/IP model also provides connection 
oriented and connectionless services. 
1) Connection Oriented – TCP(Transmission Control 
Protocol) 
2) Connection Less – UDP(User Datagram Protocol)
1) TCP: 
Transport layer used TCP for reliable connection 
oriented service. 
The various functions of TCP are: 
1) Error Control 
2) Flow Control 
3) Sequencing
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.
Application Layer: 
This layer is the combination of Application, Presentation 
and Session layer of the OSI model. 
This layer provides various services to different user 
applications.
Cntd.. 
 Application layer includes several high-level protocols 
that are used for wide variety of applications like: 
TELNET(Terminal Network): Used for remote login. 
FTP(File Transfer Protocol): For transfer of file from one 
system to another. 
HTTP(Hyper Text Transfer Protocol): For fetching web 
pages on world wide web.
Similarities between OSI & TCP/IP 
 Both are based on the concept of a stack of independent 
protocols. 
Functionality of layers is roughly similar. 
Up to Transport – network oriented. 
Above – User oriented
Differences between OSI & TCP/IP: 
 OSI model has seven layers. 
TCP/IP has four layers. 
OSI model provides clear distinction between services, 
interfaces and protocols. 
TCP/IP doesn’t provide clearly distinguish between 
services, Interfaces and protocols. 
In OSI model transport layer is connection oriented. 
 In TCP/IP transport layer is both connection oriented and 
connectionless.
Cntd… 
In OSI Data Link layer and Physical layer are separate 
layers. 
 In TCP Data Link layer and Physical layer are combined 
as one in Host-to-Network layer. 
Protocols do not fit well into the OSI model. 
 Protocols fit well in TC/IP model. 
 Minimum size of OSI header is 5 bytes. 
 In TCP/IP minimum size of the header is 20 bytes.
OSI  Pankaj yadav

More Related Content

What's hot

What's hot (20)

OSI model
OSI modelOSI model
OSI model
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
 
iso osi model
 iso osi model iso osi model
iso osi model
 
Chap2
Chap2Chap2
Chap2
 
Networking- OSI Layer Protocol Functions
Networking- OSI Layer Protocol FunctionsNetworking- OSI Layer Protocol Functions
Networking- OSI Layer Protocol Functions
 
Iso layers
Iso layersIso layers
Iso layers
 
OSI Network model ppt
OSI Network model pptOSI Network model ppt
OSI Network model ppt
 
Difference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP LayerDifference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP Layer
 
Osi model
Osi modelOsi model
Osi model
 
OSI 7 Layer model
OSI 7 Layer modelOSI 7 Layer model
OSI 7 Layer model
 
Osi model(open system interconnection)
Osi model(open system interconnection)Osi model(open system interconnection)
Osi model(open system interconnection)
 
OSI Networking
OSI NetworkingOSI Networking
OSI Networking
 
Full presentation of The OSI model
Full presentation of The OSI model Full presentation of The OSI model
Full presentation of The OSI model
 
Osi layers
Osi layersOsi layers
Osi layers
 
OSI Model
OSI ModelOSI Model
OSI Model
 
OSI Model Assignment Help
OSI Model Assignment HelpOSI Model Assignment Help
OSI Model Assignment Help
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
 
OSI Reerence Model
OSI Reerence ModelOSI Reerence Model
OSI Reerence Model
 
Osi model
Osi modelOsi model
Osi model
 
Osi model mod2 xxx
Osi model mod2 xxxOsi model mod2 xxx
Osi model mod2 xxx
 

Similar to OSI Pankaj yadav (20)

CN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.pptCN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.ppt
 
3. osi model
3. osi model3. osi model
3. osi model
 
COMPUTER NETWORK_OSI & TCP/IP
COMPUTER NETWORK_OSI & TCP/IPCOMPUTER NETWORK_OSI & TCP/IP
COMPUTER NETWORK_OSI & TCP/IP
 
OSI Reference Model-Lecture-2.pptx
OSI Reference Model-Lecture-2.pptxOSI Reference Model-Lecture-2.pptx
OSI Reference Model-Lecture-2.pptx
 
Assignment izaz sir
Assignment izaz sirAssignment izaz sir
Assignment izaz sir
 
Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing
 
OsI reference model
OsI reference modelOsI reference model
OsI reference model
 
Osi Model
Osi ModelOsi Model
Osi Model
 
BAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptxBAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptx
 
Osi model
Osi modelOsi model
Osi model
 
OSI & TCP model
OSI & TCP modelOSI & TCP model
OSI & TCP model
 
Osi model
Osi modelOsi model
Osi model
 
OSI Model of Networking
OSI Model of NetworkingOSI Model of Networking
OSI Model of Networking
 
computer network OSI layer
computer network OSI layercomputer network OSI layer
computer network OSI layer
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 
Dc2 t1
Dc2 t1Dc2 t1
Dc2 t1
 
Osi model 7 Layers
Osi model 7 LayersOsi model 7 Layers
Osi model 7 Layers
 
Computer networking
Computer networkingComputer networking
Computer networking
 
PC 106 PPT-06
PC 106 PPT-06PC 106 PPT-06
PC 106 PPT-06
 
CN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.pptCN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.ppt
 

More from BBAU Lucknow University (6)

Sorting network
Sorting networkSorting network
Sorting network
 
Incoterms PANKAJ YADAV
Incoterms PANKAJ YADAVIncoterms PANKAJ YADAV
Incoterms PANKAJ YADAV
 
OSI Layering
OSI Layering OSI Layering
OSI Layering
 
PANKAJ
PANKAJPANKAJ
PANKAJ
 
Pankaj YADAV
Pankaj YADAVPankaj YADAV
Pankaj YADAV
 
OSI MO BY PANKAJ YADAV
OSI MO BY PANKAJ YADAVOSI MO BY PANKAJ YADAV
OSI MO BY PANKAJ YADAV
 

Recently uploaded

IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

OSI Pankaj yadav

  • 1. Presented By: Pankaj yadav BABA SAHEB BHIM RAO AMBEDKAR UNIVERSITY LUCKNOW
  • 2. OBJECTIVES: To discuss the OSI model and its layer architecture and to show the interface between the layers. To briefly discuss the functions of each layer in the OSI model. To introduce the TCP/IP protocol. To show the functionality of each layer in the TCP/IP Model. To show the functionality of each layer in the TCP/IP Model. Similarities and Comparison between OSI & TCP/IP Model.
  • 3. Network Model: A method of describing and analyzing data communication networks by breaking the entire set of communication process into a number of layers. Each layer has a specific function.
  • 4. The OSI Model: International standard organization (ISO) established a committee in 1977 to develop an architecture for systems communication. Open System Interconnection (OSI) reference model is the result of this effort. This model allows any two different systems to communicate regardless of their underlying architecture.
  • 5. Cntd.. The OSI model describes how data flows from one computer, through a network to another computer. The OSI model is not a protocol; it is a model for understanding and designing a network architecture that is flexible and robust. The OSI model consists of seven separate but related layers, each of which defines a part of the process of moving information across a network.
  • 6. Seven layers of the OSI model:
  • 7. Why so many layers? To reduce the complexity, networks are organized as a stack of layers, one below the other. Each layer performs a specific task,. It provides services to an adjacent layer.
  • 9. Cntd..  Layers 1,2, 3- physical, data link and network are network support layers. Layer 4, the transport layer, links the two subgroups. Layers 5,6,7- session, presentation, and application are user support layers.
  • 10. An exchange using the OSI model:
  • 11. Physical Layer: Physical layer is the bottom(layer 1) of OSI model. It is responsible for the actual physical connection between the devices. The physical layer is responsible for movements of individual bits from one node to next.
  • 13. Functions of Physical Layer: Convert bits to signals Bit synchronization Manage physical connection Bit rate control Line configuration Physical topology Transmission mode Multiplexing Switching
  • 14. Data Link Layer: The data link layer is responsible for moving frames from one node to the next.
  • 15. Functions of Data Link Layer: Framing:- divides the data from N/W layer into frames. Physical Addressing:- Add a header to the frame to define the physical address of the source and the destination machines. Flow Control:- It is the traffic regulatory mechanism implemented by Data Link layer that prevents the fast sender from drowning the slow receiver. Error Control:- It provides the mechanism of error control in which it detects and retransmits damaged or lost frames. Feedback:- after transmitting the frames, the system waits for the feedback.
  • 17. Functions of Network layer: It is responsible for the source to destination delivery of a packets across multiple networks. Routing:- Provide mechanism to transmit data over independent networks that are linked together. Logical addressing:- Adds Logical addresses of sender and Receiver.
  • 18. Transport Layer: It is responsible for source process to destination process delivery of entire message.
  • 19. Cntd… 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. 2) Connectionless Transmission: In this type of transmission the receiver does not acknowledge receipt of a packet.
  • 20. 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. Service point addressing: Transport layer makes sure that the message is delivered to the correct process on destination machine. 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
  • 21. Session Layer: It is responsible for beginning, maintaining & ending the communication between two devices, which is called session.
  • 22. Functions of Session Layer: Establishment, maintaining and ending a session: Sends SYN packet – establish request Receives ACK & SYN- established To end – Sender sends ACK Dialog Control: The session layer allows two systems to enter into a dialog. Synchronization: Allows a process to add checkpoints to a stream of data.
  • 23. Presentation Layer: This layer is concerned with the syntax and semantics of the information exchanged between two systems.
  • 24. Functions of Presentation Layer: Data Translation: Encoding and Decoding Sender to Common format on Sending side Common to Receiving format on Receiver side Data Encryption: For security and privacy purpose.  Data Compression: Data compression reduces the number of bits contained in the information.
  • 25. Application Layer: Provides User interfaces and support for Services, like e-mail, file transfer.
  • 26. Functions of Application Layer: Network Virtual terminal: It allows a user to log on to a remote host. File Transfer Access, and Management: This application allows a user to access files in a remote host. Mail Services: This application provides various e-mail services. Directory Services: This application provides the distributed database sources and access for global information about various objects and services.
  • 27. TCP/IP Model:  TCP/IP forms the base of present day internet. TCP and IP are two protocols of this model. This model was initially used by ARPANET. The TCP/IP protocol suite was defined as having four layers: 1) Host-to-network 2) Internet 3) Transport 4) Application
  • 28. TCP/IP and OSI Model
  • 29. Host to Network Layer:  It is the bottom layer of TCP/IP model also known as Network interface layer. The purpose of this layer is to connect the host to the network.
  • 30. Internet Layer: Internet layer is similar to network layer of OSI model in functionality. This layer is responsible for delivering IP packets to their destinations. An important protocol of this layer is IP(Internet Protocol).
  • 31. Internet Protocol(IP): It is an unreliable and connectionless protocol. IP transports data in packets called datagrams. IP does not keep track of the routes.
  • 33. Transport Layer:  Transport layer is similar in functionality to transport layer of OSI model. Transport layer of TCP/IP model also provides connection oriented and connectionless services. 1) Connection Oriented – TCP(Transmission Control Protocol) 2) Connection Less – UDP(User Datagram Protocol)
  • 34. 1) TCP: Transport layer used TCP for reliable connection oriented service. The various functions of TCP are: 1) Error Control 2) Flow Control 3) Sequencing
  • 35. 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.
  • 36. Application Layer: This layer is the combination of Application, Presentation and Session layer of the OSI model. This layer provides various services to different user applications.
  • 37. Cntd..  Application layer includes several high-level protocols that are used for wide variety of applications like: TELNET(Terminal Network): Used for remote login. FTP(File Transfer Protocol): For transfer of file from one system to another. HTTP(Hyper Text Transfer Protocol): For fetching web pages on world wide web.
  • 38. Similarities between OSI & TCP/IP  Both are based on the concept of a stack of independent protocols. Functionality of layers is roughly similar. Up to Transport – network oriented. Above – User oriented
  • 39. Differences between OSI & TCP/IP:  OSI model has seven layers. TCP/IP has four layers. OSI model provides clear distinction between services, interfaces and protocols. TCP/IP doesn’t provide clearly distinguish between services, Interfaces and protocols. In OSI model transport layer is connection oriented.  In TCP/IP transport layer is both connection oriented and connectionless.
  • 40. Cntd… In OSI Data Link layer and Physical layer are separate layers.  In TCP Data Link layer and Physical layer are combined as one in Host-to-Network layer. Protocols do not fit well into the OSI model.  Protocols fit well in TC/IP model.  Minimum size of OSI header is 5 bytes.  In TCP/IP minimum size of the header is 20 bytes.