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

Similar documents
Chapter 2 Network Models 2.1

Chapter 3 Protocols and the TCP/IP Suite

Need For Protocol Architecture

Need For Protocol Architecture

What is the fundamental purpose of a communication system? Discuss the communication model s elements.

Lecture 2. Computer Networks Models. Network Models 1-1

CS3600 SYSTEMS AND NETWORKS

Revision of Previous Lectures

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

Communicating over the Network

Computer Networks (Introduction to TCP/IP Protocols)

Introduction to Networks

TCP/IP THE TCP/IP ARCHITECTURE

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks

CS4700/CS5700 Fundaments of Computer Networks

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

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

1: Review Of Semester Provide an overview of encapsulation.

Defining Networks with the OSI Model. Module 2

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

Lecture 3 Protocol Stacks and Layering

ECE 650 Systems Programming & Engineering. Spring 2018

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

TCP/IP Protocol Suite and IP Addressing

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

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

Copyleft 2005, Binnur Kurt. Objectives

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

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

Data Communication and Network. Introducing Networks

ITEC 3800 Data Communication and Network. Introducing Networks

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

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

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

Packet Switching, Layer Models and Protocol Suites

Cisco Interconnecting Cisco Networking Devices Part 1.

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

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

ก ก Information Technology II

Cisco Cisco Certified Network Associate (CCNA)

Operating Systems CS 571

Connecting to the Network

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

Reti di Calcolatori I

Network Architecture Models

PUCPR. Internet Protocol. Edgard Jamhour E N G L I S H S E M E S T E R

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005

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

Chapter 2 Communicating Over the Network

Chapter -4 OSI Reference Model

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

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

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

CS 428/528 Computer Networks Lecture 01. Yan Wang

ECE 4400:427/527 - Computer Networks Spring 2017

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

Data Link Protocols. TCP/IP Suite and OSI Reference Model

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

TCP/IP and the OSI Model

Other Protocols. Arash Habibi Lashkari

Chapter 2 Network Models 2.1

Chapter 2. Communicating Over The Network

COMPONENTS OF DATA COMMUNICATION

Introduction to Open System Interconnection Reference Model

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

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

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

Computer Networking. Introduction. Quintin jean-noël Grenoble university

03 The Internet Model and TCP/IP

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

Chapter 1: Introduction

CSCD 433/533 Advanced Networks

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.

TSIN02 - Internetworking

Introduction to computer networking

Internetworking Models The OSI Reference Model

University of Southern California EE450: Introduction to Computer Networks

Data & Computer Communication

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

Raj Jain. The Ohio State University Columbus, OH

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

CPS221 Lecture: Layered Network Architecture

Cross Layer Protocol Design. Radio Communication III

Layered Architecture

ES623 Networked Embedded Systems

and Networks Data Communications Second Edition Tata McGraw Hill Education Private Limited Managing Director SoftExcel Services Limited, Mumbai

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

Computer Communication Networks

Lecture 2: Internet Architecture

Chapter 2 Network Models 2.1

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

M242 COMPUTER NETWORS AND SECURITY

Solved MCQ of Computer networking. Set-1

Lecture-4. TCP/IP-Overview:

CompTIA Network+ Course

ELC 537 Communication Networks

ET4254 Communications and Networking 1

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

Transcription:

CS-435 spring semester 206 Network Technology & Programming Laboratory University of Crete Computer Science Department Stefanos Papadakis & Manolis Spanakis

CS-435 Lecture #2 preview: Data Communications Overview Communications model Tasks in an e2e communication Switching Methods & Networks The Internet OSI Protocol Layers

Typical Communication Model Source System Destination System Source Transmitter Transmission System Receiver Destination

Data Communication vs. Networking Data Communication is a single hop problem Source Destination Networking addresses issues of more communicating nodes

the tasks in Communication transmission system utilization: we need to make efficient use of transmission facilities typically shared among a number of communicating devices a device must interface with the transmission system once an interface is established, some signal generation (source coding) is required for communication

the tasks in Communication there must be synchronization between transmitter and receiver, to determine when a signal begins to arrive and when it ends error detection and correction are required in circumstances where errors cannot be tolerated there is a variety of requirements for communication between two parties that might be collected under the term exchange/connection management

the tasks in Networking flow control is required to assure that the source does not overwhelm the destination by sending data faster than they can be absorbed processed, or forwarded addressing and routing, so a source system can indicate the identity of the intended destination, and can choose an efficient/desired route through this network recovery allows an interrupted transaction to resume activity at the point of interruption or to condition prior to the beginning of the exchange

the tasks in Networking message formatting has to do with an agreement between two parties as to the form of the data to be exchanged or transmitted frequently need to provide some measure of security in a data communications system network management capabilities are needed to configure the system, monitor its status, react to failures and overloads, and plan intelligently for future growth

Types of Networks Point-to-Point (p2p) Topological Taxonomy Broadcast

Types of Networks Switching Taxonomy Circuit Switching Dedicated path between two stations Connected sequence of links between nodes e.g. POTS (telephone network) Communication involves 3 phases Circuit establishment Data transfer Circuit disconnect

