SlideShare a Scribd company logo
CS425: Computer Networks
             Bhaskaran Raman
         [braman] AT [cse.iitk.ac.in]

http://www.cse.iitk.ac.in/users/braman/cs425/

      Department of CSE, IIT Kanpur
             Jul-Dec 2006

        Lecture 02: Fri, 04 Aug 2006
Updates/Announcements
●
    Course web-page is up
●
    Lecture times (CS101):
    –   Mon 11-12, Fri 5-6:30
●
    Tutorial times (CS101):
    –   Tue 4:30-6, Wed 11-12:30, Thu 5:30-7
    –   May be reduced to one hour
●
    Will have to move to LHC if needed
Recap and Lecture Outline
●
    Recap:
    –   What is a network?
    –   What is a protocol?
●
    Lecture outline:
    –   What are the required/desirable functionalities?
    –   How to structure them?
    –   Concepts of layering, encapsulation
    –   Physical layer encoding (Kameswari Chebrolu)
Required/Desired Functionalities
●
    Modulation,              ●
                                 Multiplexing,
    demodulation                 demultiplexing
●
    Encoding                 ●
                                 Quality-of-Service
●
    Framing                  ●
                                 Security
●
    Detect, correct errors   ●
                                 Compression
●
    Medium Access Control    ●
                                 Naming, addressing
●
    Routing                  ●
                                 Application
●
    Reliability
●
    In-order delivery
OSI Layering
    ●
        What is layering?                  Application

        –   “ Structuring technique       Presentation
             which permits the
             network... to be viewed        Session
             as logically composed of      Transport
             a succession of layers,
             each wrapping the lower        Network
             layers and isolating them   Link-Layer-Ctrl
             from higher layers”         Medium-Access
             [Zim80]                        Physical
                                   
Advantages of Layering
    ●
        Handle heterogeneity
    ●
        Software reuse, modularity
    ●
        Allows extensibility, new technologies




                              
Inter-Layer Communication

                Layer N+1         Layer N+1

     Downcall                                 Upcall


                 Layer N           Layer N




                Layer N-1         Layer N-1
                            PHY
                Host-1              Host-2


      Interface definition between layers is crucial
                              
Encapsulation & Decapsulation

              Layer N+1         Layer N+1




               Layer N           Layer N




              Layer N-1         Layer N-1
                          PHY
               Host-1             Host-2




          Each layer adds/removes its header
                            
Logical Communication between
       Layers at the Same Level
            Application             Application
                          Logical


            Transport               Transport
                          Logical


             Network                 Network
                          Logical

            LLC/MAC                 LLC/MAC
                          Logical

               PHY                     PHY
                           PHY

              Host-1                    Host-2
End-to-end versus Hop-by-hop
    Application                                                                 Application
                                            Logical

     Transport                                                                  Transport
                                            Logical

     Network                Network                     Network                  Network
                  Logical                   Logical                   Logical

     LLC/MAC                LLC/MAC                    LLC/MAC                  LLC/MAC
                  Logical                   Logical                   Logical

       PHY                    PHY                        PHY                       PHY
                   PHY                       PHY                       PHY
    End-Host-1              Intermediate-             Intermediate-             End-Host-2
                            Host-1                    Host-2
                                                
Summary of Concepts
    ●
        Layering
    ●
        Inter-layer communication
    ●
        Encapsulation
    ●
        End-to-end versus hop-by-hop communication
    ●
        Concepts not covered from Chapter-1 of
        Peterson book:
        –   Packet switching
        –   Sockets
        –   Protocol graph
        –   Bandwidth-Delay Product (BDP)
                                  

More Related Content

Similar to Lec02 layering

Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLANFlexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Cisco Canada
 
Gsm protl
Gsm protlGsm protl
Architecting data center networks in the era of big data and cloud
Architecting data center networks in the era of big data and cloudArchitecting data center networks in the era of big data and cloud
Architecting data center networks in the era of big data and cloud
bradhedlund
 
Ultra-scalable Architectures for Telecommunications and Web 2.0 Services
Ultra-scalable Architectures for Telecommunications and Web 2.0 ServicesUltra-scalable Architectures for Telecommunications and Web 2.0 Services
Ultra-scalable Architectures for Telecommunications and Web 2.0 Services
Mauricio Arango
 
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
Wesley De Neve
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012
Samuel Dratwa
 
