1 Packet Switching, Layer Models and Protocol Suites 01204325 Data Communications and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.

Slides:



Advertisements
Similar presentations
Chapter 2 Network Models.
Advertisements

Chapter 2 Network Models.
OSI Model MIS 416 – Module II Spring 2002 Networking and Computer Security.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP.
Introduction To Networking
Inside the Internet. INTERNET ARCHITECTURE The Internet system consists of a number of interconnected packet networks supporting communication among host.
OSI Reference Model An overview. Standards and the internet International Organization for Standardization ISO 70’s.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Chapter 2 Network Models.
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Data Communications Network Models.
NETWORK MODELS T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Lecturer: Tamanna Haque Nipa
The OSI Model and the TCP/IP Protocol Suite
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non-proprietary standards for networking and for operating system.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
Service Primitives Six service primitives that provide a simple connection-oriented service 4/23/2017
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3.
1 Review - OSI Model n OSI Reference Model u represents the communications process. u 7 layers: physical, data link, network, transport, session, presentation.
The OSI Model.
Spring 2006Computer Networks1 Chapter 2 Network Models.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
MODULE I NETWORKING CONCEPTS.
1 Kyung Hee University Chapter 2 Network Models. 2 Kyung Hee University 2.1 LAYERED TASKS We use the concept of layers in our daily life. As an example,
©Brooks/Cole, 2003 Model and protocol  A model is the specification set by a standards organization as a guideline for designing networks.  A protocol.
Spring 2006Computer Networks1 Chapter 2 Network Models.
BY SANTHOSH G. What is Networking Network Requirements What is Topology Types of Topologies.
Chapter 2. Network Models
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
1 Packet Switching, Layer Models and Protocol Suites.
Chapter 2 Network Models
Network Models.
Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
8/28/ Network Models - Lin 1 CPET/ECET Network Models Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical and.
Chapter 2. Network Models
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The OSI Model A Framework for Communications David A. Abarca July 19, 2005.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
Advanced Higher Computing Computer Networking Topic 1: Network Protocols and Standards.
THE OSI REFERENCE MODEL
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Network Models.
Networking Using the OSI Model.
Chapter 2 Network Models.
Chap. 2 Network Models.
Part I. Overview of Data Communications and Networking
OSI Protocol Stack Given the post man exemple.
Lec 5 Layers Computer Networks Al-Mustansiryah University
ECE 4400:427/527 - Computer Networks Spring 2017
Data and Computer Communications by William Stallings Eighth Edition
OSI Model The Seven Layers
Network Model.
The OSI 7 Layer Model Ben, Stuart, Charles.
OSI Model. Overview:  Review  OSI Model  Layer 1 - The Physical Layer  Layer 2 - The Data Link Layer  Layer 3 - The Network Layer  Layer 4 - The.
Chapter 2 Network Models
Network Models CCNA Instructor Training Course October 12-17, 2009
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Network Basics and Architectures Neil Tang 09/05/2008
Unit – III Network Essentials
Presentation transcript:

1 Packet Switching, Layer Models and Protocol Suites Data Communications and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. Computer Engineering Department Kasetsart University, Bangkok, Thailand

2 Outline Packet vs. circuit switching Packet vs. circuit switching Layered tasks Layered tasks Internet protocol suites Internet protocol suites ISO's OSI model ISO's OSI model

3 Communication: App's Viewpoint Two network applications interact as if there is a dedicate pipe connecting them Two network applications interact as if there is a dedicate pipe connecting them But what's going on underneath? But what's going on underneath? What is inside the "cloud"? What is inside the "cloud"? Internet A App B App

4 Circuit vs. Packet Switching Early communication networks Early communication networks Dedicated circuit Dedicated circuit Electronic switches are used Electronic switches are used Circuit switching Circuit switching In 1960s, packet switching concept revolutionized data communications In 1960s, packet switching concept revolutionized data communications Provides the basis for the modern Internet Provides the basis for the modern Internet Allows multiple users to share a network Allows multiple users to share a network Divides data into small blocks, called packets Divides data into small blocks, called packets Includes an identification of the intended recipient in each packet Includes an identification of the intended recipient in each packet

5 Circuit vs. Packet Switching Dedicated circuits Dedicated circuits Circuit switching Circuit switching Telephone switches establish circuits for communication Telephone switches establish circuits for communication Packet switching Packet switching Data are put into packets Data are put into packets Each stamped with source and destination addresses Each stamped with source and destination addresses Routers know where to forward packets Routers know where to forward packets telephone switch Router Packet

6 Layered Tasks Computer networks are complex systems Computer networks are complex systems Tasks involve varieties of hardware and software components, and protocols Tasks involve varieties of hardware and software components, and protocols Networking task is divided into several subtasks, or layers Networking task is divided into several subtasks, or layers

7 Real World Example Communication between managers of two companies Communication between managers of two companies Communicate

8 What Actually Happens Communication takes place thru many layers Communication takes place thru many layers Logical communication Secretary: types a letter Delivery boy: drops the letter Secretary: reads and reports the message Delivery boy: takes the letter Post office: Processes and routes the letter Postal truck

