SlideShare uma empresa Scribd logo
1 de 36
OSI Reference Model



       www.cisco.com   © 1999, Cisco Systems, Inc.
Тойм

• The Layered Model
• Layers 1 & 2: Physical &
  Data Link Layers
• Layer 3: Network Layer
• Layers 4–7: Transport,
  Session, Presentation,
  and Application Layers
Хэрхэн цээжлэх вэ?

All          - Application
People       - Presentation
Seems        - Session
To           - Transport
Need of      - Network
Data         - Data Link
Processing   - Physical
The Layered Model



© 1999, Cisco Systems, Inc.   www.cisco.com   © 1999, Cisco Systems, Inc.
Why a Layered Network Model?

 7   Application    • Нарийн төвөгтэй байдлыг
                      багасгасан (нэг гол асуудал
 6   Presentation     нь 7-н жижиг one big problem
 5   Session          to seven smaller ones)
                    • Интерфейсийг стандартад
 4   Transport
                      оруулсан
 3   Network        • Заах ба суралцахад хялбар
 2   Data Link        болсон

 1   Physical
Давхарга бүр дэхь
           төхөөрөмжүүдийн үүрэг
            7   Application
            6   Presentation
NIC Card
            5   Session
            4   Transport
            3   Network
            2   Data Link
            1   Physical
                               Hub
Эзэмшигч давхаргууд




                   }
7   Application
6   Presentation       Host layers: Өгөгдлийг
                       компьютераас компьютер
5   Session
                       лүү алдаагүй дамжуулалтыг
4   Transport          хангаж өгнө.

3   Network
2   Data Link
1   Physical
Зөөврийн давхаргууд




                   }
7   Application
6   Presentation       Host layers: Өгөгдлийг
5   Session            компьютераас компьютер
                       лүү алдаагүй дамжуулалтыг
4   Transport          хангаж өгнө.




                   }
3   Network
2   Data Link          Media layers: Мэдээг
                       сүлжээнд дамжуулахад
1   Physical           физик хяналт тавина.
Application Layer

7   Application   Хэрэглээний програмуудын
                  сүлжээний орчинд найдвартай
                  ажиллагааг хангаж өгнө. (жнь:е-майл,
                  файл дамжуулалт ба терминалд
                  хувилгах )
Presentation Layer

7   Application    Хэрэглээний програмын сүлжээн
                   дэхь үйлчилгээ
6   Presentation   Өгөгдлийн илэрхийлэл
                   • Системээр хүлээн авсан
                     өгөгдлийг ойлгомжтой
                     байлгах баталгаагаар хангах
                   • Өгөгдлийг форматлах
                   • Өгөгдөл дамжуулахад
                     холбоотой систем болох
                     хэрэглээний давхаргатай
                     тохиролцоно.
Session Layer

7   Application    Хэрэглээний програмын сүлжээн
                   дэхь үйлчилгээ
6   Presentation   Өгөгдлийн илэрхийлэл

5     Session      Дундын эзэмшигчийн харилцан
                     холбоо
                   • Establishes, manages, and
                     terminates sessions between
                     applications
Transport Layer

7   Application    Network services to applications

6   Presentation   Data representation

5     Session      Inter-host communication

4    Transport     End-to-end connection reliability
                   • Concerned with data transport
                     issues between hosts
                   • Data transport reliability
                   • Establishes, maintains, and
                     terminates virtual circuits
                   • Fault detection and recovery
                   • Information flow control
Network Layer

7   Application    Network services to applications

6   Presentation   Data representation

5     Session      Inter-host communication

4    Transport     End-to-end connection reliability
3     Network      Addresses and best path
                   • Provides connectivity and path
                     selection between two end
                     systems
                   • Domain of routing
Data Link Layer
7   Application    Network services to applications

6   Presentation   Data representation

5     Session      Inter-host communication

4    Transport     End-to-end connection reliability
3     Network      Addresses and best path

2    Data Link     Access to media
                   • Provides reliable transfer of data
                     across media
                   • Physical addressing, network
                     topology, error notification, flow
                     control
Physical Layer
7   Application    Network services to applications

6   Presentation   Data representation

5     Session      Inter-host communication

4    Transport     End-to-end connection reliability
3     Network      Addresses and best path

2    Data Link     Access to media
1     Physical     Binary transmission
                   • Wires, connectors, data rates
