SlideShare ist ein Scribd-Unternehmen logo
1 von 40
• OSI was developed by the International
Organization for Standardization (ISO)
and introduced in 1984.
• It is a layered architecture (consists of
seven layers).
• Each layer defines a set of functions
which takes part in data communication.
OSI Model
OSI Model Layers
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer - 7
Layer - 6
Layer - 5
Layer - 4
Layer - 3
Layer - 2
Layer - 1
User support
Layers
or
Software Layers
Network support
Layers
or
Hardware Layers
Core layer of
the OSI
OSI Model Layers
What is Applications?
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
 File Sharing
 Website Browse
 Email Sending & Receiving
 Online Gaming
 Ecommerce
 Chatting
 Voice/Video Conference
 File Transfer (Upload/Download)
?
Application Layer
Application Layer is responsible for
providing an interface for the users to
interact with application services or
Networking Services .
Application Layer Protocol
------------------------------
HTTP, HTTPs, SNMP, Telnet, SSH,
SMTP, DNS, DHCP, POP3, FTP etc.
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
Common Protocol and Port No.
Service Port No.
FTP 20,21
SSH 22
TELNET 23
SMTP 25
DNS 53
DHCP/BOOTP 67/68
TFTP 69
HTTP 80
POP3 110
IMAP4 143
SNMP 161
BGP 179
LDAP 389
Service Port No.
LPR/LPD 515
SMTPs 465
MSN 863
IMAPs 993
POP3s 995
MS PPTP 1723
SIP 5060
Yahoo msgr 5050
VNC Server 5900+
Squid Proxy 3128
HTTPs 443
NTP 123
Application
21
80 25 67
53 69
Data flow from Application Layer
Data
Presentation
Session
Transport
Network
Data Link
Physical
Presentation Layer
Presentation Layer It is responsible for
defining a standard format to the data.
Encoding – Decoding
Ex: ASCII, EBCDIC (Text)
JPEG,GIF,TIFF (Graphics)
MIDI,WAV (Voice)
MPEG,DAT,AVI (Video)
Encryption – Decryption
Compression – Decompression
Application
Presentation
Session
Transport
Network
Data Link
Physical
Presentation
Data flow from Presentation Layer
Data
Data
Application
Presentation
Session
Transport
Network
Data Link
Physical
Session Layer
Session Layer
It is responsible for establishing,
maintaining and terminating the
sessions.
The Session layer is responsible
for setting up, managing and then
tearing down sessions between
Presentation layer entity
Examples :
Simplex, Half duplex, Full Duplex
Application
Presentation
Session
Transport
Network
Data Link
Physical
Session
Data flow from Session Layer
Data
Data
Data
Application
Presentation
Session
Transport
Network
Data Link
Physical
Encapsulation System
Transport Layer
Transport Layer
It provides data delivery
mechanism between the
applications in the network.
The major functions described at
the Transport Layer are..
• Identifying Service
• Segmentation
• Sequencing & Reassembling
• Error Correction
• Flow Control
• Window size
Application
Presentation
Session
Transport
Network
Data Link
Physical
Transport
Identifying a Service
• Identification of Services is done using Port
Numbers.
• Port is a logical communication Channel
Total No. Ports 0 – 65535
Well-known or Server Ports 1 – 1023
Registered Port 1024 - 49151
Client or Random Ports 49152 – 65535
• Transmission Control
Protocol
• Connection Oriented
• Supports Ack’s
• Reliable communication
• Slower data Transportation
• Eg: HTTP, FTP, SMTP
• User Datagram
Protocol
• Connection Less
• No support for Ack’s
• Unreliable communication
• Faster data Transportation
• Eg: SNMP, DHCP, TFTP
TCP UDP
• The protocols which takes care of Data
Transportation at Transport layer
are…TCP,UDP
Transport Layer Protocols
A B
Connection Establishment/Oriented
Segmentation
Hello! How are you ?
Hello! How Are You ?
Hello!
How are
you ?
A B
Sequencing & Reassembling
Hello! How are you ?
Hello! How Are You ?
Hello!
How are
you ?
A B
You Hello! How ? Are
Hello! How Are
You ?
you
Hello!
How ?
are
Sequencing & Reassembling
Hello! How are you ?
Hello!
1/5
How
2/5
Are
3/5
You
4/5
?
5/5
Hello!
How are
you ?
A B
Hello! How are you ?
Hello!
1/5
How
2/5
Are
3/5
You
4/5
?
5/5
Hello!
1/5
How
2/5
Are
3/5
You
4/5
?
5/5
Hello!
How are
you ?
Flow Control
Windowing
A B
Error Correction
Error Correction
Hello! How are you ?
Hello!
1/5
How
2/5
Are
3/5
You
4/5
?
5/5
Hello!
How are
you ? Hello!
1/5
Are
3/5
You
4/5
?
5/5
Hello!
1/5
Are
3/5
You
4/5
?
5/5
Segment Missing
Hello!
1/5
Are
3/5
You
4/5
?
5/5
How
2/5
How
2/5
Hello! How are you ? Hello!
How are
you ?
A B
Data flow from Transport Layer
Data
Data
Data
Data
TH
Segment
Application
Presentation
Session
Transport
Network
Data Link
Physical
Network Layer
Network Layer
It provides Logical addressing & Path
determination (Routing) in this layer.
The protocols that work in this layer are:
Routed Protocols:
IP, IPX, AppleTalk. Etc
Routed protocols used to carry user data
between hosts.
Routing Protocols:
RIP, EIGRP, OSPF. BGP, IS-IS Etc
Routing protocols performs Path
determination (Routing).
ICMP (ping) – Networking Utilites
Hardware:
PC, Router, IP Phone, L3 Switch
Application
Presentation
Session
Transport
Network
Data Link
Physical
Network
Routed Protocols
10.0.0.1 10.0.0.2
A B
Segment
S.IP: 10.0.0.1
D.IP:10.0.0.2
Segment
S.IP: 10.0.0.1
D.IP:10.0.0.2
Network
Transport
Routing Protocols
A
www.csltraining.com
Data flow from Network Layer
Data
Data
Data
Segment
Segment
NH
Packet
Application
Presentation
Session
Transport
Network
Data Link
Physical
Devices that work at
Network Layer
are Router, Multilayer
switch etc..
Datalink Layer
Datalink Layer
It has 2 sub layers
• MAC (Media Access Control) It provides reliable
transit of data across a physical link.
It also provides ERROR DETECTION using CRC
(Cyclic Redundancy Check) and ordered delivery
of Frames.
Ex: Ethernet, Token ring…etc
• LLC (Logical Link Control)
It provides communication with Network layer.
Negotiates with Network Layer using SAP & SNAP
protocols
Application
Presentation
Session
Transport
Network
Data Link
Physical
Data Link
Error Detection – CRC Check
Hello!
How are
you ?
Packet
Packet
Source MAC
00-20-18-C0-07-71
Destination MAC
00-20-18-C0-07-72
00000
32434
22222
89696
55434
99323
43434
99434
46323
11114
33333
00000
32434
22222
89696
55434
99323
43434
99434
46323
11114
Error Detected
192.168.1.1
00-20-18-C0-07-71
192.168.1.2
00-20-18-C0-07-72
A B
PC-A
CRC No. 33333
PC-B
CRC No. 11114
Error Detected
For Error Correction
Contact Source Transport layer
Error Detection – CRC Check
Packet
Packet
Source MAC
00-20-18-C0-07-71
Destination MAC
00-20-18-C0-07-72
00000
32434
22222
89696
55434
99323
43434
99434
46323
11114
20202
00000
32434
22222
89696
55434
99323
43434
99434
46323
11114
20202
Source MAC
00-20-18-C0-07-71
Destination MAC
00-20-18-C0-07-72
Packet
Hello!
How are
you ?
192.168.1.1
00-20-18-C0-07-71
192.168.1.2
00-20-18-C0-07-72
A B
Data flow from Data Link Layer
Data
Data
Data
Segment
DH
Packet
DT
Application
Presentation
Session
Transport
Network
Data Link
Physical
Packet
Packet
Frame
Devices that work at
Data link layer are
Switch, Bridge etc..
Physical Layer
Physical Layer
It defines the electrical, Mechanical &
functional specifications for communication
between the Network devices.
The functions described at this layer are..
Encoding/decoding:
It is the process of converting the binary data
into signals based on the type of the media.
• Copper media : Electrical signals of different
voltages
• Fiber media : Light pulses of different
wavelengths
• Wireless media: Radio frequency waves
Application
Presentation
Session
Transport
Network
Data Link
Physical
Physical
Physical Transmission of data
Example:
Frame
Frame
1010101010101010
1010101010101010
Frame
Hello!
How are
you ?
A B
0101011010101010101010101
1010101101010101010101010
0101011010101010101010101
1010101101010101010101010
0101011010101010101010101
Data flow from Physical Layer
Data
Data
Data
Segment
Packet
Frame
Bits
Application
Presentation
Session
Transport
Network
Data Link
Physical
Devices that work at
physical layer are ..
Hub, Repeater.. Etc
Segment
Packet
Frame
A B
Packet
Data
Data
Data
Bits
Data
Segment
Data Encapsulation & De-capsulation
Packet
Data
Data
Data
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
Presentation
Session
Transport
Network
Data Link
Physical
Bits
DH DT
NH
TH
Segment
Packet
DT Packet
DH DT
DH
NH Segment NH
TH Data
TH
Frame Packet
Data Encapsulation & De-capsulation
Application
Host-to-Host
Internet
Network
Access
Comparing OSI with TCP/IP Layers
OSI Layers TCP/IP Layers
Application
Presentation
Session
Transport
Network
Data Link
Physical
OSI Model.pptx

