Packet Switching, Layer Models and Protocol Suites

Similar documents
Chapter 2 Network Models 2.1

Chapter 2 Network Models 2.1

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

ES623 Networked Embedded Systems

Chapter 3 Protocols and the TCP/IP Suite

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

Chapter 2 Network Models 2.1

Need For Protocol Architecture

Need For Protocol Architecture

Network Models. Presentation by Dr.S.Radha HOD / ECE SSN College of Engineering

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

MEBS Utilities services M.Sc.(Eng) in building services Faculty of Engineering University of Hong Kong

Data and Computer Communications

Chapter 12 Network Protocols

Networking Applications

ITEC 3800 Data Communication and Network. Introducing Networks

Data Communication and Network. Introducing Networks

The Client Server Model and Software Design

Chapter -4 OSI Reference Model

TCP/IP THE TCP/IP ARCHITECTURE

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

System Programming. Introduction to computer networks

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

Network Architecture Models

Layered Architecture

Peer entities. Protocol Layering. Protocols. Example

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.

CS3600 SYSTEMS AND NETWORKS

CPS221 Lecture: Layered Network Architecture

TCP/IP protocol suite

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

Network Reference Models

Chapter 2 Network Models

Introduction to computer networking

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

The OSI Model and the TCP/IP Protocol Suite Outline: 1. Protocol Layers 2. OSI Model 3. TCP/IP Model 4. Addressing

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Chapter 09 Network Protocols

Chapter 1. Computer Networks and the Internet

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

Read addressing table and network map

Lecture 2: Internet Architecture

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

COMPONENTS OF DATA COMMUNICATION

CS4700/CS5700 Fundaments of Computer Networks

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

Chapter 1: Introduction

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

Introduction to Open System Interconnection Reference Model

Network Review TEJ4M. SBrace

Module 2 Overview of Computer Networks

Computer Networks 1DV201

Module 2 Overview of. Computer Networks

Chapter 7. Local Area Network Communications Protocols

CCNA Exploration Network Fundamentals. Chapter 3 Application Layer Functionality and Protocols

Communication Fundamentals in Computer Networks

The History and the layers of the OSI Model 30 - October

ECE 4400:427/527 - Computer Networks Spring 2017

Defining Networks with the OSI Model. Module 2

Data & Computer Communication

Cisco Cisco Certified Network Associate (CCNA)

COMP750. Distributed Systems. Network Overview

Fundamentals of Networking. OSI & TCP/IP Model. Kuldeep Sonar 1

Introduction to Protocols

CS1302 / Computer Networks

Computer Networks (Introduction to TCP/IP Protocols)

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

Internet Routing. Review of Networking Principles. What s the Internet: nuts and bolts view. Communication links

Internet Routing. Review of Networking Principles

Communication Networks

Chapter 11: Wide-Area Networks and the Internet

Review. Review. Review. How to Send a Message over a Network? LAN LAN. LAN Routing Addressing Reliable Data Transfer Congestion Control LAN

Time : 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups are directed. Group A.

Lecture-4. TCP/IP-Overview:

Revision of Previous Lectures

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

Area Covered is small Area covered is large. Data transfer rate is high Data transfer rate is low

Internetworking Models The OSI Reference Model

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

Operating Systems and. Computer Networks. Introduction to Computer Networks. Operating Systems and

ECE4110 Internetwork Programming. Introduction and Overview

Review of Important Networking Concepts

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

a. the physical layer, b. and the data-link layer. a. three physical layers, b. three data-link layers, c. and only one network layer.

CS4700/5700: Network fundamentals

Parts of a Network. app. router. link. host. Computer Networks 2

ELC 537 Communication Networks

Operating Systems CS 571

Chapter 2 Layer Architecture of Network Protocols. School of Info. Sci. & Eng. Shandong Univ.

EEC-484/584 Computer Networks

Copyleft 2005, Binnur Kurt. Objectives

CS-461 Internetworking. Dr. Mohamed Aboutabl

Internet Architecture & Performance. What s the Internet: nuts and bolts view

infrared Disadvantage: 1. cannot use for long-range communication or outside a building due to sun s rays.