Communications

      Host A                     Host B
7   Application               Application
6   Presentation              Presentation
5   Session                   Session
                   Segments
4   Transport                 Transport
                   Packets
3   Network                   Network
                   Frames
2   Data Link                 Data Link
                    Bits
1   Physical                  Physical
Data Encapsulation
  Host A                           Host B
Application                    Application

Presentation

Session

Transport

Network
               } {     Data    Presentation

                               Session

                               Transport

                               Network

Data Link                      Data Link

Physical                       Physical
Data Encapsulation
  Host A                             Host B
Application                        Application

Presentation

Session

Transport

Network
               } {         Data




                    Network Data
                    Header
                                   Presentation

                                   Session

                                   Transport

                                   Network

Data Link                          Data Link

Physical                           Physical
Data Encapsulation
  Host A                                           Host B
Application                                      Application

Presentation

Session

Transport

Network
               } {              Data




                       Network Data
                       Header
                                                 Presentation

                                                 Session

                                                 Transport

                                                 Network
                Frame Network   Data   Frame
Data Link                                        Data Link
                Header Header          Trailer

Physical                                         Physical
Data Encapsulation
  Host A                                           Host B
Application                                      Application

Presentation

Session

Transport

Network
               } {              Data




                       Network Data
                       Header
                                                 Presentation

                                                 Session

                                                 Transport

                                                 Network
                Frame Network   Data   Frame
Data Link                                        Data Link
                Header Header          Trailer

Physical            0101101010110001             Physical
Layers 1 & 2:
Physical & Data Link
      Layers


        www.cisco.com   © 1999, Cisco Systems, Inc.
MAC Address

           24 bits          24 bits

      Vendor Code      Serial Number
          0000.0c12. 3456
                     ROM
                     RAM


• MAC address is burned into ROM on a
  network interface card
Layer 3:
                              Network Layer


© 1999, Cisco Systems, Inc.       www.cisco.com   © 1999, Cisco Systems, Inc.
Network Layer: Path Determination



                  Which Path?
                  Which Path?




    • Layer 3 functions to find the best
      path through the internetwork
Layers 4–7:
Transport, Session,
 Presentation, and
Application Layers

       www.cisco.com   © 1999, Cisco Systems, Inc.
Transport Layer

•   Segments upper-layer applications
•   Establishes an end-to-end connection
•   Sends segments from one end host to another
•   Optionally, ensures data reliability
Transport Layer—
    Establishes Connection


Sender                                 Receiver
          Synchronize
             Negotiate Connection
                         Synchronize
          Acknowledge

           Connection Established
                 Data Transfer
                (Send Segments)
Transport Layer—
Sends Segments with Flow Control

               Transmit
  Sender                                Receiver


                                      Buffer Full
                          Not Ready
     Stop
                                       Process
                                       Segments


     Go                    Ready
                                      Buffer OK

              Resume Transmission
Transport Layer—
         Reliability with Windowing
                    • Window Size = 1
           Send 1                       Receive 1
                                        Ack 2
Sender     Send 2                       Receive 2   Receiver
                                        Ack 3

                    • Window Size = 3
           Send 1                       Receive 1
           Send 2                       Receive 2
 Sender
           Send 3                       Receive 3   Receiver
                                        Ack 4
           Send 4
Transport Layer—
An Acknowledgement Technique

       Sender     Receiver

1 2 3 4 5 6 7   1 2 3 4 5 6 7
       Send 1
       Send 2
       Send 3
                   Ack 4
       Send 4
       Send 5
       Send 6
                   Ack 5
       Send 5
                   Ack 7
Transport to Network Layer


       End-to-End Segments




           Routed Packets
Session Layer

  •   Network File System (NFS)
  •   Structured Query Language (SQL)
  •   Remote-Procedure Call (RPC)
  •   AppleTalk Session Protocol (ASP)
  •   DEC Session Control Protocol (SCP)




               Service Request

                   Service Reply



• Coordinates applications as
  they interact on different hosts
Presentation Layer

         •   Text                        •   Graphics
         •   Data                        •   Visual images
              ASCII                             PICT
login:
              EBCDIC                            TIFF
              Encrypted                         JPEG
                          • Sound               GIF
                             MIDI
                          • Video
                             MPEG
                             QuickTime




         • Provides code formatting and
           conversion for applications
Application Layer
   COMPUTER
  APPLICATIONS             NETWORK
 Word Processor          APPLICATIONS               INTERNETWORK
 Presentation Graphics Electronic Mail
                                                    APPLICATIONS
 Spreadsheet            File Transfer           Electronic Data Interchange

 Database               Remote Access           World Wide Web

 Design/Manufacturing   Client-Server Process   E-Mail Gateways

 Project Planning       Information Location    Special-Interest Bulletin Boards

 Others                 Network Management      Financial Transaction Services

                        Others                  Internet Navigation Utilities
                                                Conferencing (Voice, Video, Data)
• User Interaction                              Others
Summary

• OSI reference model describes building
  blocks of functions for program-to-
  program communications between
  similar or dissimilar hosts
• Layers 4–7 (host layers) provide accurate
  data delivery between computers
• Layers 1–3 (media layers) control
  physical delivery of data over the network

Mais conteúdo relacionado

Mais procurados

ccna presentation 2013
ccna presentation 2013ccna presentation 2013
ccna presentation 2013RoHit VashIsht
 
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6Nil Menon
 
A presentation on networking and ccna
A presentation on networking and ccnaA presentation on networking and ccna
A presentation on networking and ccnavivek kumar
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPTAIRTEL
 
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)Abdelkhalik Mosa
 
CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7Nil Menon
 
Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switchingparthasn83
 
CCNA v6.0 ITN - Chapter 08
CCNA v6.0 ITN - Chapter 08CCNA v6.0 ITN - Chapter 08
CCNA v6.0 ITN - Chapter 08Irsandi Hasan
 
Common types of networks(networking)
Common types of networks(networking)Common types of networks(networking)
Common types of networks(networking)welcometofacebook
 
Design And Analysis Of MPLS based VPN
Design And Analysis Of MPLS based VPNDesign And Analysis Of MPLS based VPN
Design And Analysis Of MPLS based VPNgandhimb
 
CCNA PPP and Frame Relay
CCNA PPP and Frame RelayCCNA PPP and Frame Relay
CCNA PPP and Frame RelayDsunte Wilson
 

Mais procurados (20)

ccna presentation 2013
ccna presentation 2013ccna presentation 2013
ccna presentation 2013
 
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
A presentation on networking and ccna
A presentation on networking and ccnaA presentation on networking and ccna
A presentation on networking and ccna
 
Ieee 802.11overview
Ieee 802.11overviewIeee 802.11overview
Ieee 802.11overview
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
ccna project
ccna projectccna project
ccna project
 
Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)
 
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
 
L2 tp
L2 tpL2 tp
L2 tp
 
Digital network lecturer4
Digital network  lecturer4Digital network  lecturer4
Digital network lecturer4
 
Summer training on CCNA
Summer training on CCNASummer training on CCNA
Summer training on CCNA
 
CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7
 
IEEE 80211 ah
IEEE 80211 ahIEEE 80211 ah
IEEE 80211 ah
 
IEEE 802.11
IEEE 802.11IEEE 802.11
IEEE 802.11
 
Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switching
 
CCNA v6.0 ITN - Chapter 08
CCNA v6.0 ITN - Chapter 08CCNA v6.0 ITN - Chapter 08
CCNA v6.0 ITN - Chapter 08
 
Common types of networks(networking)
Common types of networks(networking)Common types of networks(networking)
Common types of networks(networking)
 
Design And Analysis Of MPLS based VPN
Design And Analysis Of MPLS based VPNDesign And Analysis Of MPLS based VPN
Design And Analysis Of MPLS based VPN
 
CCNA PPP and Frame Relay
CCNA PPP and Frame RelayCCNA PPP and Frame Relay
CCNA PPP and Frame Relay
 

Destaque

Лекц 3
Лекц 3Лекц 3
Лекц 3Muuluu
 
Лекц 1
Лекц 1Лекц 1
Лекц 1Muuluu
 
Лекц 7
Лекц 7Лекц 7
Лекц 7Muuluu
 
User account policy
User account policyUser account policy
User account policyMuuluu
 
Лекц 5
Лекц 5Лекц 5
Лекц 5Muuluu
 
Switch configuration
Switch configurationSwitch configuration
Switch configurationMuuluu
 
1.1 windows server 2003
1.1 windows server 20031.1 windows server 2003
1.1 windows server 2003Muuluu
 
2.1 users & groups
2.1 users & groups2.1 users & groups
2.1 users & groupsMuuluu
 