Weitere ähnliche Inhalte

Ähnlich wie OSI Model.pptx

Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
Piero Fraternali
 
osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................
swarnimprateek
 

Ähnlich wie OSI Model.pptx (20)

Week2 lec2-bscs1
Week2 lec2-bscs1Week2 lec2-bscs1
Week2 lec2-bscs1
 
Learn basics of ip addressing
Learn basics of  ip addressingLearn basics of  ip addressing
Learn basics of ip addressing
 
OSI Model 2 .ppt
OSI Model 2 .pptOSI Model 2 .ppt
OSI Model 2 .ppt
 
CISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network FundamentalCISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network Fundamental
 
Bhargava Presentation.ppt
Bhargava Presentation.pptBhargava Presentation.ppt
Bhargava Presentation.ppt
 
Bhargava Presentation.ppt
Bhargava Presentation.pptBhargava Presentation.ppt
Bhargava Presentation.ppt
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptx
 
Aplication and Transport layer- a practical approach
Aplication and Transport layer-  a practical approachAplication and Transport layer-  a practical approach
Aplication and Transport layer- a practical approach
 
Week2 lec1-bscs1
Week2 lec1-bscs1Week2 lec1-bscs1
Week2 lec1-bscs1
 
osi and tcpip.ppt
osi and tcpip.pptosi and tcpip.ppt
osi and tcpip.ppt
 
