Introduction to Communication Networks 1/ Introduction to Communication Networks Amit Dvir Lecture 1 Introduction and Layering.

Slides:



Advertisements
Similar presentations
Protocol Layering An Engineering Approach to Computer Networking.
Advertisements

Protocol Layering An Engineering Approach to Computer Networking.
OSI Model OSI MODEL.
Chapter 2 Network Models.
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
Computer Networking Yishay Mansour Nir Andelman (
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
OSI Model MIS 416 – Module II Spring 2002 Networking and Computer Security.
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Protocols and the TCP/IP Suite
Chapter 1 Read (again) chapter 1.
04/26/2004CSCI 315 Operating Systems Design1 Computer Networks.
Review on Networking Technologies Linda Wu (CMPT )
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
1 K. Salah Module 1.0: Introduction Definition Communication Model Type of networks –WAN –MAN –LAN, WLAN –PAN, WPAN Networking Technologies Network Switching.
Protocol Layering Peer and Layer entities Customer A and B are peers Postal worker A and B are peers.
1 Computer Networking. 2 Today’s Networks are complex! t hosts t routers t links of various media t applications t protocols t hardware, software Tomorrow.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Gursharan Singh Tatla Transport Layer 16-May
OIS Model TCP/IP Model.
Computer Networks Lecture 1 & 2 Introduction and Layer Model Approach Lahore Leads University.
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.
2-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks OSI Reference Model Lecture-5: OSI Reference Model week 5- q-2/ 2008 Dr. Anwar.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
Chapter 1 Overview Review Overview of demonstration network
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
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.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
The OSI Model.
Computer Networks. Introduction Computer Network2 A History Lesson of Networking 1969 – ARPANET, first packet switched network consist of UCLA, Stanford,
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.
William Stallings Data and Computer Communications
Review of Network Technologies. Basic of Network concepts Computer Network – A Communication system for connecting computers/hosts Why? – Better connectivity.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 Networking. 2 Network “... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations dedicated computers network.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
1 Protocol Layering Myungchul Kim Tel:
Protocol Layering Chapter 11.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Network Models.
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.
CS408/533 Computer Networks Text: William Stallings Data and Computer Communications, 6th edition Chapter 1 - Introduction.
Computer Networks.
OSI Protocol Stack Given the post man exemple.
Layered Architectures
Lecturer, Department of Computer Application
DEPARTMENT OF COMPUTER SCIENCE
ECE 4400:427/527 - Computer Networks Spring 2017
An Engineering Approach to Computer Networking
Protocols and the TCP/IP Suite
Chapter 3: Open Systems Interconnection (OSI) Model
Process-to-Process Delivery:
Networking.
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
OSI Model OSI MODEL.
Network Architecture Models
Protocols and the TCP/IP Suite
Networking.
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
OSI Reference Model Unit II
Process-to-Process Delivery: UDP, TCP
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Computer Networking.
Unit – III Network Essentials
Presentation transcript:

Introduction to Communication Networks 1/ Introduction to Communication Networks Amit Dvir Lecture 1 Introduction and Layering

Introduction to Communication Networks 1/ Course Information Lectures: – Tuesday 14:00 – 17:00, 90/227 Website: – Slides, Assignments, Messages Books: – Computer Networking: A Top-Down Approach Featuring the Internet / Kurose-Ross – Computer Networks / Tanenbaum – Data Networks / Bertsekas-Gallager

Introduction to Communication Networks 1/ Course Information Reception hours: – Tuesday 17:00-18:00, 37/306 Grading – 70% Final exam – 30% Assignments

Introduction to Communication Networks 1/ Course Objectives Learn the basics of data communication and computer networks To understand the main concepts and principles of communication To present modern communication networks and their applications

Introduction to Communication Networks 1/ Simplified Communication Model

Introduction to Communication Networks 1/ Simplified Data Communication Model

Introduction to Communication Networks 1/ An Introduction to the mail system NickDave BGU TLV Admin (Some of the following slides are taken from lectures by Nick Mckeown, stanford)

Introduction to Communication Networks 1/  Each envelope is individually routed.  No time guarantee for delivery.  No guarantee of delivery in sequence.  No guarantee of delivery at all!  Things get lost  How can we acknowledge delivery?  Retransmission  How to determine when to retransmit? Timeout?  Need local copies of contents of each envelope.  How long to keep each copy.  What if an acknowledgement is lost? Characteristics of the mail system

Introduction to Communication Networks 1/ NickDave BGU TLV Admin Application Layer Transport Layer Network Layer Link Layer An Introduction to the mail system

Introduction to Communication Networks 1/ NickDave Leland.Stanford.edu Athena.MIT.edu Network Layer Link Layer Application Layer Transport Layer O.S. HeaderDataHeaderData Datagram An Introduction to the Internet

Introduction to Communication Networks 1/  Each packet is individually routed.  No time guarantee for delivery.  No guarantee of delivery in sequence.  No guarantee of delivery at all!  Things get lost  Acknowledgements  Retransmission  How to determine when to retransmit? Timeout?  Need local copies of contents of each packet.  How long to keep each copy?  What if an acknowledgement is lost? Characteristics of the Internet

Introduction to Communication Networks 1/  No guarantee of integrity of data.  Packets can be fragmented.  Packets may be duplicated.  All of the above properties and questions are solved by today ’ s modern networks and communication systems ! Characteristics of the Internet (2)

Introduction to Communication Networks 1/ Data Communication Passing (digital) information throughout the network – Out of the computer from one system to another – Usually in a serial manner – Using a specific medium (fiber, cables, radio) – Option of passing through “ intermediate stations ” Possible errors before reaching to the destination

Introduction to Communication Networks 1/ I.e. telephone point-to-point links directly connect together the users wishing to communicate use dedicated communication circuit if distance between users increases beyond the length of the cable, the connection is formed by a number of sections connected end-to-end in series. Early communications systems

Introduction to Communication Networks 1/ Data Networks - Overview Set of interconnected nodes exchange information Sharing of the transmission circuits = "switching". Many links allow more than one path between every 2 nodes. Network must select an appropriate path for each required connection.

Introduction to Communication Networks 1/ Overview Hardware:How you can configure a bunch of computers into a network: Local Are Networks (LAN) Metropolitan Area Networks (MAN) Wide Area Networks (WAN) Internetworks Software: This is what actually makes computer networks – not the hardware! Protocols: describe how two communicating parties exchange information. Data Networks - Overview

Introduction to Communication Networks 1/ Overview – cont. Services: describe what a network offers to parties that want to communicate. Interfaces: describe how a client can make use of network services, i.e. how the services can be accessed. Reference models: Describe how the OSI (Open System Interconnection) and Internet networks are organized. Data Networks - Overview

Introduction to Communication Networks 1/ Computer Networks Hardware Broadcast network: a single communication channel is shared by all computers: – sending a packet implies that all others receive it. Point-to-point network: Computers are connected in pairs: – sending a packet goes strictly from the sender to the receiver, possibly having to visit intermediate machines (routing). Computer Networks Hardware

Introduction to Communication Networks 1/ Transmission Technology

Introduction to Communication Networks 1/ Local Area Networks (LAN) A LAN is a computer network (or data communications network) which is confined in a limited geographical area Apart from scale, LANs distinguish themselves from other networks by (generally) using broadcast technology,and having simple topologies: Type (a) (Bus-based): All computers are connected to the same wire. When one of them starts sending, the signal is propagated to all others. If two of them start sending at the same time, packets collide and rubbish is the result.

Introduction to Communication Networks 1/ Local Area Networks (LAN) Type (b) (Token-based): a token (which is just a small packet) continuously circulates along the ring. A sending computer (1) waits until the token passes and removes it (2) sends its packet along the ring, (3) waits until the packet returns (4) reinserts the token. Why we need the token?

Introduction to Communication Networks 1/ Metropolitan Area Networks (MAN) A network which is bigger than a LAN but smaller then WAN. A MAN typically covers an area of between 5 and 50 km diameter – For example, cover an area the size of a city A typical use of MANs to provide shared access to a wide area network

Introduction to Communication Networks 1/ Wide Area Networks (WAN) A WAN spans a large geographic area, such as a state, province or country WANs often connect multiple smaller networks, such as LANs or MANs. A network device called a router connects LANs to a WAN.

Introduction to Communication Networks 1/ Wide Area Networks (WAN) – cont. Routers generally adhere to a store-and-forward principle: incoming packets are first buffered (stored), the router takes a decision on where the packet has to go, and forwards the packet across the selected output line. Note: In contrast to LANs and MANs, the organization of a WAN in terms which hosts are interconnected is Important.

Introduction to Communication Networks 1/ Examples of WAN Topology

Introduction to Communication Networks 1/ Internetworks The assumption so far is that a network is homogeneous: there is hardly any variation in hardware and software. In practice, large networks can only be constructed by interconnecting different kinds of networks internet(work). Examples: Connecting a collection of different kinds of LANs (bus- based to token-based) within a department.

Introduction to Communication Networks 1/ Internetworks – cont. Connecting LANs to each other through a WAN (think of enterprise networks for multinationals). The WAN acts as a subnet. Connecting WANs to each other (the Internet).

Introduction to Communication Networks 1/  Addressing - identify the end user IP addresses , Refer to a host interface = network number + host number  Routing- How to get from source to destination packet switching. move packets (chunks) of data among routers from source to destination independently.  Information Units - How is information sent Self-descriptive data: packet = data + metadata (header). Networking Issues - Internet

Introduction to Communication Networks 1/ Protocol Layers A way for organizing structure of network The idea: a series of steps

Introduction to Communication Networks 1/ Protocols A protocol is a set of rules and formats that govern the communication between communicating peers set of valid messages meaning of each message Necessary for any function that requires cooperation between peers

Introduction to Communication Networks 1/ A protocol provides a service – For example: the post office protocol for reliable parcel transfer service Peer entities use a protocol to provide a service to a higher-level peer entity – for example, truck drivers use a protocol to present post offices with the abstraction of an unreliable parcel transfer service Protocols

Introduction to Communication Networks 1/ Protocol Layers A network that provides many services needs many protocols Some services are independent, But others depend on each other A Protocol may use another protocol as a step in its execution – for example, ground transfer is one step in the execution of the example reliable parcel transfer protocol This form of dependency is called layering – Post office handling is layered above parcel ground transfer protocol.

Introduction to Communication Networks 1/ Person  delivery of parcel Post office  counter handling Ground transfer  loading on trucks Airport transfer  loading on airplane Airplane  routing from source to destination each layer implements a service via its own internal-layer actions relying on services provided by layer below Peer entities Layer

Introduction to Communication Networks 1/ Explicit structure allows identification & relationship of complex system ’ s pieces – layered reference model for discussion Modularization eases maintenance & updating of system – change of implementation of layer ’ s service transparent to rest of system Advantages of Layering

Introduction to Communication Networks 1/ Open protocols and systems A set of protocols is open if – protocol details are publicly available – changes are managed by an organization whose membership and transactions are open to the public A system that implements open protocols is called an open system International Organization for Standards (ISO) prescribes a standard to connect open systems – open system interconnect (OSI) Has greatly influenced thinking on protocol stacks

Introduction to Communication Networks 1/ ISO OSI reference model Reference model – formally defines what is meant by a layer, a service etc. Service architecture – describes the services provided by each layer and the service access point (the interface with higher and lower layers) Protocol architecture – set of protocols that implement the service architecture – compliant service architectures may still use non-compliant protocol architectures Grouping together all the protocols of the different layers is called: Protocol Stack.

Introduction to Communication Networks 1/ The seven Layers Presentation Application Session Transport Network Data Link Physical Presentation Application Session Transport Network Data Link Physical Network Data Link Physical End system Intermediate system

Introduction to Communication Networks 1/ Presentation Application Session Transport Network Data Link Physical Presentation Application Session Transport Network Data Link Physical data DH+data+DT bits data AH PH SH TH Network Data Link Physical dataNH Session and presentation layers are not so important, and are often ignored The seven Layers - protocol stack

Introduction to Communication Networks 1/ Postal network Application: people using the postal system Session and presentation: – chief clerk sends some priority mail, and some by regular mail ; – translator translates letters going abroad. Mail clerk sends a message, retransmits if not acked Postal system computes a route and forwards the letters Datalink layer: letters carried by planes, trains, automobiles Physical layer: the letter itself

Introduction to Communication Networks 1/ application: supporting network applications ftp, smtp, http transport: host-host data transfer tcp, udp network: routing of datagrams from source to destination ip, routing protocols link: data transfer between neighboring network elements Ethernet, wireless LAN physical: bits “ on the wire ” application transport network link physical Internet protocol stack

Introduction to Communication Networks 1/ application transport network Link physical application transport network Link physical source destination M M M M H t H t H n H t H n H l M M M M H t H t H n H t H n H l message segment datagram frame Protocol layering and data

Introduction to Communication Networks 1/ Physical layer Moves bits between physically connected end- systems Standard prescribes – coding scheme to represent a bit – shapes and sizes of connectors – bit-level synchronization Internet – technology to move bits on a wire, wireless link, satellite channel etc.

Introduction to Communication Networks 1/ Datalink layer Reliable communication over a single link. Introduces the notion of a frame – set of bits that belong together Idle markers tell us that a link is not carrying a frame Begin and end markers delimit a frame Internet – a variety of datalink layer protocols – most common is Ethernet – others are FDDI, SONET (fiber-optic), HDLC, wireless ( – WiFi, – WiMAX)

Introduction to Communication Networks 1/ Datalink layer (contd.) Datalink layer protocols are the first layer of software Very dependent on underlying physical link properties Usually bundle both physical and datalink Ethernet (broadcast link) end-system must receive only bits meant for it need datalink-layer address also need to decide who gets to speak next these functions are provided by Medium Access sublayer (MAC)

Introduction to Communication Networks 1/ Network layer Carries data from source to destination. Logically concatenates a set of links to form the abstraction of an end-to-end link Allows an end-system to communicate with any other end- system by computing a route between them Hides specific behavior of datalink layer Provides unique network-wide addresses Found both in end-systems and in intermediate systems

Introduction to Communication Networks 1/ Network layer types In datagram networks provides both routing and data forwarding In connection-oriented network separate data plane and control plane data plane only forwards and schedules data (touches every byte) control plane responsible for routing, call- establishment, call-teardown (doesn ’ t touch data bytes)

Introduction to Communication Networks 1/ Internet network layer is provided by Internet Protocol found in all end-systems and intermediate systems provides abstraction of end-to-end link segmentation and reassembly packet-forwarding, routing, scheduling unique IP addresses can be layered over anything, but only best-effort service Network layer (contd.)

Introduction to Communication Networks 1/ At intermediate systems – participates in routing protocol to create routing tables – responsible for forwarding packets – schedules the transmission order of packets – chooses which packets to drop Network layer (contd.) At end-systems primarily hides details of datalink layer segments and reassemble detects errors

Introduction to Communication Networks 1/ Transport layer Reliable end-to-end communication. creates the abstraction of an error-controlled, flow- controlled and multiplexed end-to-end link (Network layer provides a ‘ raw ’ end-to-end service) Some transport layers provide fewer services – e.g. simple error detection, no flow control, and no retransmission Internet TCP provides error control, flow control, multiplexing UDP provides only multiplexing

Introduction to Communication Networks 1/ Transport layer (contd.) Error control – message will reach destination despite packet loss, corruption and duplication – retransmit lost packets; detect, discard, and retransmit corrupted packets; detect and discard duplicated packets Flow control – match transmission rate to rate currently sustainable on the path to destination, and at the destination itself Multiplexes multiple applications to the same end-to- end connection – adds an application-specific identifier (port number) so that receiving end-system can hand in incoming packet to the correct application

Introduction to Communication Networks 1/ Session layer Not common Provides full-duplex service, expedited data delivery, and session synchronization Internet – doesn ’ t have a standard session layer

Introduction to Communication Networks 1/ Duplex – if transport layer is simplex, concatenates two transport endpoints together (keep track of whose turn it is) Expedited data delivery – allows some messages to skip ahead in end-system queues, by using a separate low-delay transport layer endpoint Synchronization – allows users to place marks in data stream and to roll back to a pre-specified mark (for example, resume option when downloading a big file) Session layer (cont.)

Introduction to Communication Networks 1/ Presentation layer Usually ad hoc Touches the application data (Unlike other layers which deal with headers) Hides data representation differences between applications – characters (ASCII, unicode, EBCDIC.) Can also encrypt data Internet – no standard presentation layer – only defines network byte order for 2- and 4-byte integers

Introduction to Communication Networks 1/ Application layer The set of applications that use the network Doesn ’ t provide services to any other layer

Introduction to Communication Networks 1/ Discussion Layers break a complex problem into smaller, simpler pieces. Why seven layers?

Introduction to Communication Networks 1/ Next Lecture Physical Layer – Basic Principles – Nyquist Theorem Relation between digital throughput and bandwidth – Shanon Limit Maximum capacity in presence of noise – Basic concepts in encoding and modulation methods