XS Boston 2008 XenLoop
XS Boston 2008 XenLoopXS Boston 2008 XenLoop
XS Boston 2008 XenLoop
The Linux Foundation
 
Rev 090004 Radio Layer 2 And Rrc Aspects
Rev 090004 Radio Layer 2 And Rrc AspectsRev 090004 Radio Layer 2 And Rrc Aspects
Rev 090004 Radio Layer 2 And Rrc Aspects
maddiv
 
LTE Radio Layer 2 And Rrc Aspects
LTE Radio Layer 2 And Rrc AspectsLTE Radio Layer 2 And Rrc Aspects
LTE Radio Layer 2 And Rrc Aspects
BP Tiwari
 
ROS distributed architecture
ROS  distributed architectureROS  distributed architecture
ROS distributed architecture
Pablo Iñigo Blasco
 
Designing.and.implementing.linux
Designing.and.implementing.linuxDesigning.and.implementing.linux
Designing.and.implementing.linux
gavin shaw
 
Openflow勉強会 「OpenFlowコントローラを取り巻く状況とその実装」
Openflow勉強会 「OpenFlowコントローラを取り巻く状況とその実装」Openflow勉強会 「OpenFlowコントローラを取り巻く状況とその実装」
Openflow勉強会 「OpenFlowコントローラを取り巻く状況とその実装」
Sho Shimizu
 
Networking interview questions
Networking interview questionsNetworking interview questions
Networking interview questions
zahadath
 
OLPC Mesh networking improvements
OLPC Mesh networking improvementsOLPC Mesh networking improvements
OLPC Mesh networking improvements
OSLL
 
Osi 7 layer
Osi 7 layerOsi 7 layer
Osi 7 layer
Manode Boonpeng
 
Software-Defined Networking SDN - A Brief Introduction
Software-Defined Networking SDN - A Brief IntroductionSoftware-Defined Networking SDN - A Brief Introduction
Software-Defined Networking SDN - A Brief Introduction
Jason TC HOU (侯宗成)
 
Luxbg fringe
Luxbg fringeLuxbg fringe
Luxbg fringe
Pascal Thubert
 
Tom Krcha - Future of Flash
Tom Krcha - Future of FlashTom Krcha - Future of Flash
Tom Krcha - Future of Flash
DevGAMM Conference
 
Parallel computing(1)
Parallel computing(1)Parallel computing(1)
Parallel computing(1)
Md. Mahedi Mahfuj
 
OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow Demos
Brent Salisbury
 

Similar to Lec02 layering (20)

Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLANFlexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
 
Gsm protl
Gsm protlGsm protl
Gsm protl
 
Architecting data center networks in the era of big data and cloud
Architecting data center networks in the era of big data and cloudArchitecting data center networks in the era of big data and cloud
Architecting data center networks in the era of big data and cloud
 
Ultra-scalable Architectures for Telecommunications and Web 2.0 Services
Ultra-scalable Architectures for Telecommunications and Web 2.0 ServicesUltra-scalable Architectures for Telecommunications and Web 2.0 Services
Ultra-scalable Architectures for Telecommunications and Web 2.0 Services
 
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012
 
XS Boston 2008 XenLoop
XS Boston 2008 XenLoopXS Boston 2008 XenLoop
XS Boston 2008 XenLoop
 
Rev 090004 Radio Layer 2 And Rrc Aspects
Rev 090004 Radio Layer 2 And Rrc AspectsRev 090004 Radio Layer 2 And Rrc Aspects
Rev 090004 Radio Layer 2 And Rrc Aspects
 
LTE Radio Layer 2 And Rrc Aspects
LTE Radio Layer 2 And Rrc AspectsLTE Radio Layer 2 And Rrc Aspects
LTE Radio Layer 2 And Rrc Aspects
 
ROS distributed architecture
ROS  distributed architectureROS  distributed architecture
ROS distributed architecture
 
Designing.and.implementing.linux
Designing.and.implementing.linuxDesigning.and.implementing.linux
Designing.and.implementing.linux
 