Osi and tcpip
Osi and tcpipOsi and tcpip
Osi and tcpip
 
osi-tcp.ppt
osi-tcp.pptosi-tcp.ppt
osi-tcp.ppt
 
Cn
CnCn
Cn
 
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
 
Avani
AvaniAvani
Avani
 
Ccna introduction
Ccna introductionCcna introduction
Ccna introduction
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 
osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................
 

Kürzlich hochgeladen

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Kürzlich hochgeladen (20)

Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 

OSI Model.pptx

  • 1.
  • 2. • OSI was developed by the International Organization for Standardization (ISO) and introduced in 1984. • It is a layered architecture (consists of seven layers). • Each layer defines a set of functions which takes part in data communication. OSI Model
  • 3. OSI Model Layers Application Presentation Session Transport Network Data Link Physical Layer - 7 Layer - 6 Layer - 5 Layer - 4 Layer - 3 Layer - 2 Layer - 1 User support Layers or Software Layers Network support Layers or Hardware Layers Core layer of the OSI
  • 5. What is Applications? Application Presentation Session Transport Network Data Link Physical Application  File Sharing  Website Browse  Email Sending & Receiving  Online Gaming  Ecommerce  Chatting  Voice/Video Conference  File Transfer (Upload/Download) ?
  • 6. Application Layer Application Layer is responsible for providing an interface for the users to interact with application services or Networking Services . Application Layer Protocol ------------------------------ HTTP, HTTPs, SNMP, Telnet, SSH, SMTP, DNS, DHCP, POP3, FTP etc. Application Presentation Session Transport Network Data Link Physical Application
  • 7. Common Protocol and Port No. Service Port No. FTP 20,21 SSH 22 TELNET 23 SMTP 25 DNS 53 DHCP/BOOTP 67/68 TFTP 69 HTTP 80 POP3 110 IMAP4 143 SNMP 161 BGP 179 LDAP 389 Service Port No. LPR/LPD 515 SMTPs 465 MSN 863 IMAPs 993 POP3s 995 MS PPTP 1723 SIP 5060 Yahoo msgr 5050 VNC Server 5900+ Squid Proxy 3128 HTTPs 443 NTP 123
  • 8. Application 21 80 25 67 53 69 Data flow from Application Layer Data Presentation Session Transport Network Data Link Physical
  • 9. Presentation Layer Presentation Layer It is responsible for defining a standard format to the data. Encoding – Decoding Ex: ASCII, EBCDIC (Text) JPEG,GIF,TIFF (Graphics) MIDI,WAV (Voice) MPEG,DAT,AVI (Video) Encryption – Decryption Compression – Decompression Application Presentation Session Transport Network Data Link Physical Presentation
  • 10. Data flow from Presentation Layer Data Data Application Presentation Session Transport Network Data Link Physical
  • 11. Session Layer Session Layer It is responsible for establishing, maintaining and terminating the sessions. The Session layer is responsible for setting up, managing and then tearing down sessions between Presentation layer entity Examples : Simplex, Half duplex, Full Duplex Application Presentation Session Transport Network Data Link Physical Session
  • 12. Data flow from Session Layer Data Data Data Application Presentation Session Transport Network Data Link Physical
  • 14. Transport Layer Transport Layer It provides data delivery mechanism between the applications in the network. The major functions described at the Transport Layer are.. • Identifying Service • Segmentation • Sequencing & Reassembling • Error Correction • Flow Control • Window size Application Presentation Session Transport Network Data Link Physical Transport
  • 15. Identifying a Service • Identification of Services is done using Port Numbers. • Port is a logical communication Channel Total No. Ports 0 – 65535 Well-known or Server Ports 1 – 1023 Registered Port 1024 - 49151 Client or Random Ports 49152 – 65535
  • 16. • Transmission Control Protocol • Connection Oriented • Supports Ack’s • Reliable communication • Slower data Transportation • Eg: HTTP, FTP, SMTP • User Datagram Protocol • Connection Less • No support for Ack’s • Unreliable communication • Faster data Transportation • Eg: SNMP, DHCP, TFTP TCP UDP • The protocols which takes care of Data Transportation at Transport layer are…TCP,UDP Transport Layer Protocols
  • 18. Segmentation Hello! How are you ? Hello! How Are You ? Hello! How are you ? A B
  • 19. Sequencing & Reassembling Hello! How are you ? Hello! How Are You ? Hello! How are you ? A B You Hello! How ? Are Hello! How Are You ? you Hello! How ? are
  • 20. Sequencing & Reassembling Hello! How are you ? Hello! 1/5 How 2/5 Are 3/5 You 4/5 ? 5/5 Hello! How are you ? A B Hello! How are you ? Hello! 1/5 How 2/5 Are 3/5 You 4/5 ? 5/5 Hello! 1/5 How 2/5 Are 3/5 You 4/5 ? 5/5 Hello! How are you ?
  • 24. Error Correction Hello! How are you ? Hello! 1/5 How 2/5 Are 3/5 You 4/5 ? 5/5 Hello! How are you ? Hello! 1/5 Are 3/5 You 4/5 ? 5/5 Hello! 1/5 Are 3/5 You 4/5 ? 5/5 Segment Missing Hello! 1/5 Are 3/5 You 4/5 ? 5/5 How 2/5 How 2/5 Hello! How are you ? Hello! How are you ? A B
  • 25. Data flow from Transport Layer Data Data Data Data TH Segment Application Presentation Session Transport Network Data Link Physical
  • 26. Network Layer Network Layer It provides Logical addressing & Path determination (Routing) in this layer. The protocols that work in this layer are: Routed Protocols: IP, IPX, AppleTalk. Etc Routed protocols used to carry user data between hosts. Routing Protocols: RIP, EIGRP, OSPF. BGP, IS-IS Etc Routing protocols performs Path determination (Routing). ICMP (ping) – Networking Utilites Hardware: PC, Router, IP Phone, L3 Switch Application Presentation Session Transport Network Data Link Physical Network
  • 27. Routed Protocols 10.0.0.1 10.0.0.2 A B Segment S.IP: 10.0.0.1 D.IP:10.0.0.2 Segment S.IP: 10.0.0.1 D.IP:10.0.0.2 Network Transport
  • 29. Data flow from Network Layer Data Data Data Segment Segment NH Packet Application Presentation Session Transport Network Data Link Physical Devices that work at Network Layer are Router, Multilayer switch etc..
  • 30. Datalink Layer Datalink Layer It has 2 sub layers • MAC (Media Access Control) It provides reliable transit of data across a physical link. It also provides ERROR DETECTION using CRC (Cyclic Redundancy Check) and ordered delivery of Frames. Ex: Ethernet, Token ring…etc • LLC (Logical Link Control) It provides communication with Network layer. Negotiates with Network Layer using SAP & SNAP protocols Application Presentation Session Transport Network Data Link Physical Data Link
  • 31. Error Detection – CRC Check Hello! How are you ? Packet Packet Source MAC 00-20-18-C0-07-71 Destination MAC 00-20-18-C0-07-72 00000 32434 22222 89696 55434 99323 43434 99434 46323 11114 33333 00000 32434 22222 89696 55434 99323 43434 99434 46323 11114 Error Detected 192.168.1.1 00-20-18-C0-07-71 192.168.1.2 00-20-18-C0-07-72 A B PC-A CRC No. 33333 PC-B CRC No. 11114 Error Detected For Error Correction Contact Source Transport layer
  • 32. Error Detection – CRC Check Packet Packet Source MAC 00-20-18-C0-07-71 Destination MAC 00-20-18-C0-07-72 00000 32434 22222 89696 55434 99323 43434 99434 46323 11114 20202 00000 32434 22222 89696 55434 99323 43434 99434 46323 11114 20202 Source MAC 00-20-18-C0-07-71 Destination MAC 00-20-18-C0-07-72 Packet Hello! How are you ? 192.168.1.1 00-20-18-C0-07-71 192.168.1.2 00-20-18-C0-07-72 A B
  • 33. Data flow from Data Link Layer Data Data Data Segment DH Packet DT Application Presentation Session Transport Network Data Link Physical Packet Packet Frame Devices that work at Data link layer are Switch, Bridge etc..
  • 34. Physical Layer Physical Layer It defines the electrical, Mechanical & functional specifications for communication between the Network devices. The functions described at this layer are.. Encoding/decoding: It is the process of converting the binary data into signals based on the type of the media. • Copper media : Electrical signals of different voltages • Fiber media : Light pulses of different wavelengths • Wireless media: Radio frequency waves Application Presentation Session Transport Network Data Link Physical Physical
  • 35. Physical Transmission of data Example: Frame Frame 1010101010101010 1010101010101010 Frame Hello! How are you ? A B 0101011010101010101010101 1010101101010101010101010 0101011010101010101010101 1010101101010101010101010 0101011010101010101010101
  • 36. Data flow from Physical Layer Data Data Data Segment Packet Frame Bits Application Presentation Session Transport Network Data Link Physical Devices that work at physical layer are .. Hub, Repeater.. Etc
  • 37. Segment Packet Frame A B Packet Data Data Data Bits Data Segment Data Encapsulation & De-capsulation Packet Data Data Data Application Presentation Session Transport Network Data Link Physical Application Presentation Session Transport Network Data Link Physical Bits DH DT NH TH Segment Packet DT Packet DH DT DH NH Segment NH TH Data TH Frame Packet
  • 38. Data Encapsulation & De-capsulation
  • 39. Application Host-to-Host Internet Network Access Comparing OSI with TCP/IP Layers OSI Layers TCP/IP Layers Application Presentation Session Transport Network Data Link Physical