Лекц 8
Лекц 8Лекц 8
Лекц 8Muuluu
 
Лекц 10
Лекц 10Лекц 10
Лекц 10Muuluu
 
Лекц 11
Лекц 11Лекц 11
Лекц 11Muuluu
 
Лекц 15
Лекц 15Лекц 15
Лекц 15Muuluu
 
Лекц 13
Лекц 13Лекц 13
Лекц 13Muuluu
 
2.1 user practical
2.1 user practical2.1 user practical
2.1 user practicalMuuluu
 
2.2 determining trust relationships
2.2 determining trust relationships2.2 determining trust relationships
2.2 determining trust relationshipsMuuluu
 
Dns server
Dns serverDns server
Dns serverMuuluu
 
1.2 ad installation
1.2 ad installation1.2 ad installation
1.2 ad installationMuuluu
 
1.2 active directory
1.2 active directory1.2 active directory
1.2 active directoryMuuluu
 
Лекц 14
Лекц 14Лекц 14
Лекц 14Muuluu
 
Switch function
Switch functionSwitch function
Switch functionMuuluu
 

Destaque (20)

Лекц 3
Лекц 3Лекц 3
Лекц 3
 
Лекц 1
Лекц 1Лекц 1
Лекц 1
 
Лекц 7
Лекц 7Лекц 7
Лекц 7
 
User account policy
User account policyUser account policy
User account policy
 
Лекц 5
Лекц 5Лекц 5
Лекц 5
 
Switch configuration
Switch configurationSwitch configuration
Switch configuration
 
1.1 windows server 2003
1.1 windows server 20031.1 windows server 2003
1.1 windows server 2003
 
2.1 users & groups
2.1 users & groups2.1 users & groups
2.1 users & groups
 
Лекц 8
Лекц 8Лекц 8
Лекц 8
 
Лекц 10
Лекц 10Лекц 10
Лекц 10
 
Лекц 11
Лекц 11Лекц 11
Лекц 11
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Лекц 13
Лекц 13Лекц 13
Лекц 13
 
2.1 user practical
2.1 user practical2.1 user practical
2.1 user practical
 
2.2 determining trust relationships
2.2 determining trust relationships2.2 determining trust relationships
2.2 determining trust relationships
 
Dns server
Dns serverDns server
Dns server
 
1.2 ad installation
1.2 ad installation1.2 ad installation
1.2 ad installation
 
1.2 active directory
1.2 active directory1.2 active directory
1.2 active directory
 
Лекц 14
Лекц 14Лекц 14
Лекц 14
 
Switch function
Switch functionSwitch function
Switch function
 

Semelhante a Лекц 2

OSI REFRENCE MODEL by- Mujmmil Shaikh
OSI REFRENCE MODEL by- Mujmmil ShaikhOSI REFRENCE MODEL by- Mujmmil Shaikh
OSI REFRENCE MODEL by- Mujmmil ShaikhMujmmil Shaikh
 
Cn osi model
Cn osi modelCn osi model
Cn osi modelNAME245
 
Computer networks--osi model
Computer networks--osi modelComputer networks--osi model
Computer networks--osi modelAditya Mehta
 
OSI REFRENCE MODEL by- Mujmmil Shaikh
OSI REFRENCE MODEL by- Mujmmil ShaikhOSI REFRENCE MODEL by- Mujmmil Shaikh
OSI REFRENCE MODEL by- Mujmmil ShaikhMujmmil Shaikh
 
Wireless network basics
Wireless network basicsWireless network basics
Wireless network basicsKumar
 
Enterprise Systems Integration
Enterprise Systems IntegrationEnterprise Systems Integration
Enterprise Systems IntegrationVít Kotačka
 
OSI and TCPIP Model
OSI and TCPIP ModelOSI and TCPIP Model
OSI and TCPIP ModelTapan Khilar
 
OSI Model.pptx
OSI Model.pptxOSI Model.pptx
OSI Model.pptxmilon24
 
Chapter 1 overview-stij3053 - Network Design
Chapter 1 overview-stij3053 - Network DesignChapter 1 overview-stij3053 - Network Design
Chapter 1 overview-stij3053 - Network Designnakomuri
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012Samuel Dratwa
 

Semelhante a Лекц 2 (20)

