SlideShare a Scribd company logo
1 of 18
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 1
CS4254
Computer Network Architecture and
Programming
Dr. Ayman A. Abdel-Hamid
Computer Science Department
Virginia Tech
OSI and TCP/IP Layers
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 2
Outline
•OSI Layering Architecture
•TCP/IP Layers
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 3
Multiple Layers of Network Protocols
User process
Protocol stack
within kernel
Ethernet
Client and Server on same Ethernet
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 4
Multiple Layers of Network Protocols
Client and server on different LANs connected through a WAN
Differentiate
Hub
L2 switch
L3 switch
Router
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 5
Layers in OSI Model and Internet Protocol Suite
OSI: Open Systems Interconnection model for computer communications
ISO: International Organization for Standardization
User process, application details
kernel, communication details
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 6
OSI Layers
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 7
Physical Layer 1/2
•Functions
Transmission of a raw bit stream
Forms the physical interface between devices
•Issues
Which modulation technique (bits to pulse (analog signal))?
Which Line Coding technique (bits to digital signal?)
How long will a bit last? (bit interval vs bit rate)
Bit- serial or parallel transmission?
Half- or Full- duplex transmission?
How many pins does the network connector have?
How is a connection set up or torn down?
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 8
Physical Layer 2/2
Line Coding Example: Manchester Encoding
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 9
Data Link Layer 1/2
•Functions
Provides reliable transfer of information between two
adjacent nodes (physical link is a raw transmission facility)
Creates frames (manageable data units) from bits and vice
versa
Physical addressing (identify frame sender and/or receiver)
Provides frame- level error control (normally through a
trailer added at end of frame)
Provides flow control
Access Control (through a MAC sub layer)
•In summary, the data link layer provides the network layer with
what appears to be an error- free link for packets
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 10
Data Link Layer 2/2
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 11
Network Layer 1/2
•Functions
Source-to-destination delivery of packets across multiple
networks
Logical addressing
Responsible for routing decisions
Dynamic routing
Fixed routing
•Performs congestion control
In the Internet model, the network layer does not perform
congestion control
Congestion control at the network layer is a current area of
research
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 12
Network Layer 2/2
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 13
Transport Layer
•Functions
Process-to-process delivery of entire message
Port addressing
Connection control
Provides reliable end-to-end communication
Perform end-to-end flow control
Perform packet retransmission when packets are lost by the
network
In the Internet model, the transport layer also offers
congestion control.
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 14
Session Layer
•Functions
Network dialog controller
Establish, maintain, and synchronize interaction
between communicating entities
May perform synchronization between several
communicating applications
Groups several user- level connections into a single
“session”
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 15
Presentation Layer
•Functions
Concerned with syntax and semantics of information
exchanged between 2 systems
Performs specific functions that are requested regularly by
applications
Encryption
Compression
Translation
ASCII to Unicode, Unicode to ASCII
LSB- first representations to MSB- first
representations
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 16
Application Layer
•Functions
Application layer protocols are application-dependent
Implements communication between two applications of
the same type
Examples
FTP
HTTP
SMTP (email)
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 17
OSI Layering Problems
•Seven layers not widely accepted
•Standardized before implemented
•Top three layers fuzzy
•Internet or TCP/ IP layering widespread
OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 18
Internet Design Principles
•Scale
Protocols should work in networks of all sizes and distances
•Incremental deployment
New protocols need to be deployed gradually
•Heterogeneity
Different technologies, autonomous organizations
•End-to-end argument [End-to-end Arguments in System Design]
Networking functions should be delegated to the edges; application
knows best
“A function can only be completely and correctly implemented with
the knowledge and help of the applications standing at the
communication end points”

More Related Content

Similar to OSI_TCPIP_layers.pptx

IMD 251 - Networking
IMD 251 - NetworkingIMD 251 - Networking
IMD 251 - Networking
isma ishak
 
Osi reference model and the tcp
Osi reference model and the tcpOsi reference model and the tcp
Osi reference model and the tcp
Agrippa Mungazi
 
Net essentials6e ch6
Net essentials6e ch6Net essentials6e ch6
Net essentials6e ch6
APSU
 
communication-protocols
 communication-protocols communication-protocols
communication-protocols
Ali Kamil
 
open system interconnection referencemodel.ppt
open system interconnection referencemodel.pptopen system interconnection referencemodel.ppt
open system interconnection referencemodel.ppt
AnkitaAggarwal68
 

Similar to OSI_TCPIP_layers.pptx (20)

pppppppppppppppppjjjjjjjjjjjpppppppp.pptx
pppppppppppppppppjjjjjjjjjjjpppppppp.pptxpppppppppppppppppjjjjjjjjjjjpppppppp.pptx
pppppppppppppppppjjjjjjjjjjjpppppppp.pptx
 
Network layers
Network layersNetwork layers
Network layers
 
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
 
IMD 251 - Networking
IMD 251 - NetworkingIMD 251 - Networking
IMD 251 - Networking
 
Osi reference model and the tcp
Osi reference model and the tcpOsi reference model and the tcp
Osi reference model and the tcp
 
layering.pdf
layering.pdflayering.pdf
layering.pdf
 
Lec 02 - Network Models.pptx
Lec 02 - Network Models.pptxLec 02 - Network Models.pptx
Lec 02 - Network Models.pptx
 
Osi model
Osi modelOsi model
Osi model
 
Osi and tcp ip model
Osi and tcp ip modelOsi and tcp ip model
Osi and tcp ip model
 
Net essentials6e ch6
Net essentials6e ch6Net essentials6e ch6
Net essentials6e ch6
 
