System Programming. Introduction to computer networks

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

COMP750. Distributed Systems. Network Overview

Network Architecture Models

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

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

Chapter 2 Network Models 2.1

03 The Internet Model and TCP/IP

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

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

Network Reference Models

Data and Computer Communications

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

TCP/IP THE TCP/IP ARCHITECTURE

Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016

Chapter 3 Protocols and the TCP/IP Suite

Defining Networks with the OSI Model. Module 2

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

Lecture-4. TCP/IP-Overview:

INTRODUCTORY COMPUTER

The Client Server Model and Software Design

Communicating over the Network. Network Fundamentals. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

Chapter -4 OSI Reference Model

Data Communication and Network. Introducing Networks

Copyleft 2005, Binnur Kurt. Objectives

Data & Computer Communication

Chapter 11: Wide-Area Networks and the Internet

Lab 1: Packet Sniffing and Wireshark

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

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

Chapter 2 Network Models 2.1

Communicating over the Network

ITEC 3800 Data Communication and Network. Introducing Networks

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

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

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

Networking Applications

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.

Application Layer. Presentation Layer. Session Layer. Transportation Layer. Network Layer. Physical Layer

TCP/IP protocol suite

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

Guide to Networking Essentials, 6 th Edition. Chapter 6: Network Reference Models and Standards

Lecture (02) Network Protocols and Standards

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

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

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

Subnetting and addresses revisited

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

Network Model: Each layer has a specific function.

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

Networking Models OSI Model Created by International Organization Standardization

CS3600 SYSTEMS AND NETWORKS

QUESTION BANK UNIT-I

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

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

Introduction to Open System Interconnection Reference Model

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

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

Review of Important Networking Concepts

Chapter 2 Communicating Over the Network

Chapter 15 Networks. Chapter Goals. Networking. Chapter Goals. Networking. Networking. Computer network. Node (host) Any device on a network

Data Encapsulation & OSI & TCP/IP Models Week 2. Lecturer: Lucy White Office : 324

CPS221 Lecture: Layered Network Architecture

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

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

Need For Protocol Architecture

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

Data Communication & Computer Networks MCQ S

Interconnecting Networks with TCP/IP

Chapter 7. Local Area Network Communications Protocols

Networking midterm. 5. As a data unit moves up from one protocol layer to another, control headers are:

ECE 4400:427/527 - Computer Networks Spring 2017

EE 610 Part 2: Encapsulation and network utilities

Networking Revision. TCP/IP Protocol Stack & OSI reference model. Basic Protocols. TCP/IP Model ANTHONY KAO NETWORKING FINAL EXAM SPRING 2014 REVISION

OSI and TCP/IP Models

CCNA Exploration Network Fundamentals. Chapter 03 Application Functionality and Protocols

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

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

Networking and Internetworking 1

Data Transport over IP Networks

OSI Transport Layer. objectives

NT1210 Introduction to Networking. Unit 10

Osi Reference Model And Explain The Various Layers And Its Applications

1: Review Of Semester Provide an overview of encapsulation.

Need For Protocol Architecture

Significance of TCP/IP Model Divya Shree Assistant Professor (Resource Person), Department of computer science and engineering, UIET, MDU, Rohtak

networks List various types of networks and their

Introduction to TCP/IP networking

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

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

Chapter 1 Introduction

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

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

Layered Architecture

Chapter 2 Network Architectures A global view

Operating Systems CS 571

Overview of Network Software. CS158a Chris Pollett Jan 31, 2007.

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

Introduction to Protocols

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

Transcription:

Content : by Dr. B. Boufama School of Computer Science University of Windsor Instructor: Dr. A. Habed adlane@cs.uwindsor.ca http://cs.uwindsor.ca/ adlane/60-256

Content Content 1 Introduction to Computer networks 2 3

Computers: evolution The old model: A single computer serving users who bring their works for processing became obsolete. The new model: A large number of separate but interconnected computers are serving users. computer networks.

Computer network Interconnected computers: they are able of exchanging information Computer network: interconnected collection of autonomous computers. Ethernet cable

Some typical network applications: Applications Exchange electronic mail (e-mail). Exchange files Remote login Share peripheral devices Execute a program on another computer

Layering Introduction to Computer networks Given a specific task, say file transfer, it is hard to solve the entire problem in one step. Solving this problem needs: Layers A user interface Coding data into packets Observing some protocols Routing the packets A physical data transmission Networks are organized in layers, where: the number of layers and their functions differ from network to network each layer offers some services to the higher layer. a same level layer peer on different machines can converse using a protocol: rules and conventions used in this conversation.

Introduction to Computer networks Computer Network Model describes how information is transmitted between two points in a network. Two models: The OSI model (Open Systems Interconnect) proposed by ISO describes network activities as having a structure of seven layers, each of the layers has one or more protocols associated with it. The TCP/IP model (Transmission Control Protocol/Internet Protocol) based on TCP/IP protocol suite.

