CSC 546: Client/Server Fundamentals. Fall Major client/server protocols

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

System Programming. Introduction to computer networks

Data Communication and Network. Introducing Networks

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

Chapter 7. Local Area Network Communications Protocols

Defining Networks with the OSI Model. Module 2

ITEC 3800 Data Communication and Network. Introducing Networks

Network Reference Models

Chapter 3 Protocols and the TCP/IP Suite

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

Need For Protocol Architecture

Need For Protocol Architecture

Chapter 12 Network Protocols

Data and Computer Communications

Chapter 2 Network Models 2.1

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

What is a Network? TCP / IP. The ISO OSI Model. Protocols. The TCP/IP Protocol Suite. The TCP/IP Protocol Suite. Computer network.

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

Computer Networks (Introduction to TCP/IP Protocols)

NT1210 Introduction to Networking. Unit 10

Networking and Internetworking 1

Configure Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) Service Settings on a Switch

Network Architecture Models

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

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Copyleft 2005, Binnur Kurt. Objectives

Communication System Models

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

Lecture-4. TCP/IP-Overview:

Data & Computer Communication

Additional Material. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science Information Network I/No.

Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William

OSI Transport Layer. objectives

TCP /IP Fundamentals Mr. Cantu

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

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

TCP/IP and the OSI Model

Chapter 09 Network Protocols

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

The Client Server Model and Software Design

SC/CSE 3213 Winter Sebastian Magierowski York University CSE 3213, W13 L8: TCP/IP. Outline. Forwarding over network and data link layers

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

INTRODUCTORY INFORMATION TECHNOLOGY COMMUNICATING OVER NETWORKS. Faramarz Hendessi

TCP/IP Protocol Suite and IP Addressing

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

Operating Systems CS 571

CS3600 SYSTEMS AND NETWORKS

Unix Network Programming

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

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

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

Network Programming. Introduction to Sockets. Dr. Thaier Hayajneh. Process Layer. Network Layer. Berkeley API

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

The Internet Protocol (IP)

QUIZ: Longest Matching Prefix

Networking Models OSI Model Created by International Organization Standardization

Networking and Internetworking 1

ES623 Networked Embedded Systems

CS4700/CS5700 Fundaments of Computer Networks

UDP, TCP, IP multicast

Lecture (02, 03) Networking Model (TCP/IP) Networking Standard (OSI)

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

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

Lecture (02) The TCP/IP Networking Model

The Data Link Layer. 32 PART I Networking Basics

EEC-484/584 Computer Networks

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

Chapter 2 Network Models 2.1

CS-461 Internetworking. Dr. Mohamed Aboutabl

OSI Reference Model. Computer Networks lab ECOM Prepared By : Eng. Motaz Murtaja Eng. Ola Abd Elatief

APPENDIX F THE TCP/IP PROTOCOL ARCHITECTURE

Lecture (02) The TCP/IP Networking Model

Chapter 5 OSI Network Layer

Introduction to Protocols

ECE 650 Systems Programming & Engineering. Spring 2018

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

Chapter 6: Network Communications and Protocols

IP Address Assignment

Introduction p. 1 The Need for Security p. 2 Public Network Threats p. 2 Private Network Threats p. 4 The Role of Routers p. 5 Other Security Devices

Chapter 16 Networking

Network Review TEJ4M. SBrace

TCP/IP stack is the family of protocols that rule the current internet. While other protocols are also used in computer networks, TCP/IP is by far

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Transport Layer TCP & UDP Week 7. Module : Computer Networks Lecturers : Lucy White Office : 324

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

03 The Internet Model and TCP/IP

Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions

SEN366 (SEN374) (Introduction to) Computer Networks

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

Review of Important Networking Concepts

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

TCP/IP THE TCP/IP ARCHITECTURE

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

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

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

Transcription:

CSC 546: Client/Server Fundamentals Fall 2000 Major client/server protocols! OSI 7-layer model! Microsoft suite: Named pipes + NetBIOS + NetBEUI! IBM suite: APPC + LU 6.2 + PU 2.1! Internet suite: RPC/XDR + Sockets + TCP/IP

OSI 7-layer model Open Systems Interconnection model! developed by the ISO in 1984! provides an abstract model of networking divides the tasks involved in moving info between networked computers into 7 task groups each task group is assigned a layer Each layer is reasonably self-contained, so! can be implemented independently! changes/updates to a layer need not effect other layers

Upper layers Top 3 layers deal with application issues! Application layer describes how applications will communicate e.g., HTTP, FTP, Telnet, SMTP! Presentation layer describes the form of data being transferred & ensures that it will be readable by receiver e.g., mapping floating point formats across hosts, data compression, encryption! Session layer describes the organization of large data sequences & manages communication session e.g., coordinates requests/responses

Lower layers Bottom 4 layers deal with data transport issues! Transport layer describes the quality and nature of data delivery e.g., how retransmissions are used to ensure delivery! Network layer describes how a series of exchanges over various data links can deliver data across a network e.g., addressing and routing! Data Link layer describes the logical organization of data bits transmitted on a particular medium e.g., frame sequencing, error notification! Physical layer: describes the physical & electrical properties of the communications media e.g., voltage levels, data rates, max distances