OSI REFRENCE MODEL by- Mujmmil Shaikh
OSI REFRENCE MODEL by- Mujmmil ShaikhOSI REFRENCE MODEL by- Mujmmil Shaikh
OSI REFRENCE MODEL by- Mujmmil Shaikh
 
Day01
Day01 Day01
Day01
 
Cn osi model
Cn osi modelCn osi model
Cn osi model
 
03. osi reference-layer
03. osi reference-layer03. osi reference-layer
03. osi reference-layer
 
Computer networks--osi model
Computer networks--osi modelComputer networks--osi model
Computer networks--osi model
 
Day 1.3 osi reference
Day 1.3 osi referenceDay 1.3 osi reference
Day 1.3 osi reference
 
OSI REFRENCE MODEL by- Mujmmil Shaikh
OSI REFRENCE MODEL by- Mujmmil ShaikhOSI REFRENCE MODEL by- Mujmmil Shaikh
OSI REFRENCE MODEL by- Mujmmil Shaikh
 
Gsm protl
Gsm protlGsm protl
Gsm protl
 
Wireless network basics
Wireless network basicsWireless network basics
Wireless network basics
 
Enterprise Systems Integration
Enterprise Systems IntegrationEnterprise Systems Integration
Enterprise Systems Integration
 
05 network
05 network05 network
05 network
 
04ip
04ip04ip
04ip
 
OSI and TCPIP Model
OSI and TCPIP ModelOSI and TCPIP Model
OSI and TCPIP Model
 
Isys20261 lecture 06
Isys20261 lecture 06Isys20261 lecture 06
Isys20261 lecture 06
 
VOICE
VOICEVOICE
VOICE
 
OSI Model.pptx
OSI Model.pptxOSI Model.pptx
OSI Model.pptx
 
Chapter 1 overview-stij3053 - Network Design
Chapter 1 overview-stij3053 - Network DesignChapter 1 overview-stij3053 - Network Design
Chapter 1 overview-stij3053 - Network Design
 
OSI layer
OSI layerOSI layer
OSI layer
 
Chapter4[one.]
Chapter4[one.]Chapter4[one.]
Chapter4[one.]
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012
 

Mais de Muuluu

Lecture 2
Lecture 2Lecture 2
Lecture 2Muuluu
 
Lecture 5
Lecture 5Lecture 5
Lecture 5Muuluu
 
Lecture 3
Lecture 3Lecture 3
Lecture 3Muuluu
 
Өгөгдлийн бүтэц
Өгөгдлийн бүтэцӨгөгдлийн бүтэц
Өгөгдлийн бүтэцMuuluu
 
Basic software
Basic software Basic software
Basic software Muuluu
 
Wide area networks
Wide area networksWide area networks
Wide area networksMuuluu
 
NAT and PAT
NAT and PATNAT and PAT
NAT and PATMuuluu
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocolMuuluu
 
Firewall
FirewallFirewall
FirewallMuuluu
 
User practical
User practicalUser practical
User practicalMuuluu
 
Active directory
Active directoryActive directory
Active directoryMuuluu
 
Hardware
HardwareHardware
HardwareMuuluu
 
windows server 2003
 windows server 2003 windows server 2003
windows server 2003Muuluu
 
Процессорын архитектур
Процессорын архитектурПроцессорын архитектур
Процессорын архитектурMuuluu
 
6 network devices
6 network devices6 network devices
6 network devicesMuuluu
 
Бие даалт
Бие даалтБие даалт
Бие даалтMuuluu
 
Лекц 16
Лекц 16Лекц 16
Лекц 16Muuluu
 
Лекц 15
Лекц 15Лекц 15
Лекц 15Muuluu
 
Лекц 14
Лекц 14Лекц 14
Лекц 14Muuluu
 
Лекц 12
Лекц 12Лекц 12
Лекц 12Muuluu
 

Mais de Muuluu (20)

Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Өгөгдлийн бүтэц
Өгөгдлийн бүтэцӨгөгдлийн бүтэц
Өгөгдлийн бүтэц
 
Basic software
Basic software Basic software
Basic software
 
Wide area networks
Wide area networksWide area networks
Wide area networks
 
NAT and PAT
NAT and PATNAT and PAT
NAT and PAT
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
Firewall
FirewallFirewall
Firewall
 
User practical
User practicalUser practical
User practical
 
Active directory
Active directoryActive directory
Active directory
 