Types of Networks Switching Taxonomy Packet Switching Data are transmitted in short blocks, called packets Typical upper bound used to be 000 Bytes Longer messages broken up (fragmented) into series of packets Each packet contains part (or all for short message) of user's data plus some control information Control information includes network routing information At each node, packet is received, stored briefly, and passed on to the next node Transmitting computer sends message as sequence of packets Packet includes control information including destination station Packets sent to node to which sending station attaches Node stores packet briefly, determines next leg of route, and queues packet to go out on that link When link is available, packet is transmitted to next node All packets eventually work their way through network

Types of Networks Area Taxonomy LAN < km Single owner Metropolitan km 50 km WAN >50km Enterprise (typically Ethernet/WiFi LANs) Telecom Access Metro Core (ATM FDDI)

The Internet Elements

An Example Network configuration In the upper-left-hand portion of the figure, we see an individual residential user connected to an Internet service provider (ISP) through some sort of subscriber connection. The Internet consists of a number of interconnected routers that span the globe. The lower portion shows a LAN implemented using a single Ethernet switch. This is a common configuration at a small business or other small organization. CSD.UoC Stefanos Papadakis & Manolis Spanakis spring 205

The OSI Protocol Suite application presentation 7 6 application presentation Produced by ISO and CCITT ISO Reference Model session 5 session A general, open standard transport network 4 3 transport network Heavily referenced, but data link 2 data link Rarely implemented physical physical What s so magical about the 7 layers after all???

Why layering? Without layering : Application: ftp http ssh nfs Transmission Medium: twisted pair fiber wifi Each application would need to be implemented for every networking technology re-implemented for every new networking technology

Introducing an intermediate layer provides a unique abstraction for various network technologies uses abstractions to hide complexity Application: ftp http ssh nfs Intermediate Layer: in-between Trans. Medium: twisted pair fiber wifi Such abstractions naturally lead to multilevel layering: Where a service of layer L uses only services of layer L-

Layering Advantages Modularity: protocols easier to manage & maintain Abstract functionality lower layers can be changed without affecting the upper layers Reusability: upper layers can reuse the functionality provided by lower layers Disadvantages Information hiding inefficient implementations

The OSI Protocol Suite Service application 7 application what a layer provides presentation 6 presentation session 5 session Interface transport 4 transport how a service can be accessed network 3 network data link 2 data link Protocol physical physical how the service is implemented a set of rules and formats that govern the communication between two peers

Multiplexing in OSI System A System B 7 application presentation Peer Protocols session transport Access Points transport transport protocol transport protocol transport protocol transport protocol network data link physical

7-layer OSI model data encapsulation User Data 7 application ahdr User Data application presentation phdr ahdr User Data 000000000000000 presentation session shdr phdr ahdr User Data 0000000000000000000 session transport thdr shdr phdr ahdr User Data 0000000000000000000000 transport network nwhdr thdr shdr phdr ahdr User Data 0000000000000000000000000000 network data link dlhdr nwhdr thdr shdr phdr ahdr User Data 0000000000000000000000000000000 data link physical Data Symbols physical CSD.UoC Stefanos Papadakis & Manolis Spanakis spring 205

7-layer OSI model data encapsulation User Data 7 application ahdr User Data application presentation phdr 000000000000000 presentation session shdr 0000000000000000000 session transport thdr 0000000000000000000000 transport network nwhdr 0000000000000000000000000000 network data link dlhdr 0000000000000000000000000000000 data link physical Data Symbols physical

The 7 layers in a nutshell..physical Physical interface between devices Mechanical Electrical Functional Procedural 2. Data Link (MAC & LLC) Activates, Maintains, Deactivates a reliable link Error detection and control Offers error free transmission

The 7 layers in a nutshell.2 3.Network Transport of information Higher layers do not need to know about underlying technology Not needed on direct links 4.Transport Exchange of data between end systems end-to-end error free In sequence No losses No duplicates Flow control Quality of service

The 7 layers in a nutshell.3 5.Session Control of dialogues between applications Dialogue discipline Grouping Recovery 6. Presentation Data formats and coding Data compression Encryption 7.Application Means for user applications to access the OSI environment

Intermediate Nodes application presentation session transport network network data link data link data link physical physical physical physical Repeater / Hub Bridge / Switch Router Gateway

What a Router Implements A B 7 7 6 5 R R2 6 5 4 4 3 3 3 3 3 3 2 2 2 2 2 2

Routers & Switches A B 7 7 6 R 6 5 S 5 4 4 3 3 3 3 2 2 2 2 2 2 CSD.UoC Stefanos Papadakis & Manolis Spanakis spring 205

The TCP/IP Protocol suite Considers four layers Forms the basis for the Internet An Open System since: the definition of the protocol suite and many of its implementations are publicly available Outline of the main protocols Internet Protocol (IP) User Datagram Protocol (UDP) Transmission Control Protocol (TCP) Brief sketch of helper protocols : ARP, RARP, ICMP, IGMP

The TCP/IP Protocol suite Application ftp Client what users actually want to do ftp Server Transport TCP end to end communication TCP Network IP IP IP IP routing Data Link eth eth device drivers eth eth & network interface

The TCP/IP hourglass notion ftp http SMTP tftp TCP UDP IP WiFi Ethernet xdsl