Interaction between layers Across the network, processes at the same level can communicate! e.g., Web browser & Web server both run at the application level communicate via HTTP protocol On a machine, each layer can communicate with layer above & below When a process wants to communicate over the network,! information must be passed down through the layers! data actually sent from the physical layer! when reaches receiver, must get passed up through to the appropriate layer

Layer protocols each layer has protocols that define communications between adjacent layers At the source, as data is passed down the layers: the protocol for each layer adds control information to the data At the destination, as data is passed up the layers: the protocol for each layer strips and analyzes the control information for that layer

Protocol suites Microsoft suite: Named Pipes + NetBIOS + NetBEUI IBM suite: APPC + LU 6.2 + PU 2.1 Internet suite: RPC/XDR + Sockets + TCP/IP

Named pipes application/presentation protocol for OS/2 and UNIX (a.k.a. FIFOs)! turns the shared communication channel into a file-like entity! each process reads & writes to the pipe the same way it would to a file! instead of writing to disk, data is converted into a message server creates a named pipe enters LISTEN state client opens named pipe DosMakeNmPipe \PIPE\foo DosConnectNmPipe DosMakeNmPipe \\Server\PIPE\foo pipe is opened, client & server can read/write to communicate DosRead DosWrite client can close pipe server can close pipe DosClose DosDisconnectNmPipe

NetBIOS session layer protocol for: Microsoft s MS-Net & LAN Manager, IBM s PC Network, Novell s Netware! usually associated with NetBEUI, but can also sit on top of TCP/IP, SPC/IPX,! offers IPC services that can be used to implement client/server! offers both connection-oriented and connectionless communications services! provides a dynamic naming service to facilitate finding a specific process commands are formatted within a 64 byte Network Control Block (NCB) 1 command code 16 name of Calling process 1 return code 16 local process name 1 session number 1 receive timeout interval 1 name number 1 send timeout interval 4 address of data buffer 4 address of callback 2 length of data buffer 1 completion status 14 reserved e.g., blocking SEND has command code 14H, nonblocking SEND has code 94H

Example NetBIOS session connection-oriented (datastream) session: for connection-less (datagram) session:! no session number! no CALL! no LISTEN! no HANGUP

NetBEUI NetBIOS Extended User Interface:! transport/network layer protocol to encapsulate NetBIOS commands! numbered information frames provide sequenced, reliable datastream! unnumbered information frames provide datagrams

IBM s SNA protocols IBM developed Systems Network Architecture (SNA) in 1974! consolidated different communication products used with IBM equipment Network layer: a PU is an address used to administer physical devices PU 2.1 node types can communicate with other nodes without host involvement Transport/Session/Presentation layers: an LU corresponds to a process to which Transaction Programs (TPs) can attach TPs conduct conversations with each other using connection-oriented services Application level: Advanced Program to Program Communications (APPC) Protocol provides the set of operations that TPs can use to talk to each other similar to NetBIOS, uses a common control block structure for commands (verbs)

APPC APPC verbs are either:! control verbs, used to start or end a TP e.g., TP_STARTED TP_ENDED! conversation verbs, used to exchange messages between TPs e.g., MC_ALLOCATE RECEIVE_ALLOCATE MC_SEND_DATA MC_RECEIVE_AND_WAIT! operator verbs, used by system administrators to manage sessions e.g., MC_ALLOCATE RECEIVE_ALLOCATE APPC is optimized for supporting long conversations! high overhead in creating sessions and allocating conversations! messages are internally buffered to optimize use of the network! uses half-duplex style

APPC example conversations

Internet protocols Network layer: Internet Protocol (IP)! provides generalized packet network interface! handles routing through the Internet! connectionless and unreliable Transport layer: Transmission Control Protocol (TCP)! provides a virtual circuit over which two processes can communicate! supplies logic to give reliable, connection-oriented session! FTP (file transfer) and HTTP are built on top of TCP Transport layer: User Datagram Protocol (UDP)! fast, unreliable, connectionless alternative to TCP! SMTP (email) and Telnet are built on top of UDP

IP addresses IP addresses are 32 bits long 10010011, 10000110, 00000010, 00010100 written as a dotted sequence 147.134.2.20 divided into 5 classes! class A: start with 0 some reserved by InterNic! class B: start with 10 up to 65,535 host in subnetwork! class C: start with 110 up to 255 host in subnetwork! class D: start with 1110 used for multicasting! class E: start with 11110 reserved for future use

IPng (a.k.a. IPv6) IP next generation! address size increases from 32 to 128 bits! colon-separated hex addresses replace dot-separated decimal e.g., FEAB:BC98:AB14:DB:1080::0:26 can mix modes: 0:0:0:0:0:FFFF:147.134.2.20! flexible address format replaces rigid class structure! address allocation is decentralized! IPng headers are simplified! new extensions provide support for improved security prefix determines the type of address e.g., FE: local use addresses, FF: multicast addresses IPng packet headers 4 bits version #6 28 traffic flow label 16 payload length 8 header type 8 hop limit 128 source address 128 destination address

Next week Internet communication protocols! RPC/XDR! Sockets! TCP/IP Review Chapter 10, read online articles As always, be prepared for a short quiz