Lecture 1.pdf
Lecture 1.pdfLecture 1.pdf
Lecture 1.pdf
 
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
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pptx
CSC1202_3_The_OSI_Reference_Model_-_V2.pptxCSC1202_3_The_OSI_Reference_Model_-_V2.pptx
CSC1202_3_The_OSI_Reference_Model_-_V2.pptx
 
communication-protocols
 communication-protocols communication-protocols
communication-protocols
 
osireferencemodel-170703104058 (1).pdf
osireferencemodel-170703104058 (1).pdfosireferencemodel-170703104058 (1).pdf
osireferencemodel-170703104058 (1).pdf
 
open system interconnection referencemodel.ppt
open system interconnection referencemodel.pptopen system interconnection referencemodel.ppt
open system interconnection referencemodel.ppt
 
OSI Model 2 .ppt
OSI Model 2 .pptOSI Model 2 .ppt
OSI Model 2 .ppt
 
CN-OSI-TCP-Models-001.pdf
CN-OSI-TCP-Models-001.pdfCN-OSI-TCP-Models-001.pdf
CN-OSI-TCP-Models-001.pdf
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
 
OSI Pankaj yadav
OSI  Pankaj yadavOSI  Pankaj yadav
OSI Pankaj yadav
 

Recently uploaded

February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
ssuserdfec6a
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (9)

February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
 
March 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterMarch 2023 Recommendations for newsletter
March 2023 Recommendations for newsletter
 
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxSIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
 
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdf
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdfExploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdf
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdf
 
Social Learning Theory presentation.pptx
Social Learning Theory presentation.pptxSocial Learning Theory presentation.pptx
Social Learning Theory presentation.pptx
 
communication-skills-training-excerpt.pdf
communication-skills-training-excerpt.pdfcommunication-skills-training-excerpt.pdf
communication-skills-training-excerpt.pdf
 
2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga
 
Emotional Freedom Technique Tapping Points Diagram.pdf
Emotional Freedom Technique Tapping Points Diagram.pdfEmotional Freedom Technique Tapping Points Diagram.pdf
Emotional Freedom Technique Tapping Points Diagram.pdf
 

OSI_TCPIP_layers.pptx

  • 1. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 1 CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department Virginia Tech OSI and TCP/IP Layers
  • 2. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 2 Outline •OSI Layering Architecture •TCP/IP Layers
  • 3. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 3 Multiple Layers of Network Protocols User process Protocol stack within kernel Ethernet Client and Server on same Ethernet
  • 4. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 4 Multiple Layers of Network Protocols Client and server on different LANs connected through a WAN Differentiate Hub L2 switch L3 switch Router
  • 5. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 5 Layers in OSI Model and Internet Protocol Suite OSI: Open Systems Interconnection model for computer communications ISO: International Organization for Standardization User process, application details kernel, communication details
  • 6. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 6 OSI Layers
  • 7. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 7 Physical Layer 1/2 •Functions Transmission of a raw bit stream Forms the physical interface between devices •Issues Which modulation technique (bits to pulse (analog signal))? Which Line Coding technique (bits to digital signal?) How long will a bit last? (bit interval vs bit rate) Bit- serial or parallel transmission? Half- or Full- duplex transmission? How many pins does the network connector have? How is a connection set up or torn down?
  • 8. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 8 Physical Layer 2/2 Line Coding Example: Manchester Encoding
  • 9. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 9 Data Link Layer 1/2 •Functions Provides reliable transfer of information between two adjacent nodes (physical link is a raw transmission facility) Creates frames (manageable data units) from bits and vice versa Physical addressing (identify frame sender and/or receiver) Provides frame- level error control (normally through a trailer added at end of frame) Provides flow control Access Control (through a MAC sub layer) •In summary, the data link layer provides the network layer with what appears to be an error- free link for packets
  • 10. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 10 Data Link Layer 2/2
  • 11. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 11 Network Layer 1/2 •Functions Source-to-destination delivery of packets across multiple networks Logical addressing Responsible for routing decisions Dynamic routing Fixed routing •Performs congestion control In the Internet model, the network layer does not perform congestion control Congestion control at the network layer is a current area of research
  • 12. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 12 Network Layer 2/2
  • 13. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 13 Transport Layer •Functions Process-to-process delivery of entire message Port addressing Connection control Provides reliable end-to-end communication Perform end-to-end flow control Perform packet retransmission when packets are lost by the network In the Internet model, the transport layer also offers congestion control.
  • 14. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 14 Session Layer •Functions Network dialog controller Establish, maintain, and synchronize interaction between communicating entities May perform synchronization between several communicating applications Groups several user- level connections into a single “session”
  • 15. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 15 Presentation Layer •Functions Concerned with syntax and semantics of information exchanged between 2 systems Performs specific functions that are requested regularly by applications Encryption Compression Translation ASCII to Unicode, Unicode to ASCII LSB- first representations to MSB- first representations
  • 16. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 16 Application Layer •Functions Application layer protocols are application-dependent Implements communication between two applications of the same type Examples FTP HTTP SMTP (email)
  • 17. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 17 OSI Layering Problems •Seven layers not widely accepted •Standardized before implemented •Top three layers fuzzy •Internet or TCP/ IP layering widespread
  • 18. OSI and TCP/IP Layers © Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 18 Internet Design Principles •Scale Protocols should work in networks of all sizes and distances •Incremental deployment New protocols need to be deployed gradually •Heterogeneity Different technologies, autonomous organizations •End-to-end argument [End-to-end Arguments in System Design] Networking functions should be delegated to the edges; application knows best “A function can only be completely and correctly implemented with the knowledge and help of the applications standing at the communication end points”