The OSI Reference Model Layers Host A Protocols Host B 07 Application Application 06 Presentation Presentation 05 Session Session 04 Transport Transport 03 Network Network 02 Data Link Data Link 01 Physical Physical

The OSI Reference Model Each layer defines a function performed when data is transferred between applications across a network. Application Layer: application programs that use the network. Presentation Layer: standardizes data presented to the applications. Session Layer: manages sessions between applications. Transport Layer: provides error detection and correction. Network Layer: manages network connections. Data Link Layer: provides data delivery across the physical connection. Physical Layer: defines the physical network media. Consists of cable and connectors and is responsible for converting analog signals into bits.

The OSI Reference Model Information is passed down through the layers until it is transmitted across the network, where it is passed back up the stack to the application at the remote end. Each layer relies on the other layers to perform their functions. Individual layers do not care how the other layers operate. They only need to know how to pass information up or down from one layer to another.

Peer conversation In each layer a function may be performed by any number of protocols. Each protocol communicates with a peer that is an equivalent implementation of the same protocol on a remote system. Each protocol layer is only concerned with communication to a peer at the other end of a link. Example e-mail is an application level protocol that communicates with a peer e-mail application on a remote system, ftp is an application level protocol that communicates with a peer ftp application on a remote These applications do not care whether or not the physical layer is a serial modem line or an ethernet connection.

In practice, the OSI Reference Model is rarely used when working with networks. TCP/IP model is based on the OSI model. TCP/IP is usually described as having fewer layers than the OSI model. TCP/IP does not follow the OSI model exactly. It is based on the TCP/IP protocol suite. The documentation on TCP/IP protocol standards is freely available and widely published. The standards for TCP/IP protocols are developed and maintained independently from any specific hardware type or operating system. Widely implemented on most operating systems and computers. TCP/IP is built into the UNIX operating system and is used by the Internet

The TCP/IP model Layers Host A Protocols Host B 04 Process Process 03 Transport Transport 02 Network Network 01 Data Link Data Link

Introduction to Computer networks The Process Layer: it combines the top three layers of the OSI (application, presentation and session layers) into one. It defines standard Internet services and network applications that user can use (e.g. ftp, telnet...). The Transport layer transmits messages from a process on one machine to a process on another machine. The Network layer routes packets through a network to a destination node. The Data Link layer: it combines the 2 bottom layers of the OSI model (Data Link and Physical layers). It transmits frames of bits across a single link between two machines.

Some protocols Introduction to Computer networks Process Layer: Simple Mail Transfer Protocol (SMTP) and Post Office Protocol (POP) used for e-mail, Hyper Text Transfer Protocol (HTTP) used for the World-Wide-Web, and File Transfer Protocol (FTP)...etc. Transport Layer: In TCP/IP there are two Transport Layer protocols. The Transmission Control Protocol (TCP) guarantees that information is received as it was sent. The User Datagram Protocol (UDP) performs no end-to-end reliability checks. Network Layer: This is commonly referred to as the Internet Layer. All upper and lower layer communications travel through Internet Protocol (IP) as they are passed through the TCP/IP protocol stack. Data Link Layer: TCP/IP makes use of existing Data Link and Physical Layer standards rather than defining its own. Data Link Layer describes how IP utilizes existing data link protocols such as Ethernet, Token Ring,... etc.

More about TCP/IP protocol TCP: Transmission Control Protocol. A connection-oriented protocol that provides a reliable, full-duplex, byte stream for a user process (most used by Internet application). UDP: User Datagram Protocol. A connectionless protocol for user processes. IP: Internet Protocol. IP is the protocol that provides the packet delivery service for TCP and UDP.

Encapsulation Introduction to Computer networks Data Process Layer (telnet ftp,...) Header Data Transport Layer (TCP, UDP,...) Header Header Data Network Layer (IP) Header Header Header Data Data Link Layer (Ethernet, Token Ring,...)

Example Introduction to Computer networks Layers Host A Protocols Host B Application FTP client FTP protocol FTP server Transport TCP TCP protocol TCP Network IP IP protocol IP Link Ethernet driver Ethernet driver Ethernet protocol

... The client/server model is the standard model for network applications, a typical scenario is: The server process is started on some computer. It initializes itself, then goes to sleep waiting to be contacted by a client process for some service. A client process is started on some computer connected to the server s computer with a network. It sends a request across the network to the server asking for some service, remote login for instance. The server provides its service in two ways: 1 for a short amount of time service, the server process handle the service itself and goes back to sleep, waiting for new requests. 2 otherwise, the server invokes another process to handle each client request, so that the server process can go back to sleep