9 Layer Model Layer N uses services provided by Layer N -1 Layer N uses services provided by Layer N -1 Layer N Using services Providing services Logical communication path HOST A HOST B Layer N-2 Layer N-1 Virtual Communication System Layer N protocol

10 Why Layers? Guidelines for protocol developments Guidelines for protocol developments Reference model Reference model Modularity Modularity Eases maintenance and updating of systems Eases maintenance and updating of systems A change in one layer is transparent to the rest A change in one layer is transparent to the rest Is layering always the best thing to do? Is layering always the best thing to do? Maybe not  cross-layer optimization Maybe not  cross-layer optimization

11 Internet Layer Model The Internet Protocol Stack The Internet Protocol Stack Application Layer Transport Layer Network Layer Data Link Layer Physical Layer User Transmission Medium Hardware Software

12 Application Layer The only layer to interact with user The only layer to interact with user Responsible for providing services to the user SMTPHTTPFTPSMTPHTTPFTP Data H5 Application Layer to Transport from Transport DataH5 Data Logical communication

13 Transport Layer Duties/services Duties/services Port addressing Port addressing Segmentation and reassembly Segmentation and reassembly Connection control Connection control Flow control (end-to-end) Flow control (end-to-end) Error control (end-to-end) Error control (end-to-end) Responsible for delivery of a message from one process to another

14 Transport Layer Data from Application Data 1 Data 2 Data 3 H4 to Network Data to Application Data 1 Data 2 Data 3 H4 from Network (segments)

15 Network Layer Duties/services Duties/services Logical addressing Logical addressing Routing Routing Responsible for the delivery of packets from the original source to the destination

16 Network Layer Data from Transport to Data Link Data to Transport from Data Link DataH3DataH3 (packet)

17 Network Layer Network 1 Network 6 Network Network Router Data , 1.2, 6.1, 5.7,... are logical addresses R1 R3 R2

18 Data Link Layer Duties/services Duties/services Framing Framing Physical addressing Physical addressing Flow control (hop-to-hop) Flow control (hop-to-hop) Error control (hop-to-hop) Error control (hop-to-hop) Access control Access control Responsible for transmitting frames from one node to the next

19 Data Link Layer Data from Network to Physical Data to Network from Physical DataH2DataH2 (frame) T2

20 Data Link Layer 3B A3, 3B, 82, 9F,... are physical addresses 9F82A3 Data9FT2A3 Data H2

21 Data Link Layer Network 1 Network 6 Network B Network Data Data Data Data R1 R3 R2

22 Physical Layer Duties/services Duties/services Physical characteristics of interfaces and media Physical characteristics of interfaces and media Representation of bits Representation of bits Data rate (transmission rate) Data rate (transmission rate) Synchronization of bits Synchronization of bits Responsible for transmitting individual bits from one node to the next

23 Physical Layer Data from Data Linkto Data Link Data Transmission medium (bits)

24 The Big Picture L5 dataH5 L4 dataH4 L3 dataH3 L2 dataT2H L5 dataH5 L4 dataH4 L3 dataH3 L2 dataT2H Transmission medium

25 Internet Model ApplicationTransport Network Data Link Physical Network PhysicalNetwork Physical ApplicationTransport Network Physical Transmission medium sender router receiver

26 Protocol Suites A set of protocols must be constructed A set of protocols must be constructed to ensure that the resulting communication system is complete and efficient to ensure that the resulting communication system is complete and efficient Each protocol should handle a part of communication not handled by other protocols Each protocol should handle a part of communication not handled by other protocols How can we guarantee that protocols work well together? How can we guarantee that protocols work well together? Instead of creating each protocol in isolation, protocols are designed in complete, cooperative sets called suites or families Instead of creating each protocol in isolation, protocols are designed in complete, cooperative sets called suites or families

27 Internet Protocol Suite LayerProtocols Application HTTP, FTP, Telnet, SMTP,... Transport TCP, UDP, SCTP,... Network IP (IPv4), IPv6, ICMP, IGMP,... Data Link Ethernet, Wi-Fi, PPP,... Physical RS-232, DSL, 10Base-T,...

28 OSI Model OSI – Open Systems Interconnection OSI – Open Systems Interconnection Developed by the International Standards Organizations (ISO) Developed by the International Standards Organizations (ISO) Two additional layers Two additional layers Presentation layer Session layer 7.Application Layer 6.Presentation Layer 5.Session Layer 4.Transport Layer 3.Network Layer 2.Data Link Layer 1.Physical Layer User Transmission Medium

29 Session Layer Duties/services Duties/services Interaction management Interaction management  Simplex, half-duplex, full-duplex Session recovery Session recovery Responsible for establishing, managing and terminating connections between applications

30 Presentation Layer Duties/services Duties/services Data translation Data translation Encryption Encryption Decryption Decryption Compression Compression Responsible for handling differences in data representation to applications

31 OSI Layers in Real World transmission medium Reads the message Summarizes or translates letter Opens letter Withdraws letter from mailbox Checks address and sorts letter Unpacks packages Unloads from truck Handwrites a message 7.Manager Prepares final version 6.Assistant Provides address and packs letter 5.Secretary Delivers letter to post office 4.Driver Checks address and sorts letter 3.Postal staff Packs letters for certain directions 2.Postal staff Loads on truck 1.Postal staff Pictures from Wikipedia