Openflow勉強会 「OpenFlowコントローラを取り巻く状況とその実装」
Openflow勉強会 「OpenFlowコントローラを取り巻く状況とその実装」Openflow勉強会 「OpenFlowコントローラを取り巻く状況とその実装」
Openflow勉強会 「OpenFlowコントローラを取り巻く状況とその実装」
 
Networking interview questions
Networking interview questionsNetworking interview questions
Networking interview questions
 
OLPC Mesh networking improvements
OLPC Mesh networking improvementsOLPC Mesh networking improvements
OLPC Mesh networking improvements
 
Osi 7 layer
Osi 7 layerOsi 7 layer
Osi 7 layer
 
Software-Defined Networking SDN - A Brief Introduction
Software-Defined Networking SDN - A Brief IntroductionSoftware-Defined Networking SDN - A Brief Introduction
Software-Defined Networking SDN - A Brief Introduction
 
Luxbg fringe
Luxbg fringeLuxbg fringe
Luxbg fringe
 
Tom Krcha - Future of Flash
Tom Krcha - Future of FlashTom Krcha - Future of Flash
Tom Krcha - Future of Flash
 
Parallel computing(1)
Parallel computing(1)Parallel computing(1)
Parallel computing(1)
 
OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow Demos
 

Recently uploaded

Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 

Recently uploaded (20)

Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 

Lec02 layering

  • 1. CS425: Computer Networks Bhaskaran Raman [braman] AT [cse.iitk.ac.in] http://www.cse.iitk.ac.in/users/braman/cs425/ Department of CSE, IIT Kanpur Jul-Dec 2006 Lecture 02: Fri, 04 Aug 2006
  • 2. Updates/Announcements ● Course web-page is up ● Lecture times (CS101): – Mon 11-12, Fri 5-6:30 ● Tutorial times (CS101): – Tue 4:30-6, Wed 11-12:30, Thu 5:30-7 – May be reduced to one hour ● Will have to move to LHC if needed
  • 3. Recap and Lecture Outline ● Recap: – What is a network? – What is a protocol? ● Lecture outline: – What are the required/desirable functionalities? – How to structure them? – Concepts of layering, encapsulation – Physical layer encoding (Kameswari Chebrolu)
  • 4. Required/Desired Functionalities ● Modulation, ● Multiplexing, demodulation demultiplexing ● Encoding ● Quality-of-Service ● Framing ● Security ● Detect, correct errors ● Compression ● Medium Access Control ● Naming, addressing ● Routing ● Application ● Reliability ● In-order delivery
  • 5. OSI Layering ● What is layering? Application – “ Structuring technique Presentation which permits the network... to be viewed Session as logically composed of Transport a succession of layers, each wrapping the lower Network layers and isolating them Link-Layer-Ctrl from higher layers” Medium-Access [Zim80] Physical    
  • 6. Advantages of Layering ● Handle heterogeneity ● Software reuse, modularity ● Allows extensibility, new technologies    
  • 7. Inter-Layer Communication Layer N+1 Layer N+1 Downcall Upcall Layer N Layer N Layer N-1 Layer N-1 PHY Host-1 Host-2 Interface definition between layers is crucial    
  • 8. Encapsulation & Decapsulation Layer N+1 Layer N+1 Layer N Layer N Layer N-1 Layer N-1 PHY Host-1 Host-2 Each layer adds/removes its header    
  • 9. Logical Communication between Layers at the Same Level Application Application Logical Transport Transport Logical Network Network Logical LLC/MAC LLC/MAC Logical PHY PHY PHY   Host-1   Host-2
  • 10. End-to-end versus Hop-by-hop Application Application Logical Transport Transport Logical Network Network Network Network Logical Logical Logical LLC/MAC LLC/MAC LLC/MAC LLC/MAC Logical Logical Logical PHY PHY PHY PHY PHY PHY PHY End-Host-1 Intermediate- Intermediate- End-Host-2 Host-1 Host-2    
  • 11. Summary of Concepts ● Layering ● Inter-layer communication ● Encapsulation ● End-to-end versus hop-by-hop communication ● Concepts not covered from Chapter-1 of Peterson book: – Packet switching – Sockets – Protocol graph   – Bandwidth-Delay Product (BDP)