Hardware
HardwareHardware
Hardware
 
windows server 2003
 windows server 2003 windows server 2003
windows server 2003
 
Процессорын архитектур
Процессорын архитектурПроцессорын архитектур
Процессорын архитектур
 
6 network devices
6 network devices6 network devices
6 network devices
 
Бие даалт
Бие даалтБие даалт
Бие даалт
 
Лекц 16
Лекц 16Лекц 16
Лекц 16
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Лекц 14
Лекц 14Лекц 14
Лекц 14
 
Лекц 12
Лекц 12Лекц 12
Лекц 12
 

Лекц 2

  • 1. OSI Reference Model www.cisco.com © 1999, Cisco Systems, Inc.
  • 2. Тойм • The Layered Model • Layers 1 & 2: Physical & Data Link Layers • Layer 3: Network Layer • Layers 4–7: Transport, Session, Presentation, and Application Layers
  • 3.
  • 4. Хэрхэн цээжлэх вэ? All - Application People - Presentation Seems - Session To - Transport Need of - Network Data - Data Link Processing - Physical
  • 5. The Layered Model © 1999, Cisco Systems, Inc. www.cisco.com © 1999, Cisco Systems, Inc.
  • 6. Why a Layered Network Model? 7 Application • Нарийн төвөгтэй байдлыг багасгасан (нэг гол асуудал 6 Presentation нь 7-н жижиг one big problem 5 Session to seven smaller ones) • Интерфейсийг стандартад 4 Transport оруулсан 3 Network • Заах ба суралцахад хялбар 2 Data Link болсон 1 Physical
  • 7. Давхарга бүр дэхь төхөөрөмжүүдийн үүрэг 7 Application 6 Presentation NIC Card 5 Session 4 Transport 3 Network 2 Data Link 1 Physical Hub
  • 8. Эзэмшигч давхаргууд } 7 Application 6 Presentation Host layers: Өгөгдлийг компьютераас компьютер 5 Session лүү алдаагүй дамжуулалтыг 4 Transport хангаж өгнө. 3 Network 2 Data Link 1 Physical
  • 9. Зөөврийн давхаргууд } 7 Application 6 Presentation Host layers: Өгөгдлийг 5 Session компьютераас компьютер лүү алдаагүй дамжуулалтыг 4 Transport хангаж өгнө. } 3 Network 2 Data Link Media layers: Мэдээг сүлжээнд дамжуулахад 1 Physical физик хяналт тавина.
  • 10. Application Layer 7 Application Хэрэглээний програмуудын сүлжээний орчинд найдвартай ажиллагааг хангаж өгнө. (жнь:е-майл, файл дамжуулалт ба терминалд хувилгах )
  • 11. Presentation Layer 7 Application Хэрэглээний програмын сүлжээн дэхь үйлчилгээ 6 Presentation Өгөгдлийн илэрхийлэл • Системээр хүлээн авсан өгөгдлийг ойлгомжтой байлгах баталгаагаар хангах • Өгөгдлийг форматлах • Өгөгдөл дамжуулахад холбоотой систем болох хэрэглээний давхаргатай тохиролцоно.
  • 12. Session Layer 7 Application Хэрэглээний програмын сүлжээн дэхь үйлчилгээ 6 Presentation Өгөгдлийн илэрхийлэл 5 Session Дундын эзэмшигчийн харилцан холбоо • Establishes, manages, and terminates sessions between applications
  • 13. Transport Layer 7 Application Network services to applications 6 Presentation Data representation 5 Session Inter-host communication 4 Transport End-to-end connection reliability • Concerned with data transport issues between hosts • Data transport reliability • Establishes, maintains, and terminates virtual circuits • Fault detection and recovery • Information flow control
  • 14. Network Layer 7 Application Network services to applications 6 Presentation Data representation 5 Session Inter-host communication 4 Transport End-to-end connection reliability 3 Network Addresses and best path • Provides connectivity and path selection between two end systems • Domain of routing
  • 15. Data Link Layer 7 Application Network services to applications 6 Presentation Data representation 5 Session Inter-host communication 4 Transport End-to-end connection reliability 3 Network Addresses and best path 2 Data Link Access to media • Provides reliable transfer of data across media • Physical addressing, network topology, error notification, flow control
  • 16. Physical Layer 7 Application Network services to applications 6 Presentation Data representation 5 Session Inter-host communication 4 Transport End-to-end connection reliability 3 Network Addresses and best path 2 Data Link Access to media 1 Physical Binary transmission • Wires, connectors, data rates
  • 17. Communications Host A Host B 7 Application Application 6 Presentation Presentation 5 Session Session Segments 4 Transport Transport Packets 3 Network Network Frames 2 Data Link Data Link Bits 1 Physical Physical
  • 18. Data Encapsulation Host A Host B Application Application Presentation Session Transport Network } { Data Presentation Session Transport Network Data Link Data Link Physical Physical
  • 19. Data Encapsulation Host A Host B Application Application Presentation Session Transport Network } { Data Network Data Header Presentation Session Transport Network Data Link Data Link Physical Physical
  • 20. Data Encapsulation Host A Host B Application Application Presentation Session Transport Network } { Data Network Data Header Presentation Session Transport Network Frame Network Data Frame Data Link Data Link Header Header Trailer Physical Physical
  • 21. Data Encapsulation Host A Host B Application Application Presentation Session Transport Network } { Data Network Data Header Presentation Session Transport Network Frame Network Data Frame Data Link Data Link Header Header Trailer Physical 0101101010110001 Physical
  • 22. Layers 1 & 2: Physical & Data Link Layers www.cisco.com © 1999, Cisco Systems, Inc.
  • 23. MAC Address 24 bits 24 bits Vendor Code Serial Number 0000.0c12. 3456 ROM RAM • MAC address is burned into ROM on a network interface card
  • 24. Layer 3: Network Layer © 1999, Cisco Systems, Inc. www.cisco.com © 1999, Cisco Systems, Inc.
  • 25. Network Layer: Path Determination Which Path? Which Path? • Layer 3 functions to find the best path through the internetwork
  • 26. Layers 4–7: Transport, Session, Presentation, and Application Layers www.cisco.com © 1999, Cisco Systems, Inc.
  • 27. Transport Layer • Segments upper-layer applications • Establishes an end-to-end connection • Sends segments from one end host to another • Optionally, ensures data reliability
  • 28. Transport Layer— Establishes Connection Sender Receiver Synchronize Negotiate Connection Synchronize Acknowledge Connection Established Data Transfer (Send Segments)
  • 29. Transport Layer— Sends Segments with Flow Control Transmit Sender Receiver Buffer Full Not Ready Stop Process Segments Go Ready Buffer OK Resume Transmission
  • 30. Transport Layer— Reliability with Windowing • Window Size = 1 Send 1 Receive 1 Ack 2 Sender Send 2 Receive 2 Receiver Ack 3 • Window Size = 3 Send 1 Receive 1 Send 2 Receive 2 Sender Send 3 Receive 3 Receiver Ack 4 Send 4
  • 31. Transport Layer— An Acknowledgement Technique Sender Receiver 1 2 3 4 5 6 7 1 2 3 4 5 6 7 Send 1 Send 2 Send 3 Ack 4 Send 4 Send 5 Send 6 Ack 5 Send 5 Ack 7
  • 32. Transport to Network Layer End-to-End Segments Routed Packets
  • 33. Session Layer • Network File System (NFS) • Structured Query Language (SQL) • Remote-Procedure Call (RPC) • AppleTalk Session Protocol (ASP) • DEC Session Control Protocol (SCP) Service Request Service Reply • Coordinates applications as they interact on different hosts
  • 34. Presentation Layer • Text • Graphics • Data • Visual images ASCII PICT login: EBCDIC TIFF Encrypted JPEG • Sound GIF MIDI • Video MPEG QuickTime • Provides code formatting and conversion for applications
  • 35. Application Layer COMPUTER APPLICATIONS NETWORK Word Processor APPLICATIONS INTERNETWORK Presentation Graphics Electronic Mail APPLICATIONS Spreadsheet File Transfer Electronic Data Interchange Database Remote Access World Wide Web Design/Manufacturing Client-Server Process E-Mail Gateways Project Planning Information Location Special-Interest Bulletin Boards Others Network Management Financial Transaction Services Others Internet Navigation Utilities Conferencing (Voice, Video, Data) • User Interaction Others
  • 36. Summary • OSI reference model describes building blocks of functions for program-to- program communications between similar or dissimilar hosts • Layers 4–7 (host layers) provide accurate data delivery between computers • Layers 1–3 (media layers) control physical delivery of data over the network