Transcription:

Packet Switching, Layer Models and Protocol Suites Course Code CCE 211 Course Title Data Communication Asst. Prof. Md Samsuzzaman, Ph.D. sobuzcce@cse.pstu.ac.bd http://www.cse.pstu.ac.bd/sobuzcse Computer and Communication Engineering Department 1PSTU

Outline Circuit vs. packet switching Layered tasks Internet protocol suites ISO's OSI model 2

End-to-End Communication Direct communication Most basic form of communication TX RX TX RX GND GND Serial Port Internet communication Communication is performed over the Internet Internet 3

Internet Comm. - App's Viewpoint Two network applications should interact as if they were directly connected App write read App A Internet B But what's going on underneath? What is inside the "cloud"? 4

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

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

Figure 2.1: A single-layer protocol 2.8

Figure 2.2: A three-layer protocol Postal carrier facility 2.9

2.1.2 Principles of Protocol Layering Let us discuss two principles of protocol layering. The first principle dictates that if we want bidirectional communication, we need to make each layer so that it is able to perform two opposite tasks, one in each direction. The second principle that we need to follow in protocol layering is that the two objects under each layer at both sites should be identical. 2.10

2.1.3 Logical Connections After following the above two principles, we can think about logical connection between each layer as shown in Figure 2.3. This means that we have layer-to-layer communication. Maria and Ann can think that there is a logical (imaginary) connection at each layer through which they can send the object created from that layer. We will see that the concept of logical connection will help us better understand the task of layering we encounter in data communication and networking. 2.11

Figure 2.3: Logical connection between peer layers 2.12

Real World Example Communication between managers of two companies Communicate 13

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

Figure 2.5: Communication through an internet 2.17

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

Application Layer Responsible for providing services to the user The only layer to interact with user Data Logical communication Data Application Layer SMTP HTTP FTP SMTP HTTP FTP Data H5 Data H5 to Transport from Transport 19

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

Transport Layer Process Process Process Process PORT # PORT # Data Data Transport Layer Data 1 H4 Data 2 H4 Data 3 H4 (segments) Data 1 H4 Data 2 H4 Data 3 H4 to Network from Network 21

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

Network Layer from Transport to Transport Data Data Network Layer Data H3 Data H3 (packet) to Data Link from Data Link 23

Network Layer Data 1.1 5.7 1.1 1.2 Network 1 1.1, 1.2, 6.1, 5.7,... are logical addresses R1 6.1 Network 6 6.6 6.3 R2 Router 3.8 3.3 Network 3 R3 5.7 5.2 Network 5 24

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

Data Link Layer from Network to Network Data Data Data Link Layer T2 Data H2 T2 Data H2 (frame) to Physical from Physical 26

Data Link Layer A3, 3B, 82, 9F,... are physical addresses Data 9F 3B 82 A3 T2 Data 9F A3 H2 27

Data Link Layer Data 1.1 5.7 1.1 1.2 97 32 Network 1 Data 1.1 5.7 97 25 R1 25 79 Data 1.1 5.7 79 62 6.1 Network 6 R2 12 88 3.8 6.6 3.3 Network 3 6.3 R3 62 54 Data 1.1 5.7 54 74 5.7 74 5.2 Network 5 28

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

Physical Layer from Data Link to Data Link Data Data Physical Layer 01001011 01001011 (bits) Transmission medium 30

The Big Picture L5 data H5 5 5 L5 data H5 L4 data H4 4 4 L4 data H4 L3 data H3 3 3 L3 data H3 T2 L2 data H2 2 2 T2 L2 data H2 0111011010101001010101001 1 1 0111010101010010101010101 Transmission medium 31

Internet Model sender router router receiver Application Application Transport Transport Network Network Network Network Data Link D.L. D.L. D.L. D.L. Data Link Physical P.L. P.L. P.L. P.L. Physical Transmission medium 32

Internet Model 33

Protocol Suites A set of protocols must be constructed to ensure that the resulting communication system is complete and efficient Each protocol should handle a part of communication not handled by other protocols 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 34 34

Internet Protocol Suite Layer Protocols 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,... 35

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

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

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