Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.

Slides:



Advertisements
Similar presentations
Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Advertisements

KOM 15032: Arsitektur Jaringan Terkini
1 CS 640: Introduction to Computer Networks Aditya Akella Lecture 2 Layering, Protocol Stacks, and Standards.
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
Spring 2004 EE4272 EE4272: Computer Networks Instructor: Dr. Tricia Chigan Dept.: Elec. & Comp. Eng.
CS 268: Computer Networking L-1 Intro to Computer Networks.
Internet -- network of networks –network delivers packets (& locates nodes) –router (gateway) moves packets between networks –IP interoperability on top.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Chapter 1 Read (again) chapter 1.
1/20 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics Implementation Issues.
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Gursharan Singh Tatla Transport Layer 16-May
15-744: Computer Networking L-1 Intro to Computer Networks.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
* EECS 582 Advanced Operating Systems James Priestley University of Michigan Day 4: Internetworking January 12, 2012 Credit for the majority of these slides.
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.
1 CS 640: Introduction to Computer Networks Aditya Akella Lecture 1 Introduction
CS 6401 Introduction to Networking Aditya Akella Outline Administrivia Networking History Statistical Multiplexing Performance Metrics.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
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.
Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Connecting to the Network Networking for Home and Small Businesses.
Protocols and the TCP/IP Suite
CSx760 Computer Networks1 Introduction to Network Protocols Kang Li.
1 Chapter 1 OSI Architecture The OSI 7-layer Model OSI – Open Systems Interconnection.
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.
Chapter 1. Introduction. By Sanghyun Ahn, Deot. Of Computer Science and Statistics, University of Seoul A Brief Networking History §Internet – started.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Computer Networking. 2 Outline 3 Objectives Understand the state-of-the-art in network protocols, architectures and applications Understand how networking.
1 Goals and Objectives Understand state-of-the-art in network protocols, architectures, and applications Process of networking research Constraints and.
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.
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.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Computer Networking Lecture 1 – Introduction.
William Stallings Data and Computer Communications
1 Pre-Introduction What is computer network?. 2 Pre-Introduction Suppose you want to build a computer network The question is: –What available technologies.
15-744: Computer Networking L-1 Intro to Computer Networks.
Fall 2001CS 6401 Introduction to Networking Outline Networking History Statistical Multiplexing Performance Metrics.
CS 268: Computer Networking L-1 Intro to Computer Networks.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Protocol Layering Chapter 11.
1 CSE524: Lecture 2 Internet protocols in a nutshell (Protocols in practice)
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
Building A Network: Cost Effective Resource Sharing
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
1 Overview Administrative Networking: An Overview of Ideas and Issues.
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.
Scaling the Network: The Internet Protocol
Click to edit Master subtitle style
15-744: Computer Networking
CS 268: Computer Networking
Computer Science 457 Networking and the Internet
15-744: Computer Networking
University of Houston Datacom II Lecture 1B Review Dr Fred L Zellner
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Building A Network: Cost Effective Resource Sharing
Scaling the Network: The Internet Protocol
15-744: Computer Networking
Intro to Computer Networks
Network Basics and Architectures Neil Tang 09/05/2008
Presentation transcript:

Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani Lecture 1: Introduction

Univ. of TehranComputer Network2 Objectives of course Understand the state-of-the-art in network protocols, architectures and applications Understand how networking research is done and prepare student for research in networking. How is class different from undergraduate networking course Training network programmers vs. training network researchers

Univ. of TehranComputer Network3 Course Materials Course Web page visit regularly Research papers Printed papers or pdf/ps version on the Web page ~40 papers, Combination of classic and recent work. Some Optional reading! Recommended textbook “Computer Networks, A system approach. Peterson & Davie 2 nd edition

Univ. of TehranComputer Network4 Grading Homework assignments, around %20 Paper review Problems and hands-on assignments Severe late penalties! Class discussion, around 1 point. Project, ~ %25 Exam(s), Midterm and final, ~%50.

Univ. of TehranComputer Network5 Covered Topics Traditional Layering Interconnecting (LAN) Internet architecture Routing (IP) Switching Transport (TCP) Queue management (FQ, RED) Naming (DNS) Recent Topics Multicast Mobility Active networks QOS Security Network measurement

Univ. of TehranComputer Network6 A tour of networking Goal and objective needs design requirement Whirlwind tour of networking

Univ. of TehranComputer Network7 Information, Computers and Networks Information: anything that is represented in bits Form (can be represented) vs substance (cannot) Properties: Infinitely replicable Computers can “manipulate” information Networks create “access” to information Potential of networking: move bits everywhere, cheaply, and with desired performance characteristics Break the space barrier for information

Univ. of TehranComputer Network8 Objective of Networking ? Direct or indirect access to every other node in the network Connectivity is the magic needed to communicate if you do not have a link. Must understand many connection factors Traffic data rate Traffic pattern (bursty or constant bit rate) Traffic target (multipoint or single destination, mobile or fixed) Application requirements, Delay sensitivity Loss sensitivity.

Univ. of TehranComputer Network9 Another view Building a network to support diverse ranges of applications Distributed computing. Multimedia. Telecommunication. E-commerce, etc. What kind of technology do we need? Hardware. Software.

Univ. of TehranComputer Network10 What is a Network? What is computer Network? Different views. Differences from other networks, Its generality. What is requirements? Different perspective: Network provider Network designer Application programmer

Univ. of TehranComputer Network11 Design goals Connectivity Scalability Simplicity For designers. Most importantly for users. Efficiency cost performance Support for common user services.

Univ. of TehranComputer Network12 Levels of Networking Communicating across a link, LANs. Connecting together multiple links (Bridges) Finding and routing data to nodes on Internet. Communicating on the application level, matching application requirements

Univ. of TehranComputer Network13 A First Step Creating a link between nodes Link: path followed by bits Wired or wireless Broadcast or point-to-point (or both) Node: any device connected to a link

Univ. of TehranComputer Network14 Types of Links Point-to-PointMultiple Access …

Univ. of TehranComputer Network15 Packet Transmission Modes Unicast Transmission to single specific receiver Broadcast Transmission to all network nodes Multicast Transmission to specific subset of nodes Anycast Transmission to one of a specific subset of nodes

Univ. of TehranComputer Network16 Switched Network What are Switched Networks? Switch: moves bits between links Packet switching Circuit switching

Univ. of TehranComputer Network17 Back in the Old Days…

Univ. of TehranComputer Network18 Then Came TDM… Multiplex (mux)Demultiplex (demux) Synchronous time division multiplexing

Univ. of TehranComputer Network19 TDM Logical Network View

Univ. of TehranComputer Network20 Packet Switching (Internet) Packets

Univ. of TehranComputer Network21 Packet Switching Interleave packets from different sources Efficient: resources used on demand Statistical multiplexing General Multiple types of applications Accommodates bursty traffic Addition of queues

Univ. of TehranComputer Network22 Statistical Multiplexing Gain 1 Mbps link; users require 0.1 Mbps when transmitting; users active only 10% of the time Circuit switching: can support 10 users Packet switching: with 35 users, probability that >=10 are transmitting at the same time <

Univ. of TehranComputer Network23 Characteristics of Packet Switching Store and forward Packets are self contained units Can use alternate paths - reordering Contention Congestion Delay

Univ. of TehranComputer Network24 Internet[work] Second Step: Internet[work] A collection of interconnected networks Host: network endpoints (computer, PDA, light switch, …) Router: node that connects networks Internet vs. internet

Univ. of TehranComputer Network25 Challenge Many differences between networks Address formats Performance – bandwidth/latency Packet size Loss rate/pattern handling Routing How to translate between various network technologies

Univ. of TehranComputer Network26 Third Step: How To Find Nodes? internet Computer 1Computer 2

Univ. of TehranComputer Network27 Naming Humans use readable host names E.g. Globally unique (can correspond to multiple hosts) Naming system translates to physical address E.g. DNS translates name to IP Address (e.g ) Address reflects location in network

Univ. of TehranComputer Network28 Domain Name System What’s the IP address for It is DNS server address manually configured into OS Local DNS ServerComputer 1

Univ. of TehranComputer Network29 Packet Routing/Delivery Each network technology has different local delivery methods Address resolution provides delivery information within network E.g., ARP maps IP addresses to Ethernet addresses Local, works only on a particular network Routing protocol provides path through an internetwork

Univ. of TehranComputer Network30 Network:Address Resolution Protocol Ethernet Broadcast: who knows the Ethernet address for ? Ethernet Broadcast: Yes, it is c-19-dc-45

Univ. of TehranComputer Network31 Internetwork: Datagram Routing R R R R R H H H H R R H R Routers send packet to next closest point H: Hosts R: Routers

Univ. of TehranComputer Network32 Routing Forwarding tables at each router populated by routing protocols. Original Internet: manually updated Routing protocols update tables based on “cost” Exchange tables with neighbors or everyone Use neighbor leading to shortest path

Univ. of TehranComputer Network33 Fourth Step: Application Demands Reliability Corruption Lost packets Flow and congestion control Fragmentation In-order delivery Etc…

Univ. of TehranComputer Network34 What if the Data gets Corrupted? Internet GET windex.htmlGET index.html Solution: Add a checksum Problem: Data Corruption 0,996,7,8214,571,2,36 X

Univ. of TehranComputer Network35 What if the Data gets Lost? Internet GET index.html Problem: Lost Data Internet GET index.html Solution: Timeout and Retransmit GET index.html

Univ. of TehranComputer Network36 What if Network is Overloaded? Problem: Network Overload Short bursts: buffer What if buffer overflows? Packets dropped and retransmitted Sender adjusts rate until load = resources Called “Congestion control” Solution: Buffering and Congestion Control

Univ. of TehranComputer Network37 Problem: Packet size Solution: Fragment data across packets What if the Data Doesn’t Fit? On Ethernet, max IP packet is 1.5kbytes Typical web page is 10kbytes GETindex.html GET index.html

Univ. of TehranComputer Network38 Solution: Add Sequence Numbers Problem: Out of Order What if the Data is Out of Order? GETx.thindeml GET x.thindeml GET index.html ml4inde2x.th3GET1

Univ. of TehranComputer Network39 Network Functionality Summary Link Multiplexing Routing Addressing/naming (locating peers) Reliability Flow control Fragmentation Etc….

Univ. of TehranComputer Network40 What is Layering? Modular approach to network functionality The idea of divide and conquer Use abstraction to hide complexity. Example: Link hardware Host-to-host connectivity Application-to-application channels Application

Univ. of TehranComputer Network41 Protocols Module in layered structure Set of rules governing communication between network elements (applications, hosts, routers) Protocols define: Interface to higher layers (API) Interface to peer Format and order of messages Actions taken on receipt of a message

Univ. of TehranComputer Network42 Protocols Building blocks of a network architecture Each protocol object has two different interfaces service interface: operations on this protocol peer-to-peer interface: messages exchanged with peer Term “protocol” is overloaded specification of peer-to-peer interface module that implements this interface

Univ. of TehranComputer Network43 Layering Characteristics Each layer relies on services from layer below and exports services to layer above Interface defines interaction Hides implementation - layers can change without disturbing other layers (black box)

Univ. of TehranComputer Network44 Layering Host Application Transport Network Link User AUser B Layering: technique to simplify complex systems

Univ. of TehranComputer Network45 Layer Encapsulation Get index.html Connection ID Source/Destination Link Address User AUser B

Univ. of TehranComputer Network46 Protocol Demultiplexing Multiple choices at each layer FTPHTTPTFTPNV TCPUDP IP NET 1 NET 2 NET n … TCP/UDPIP IPX Port Number Network Protocol Field Type Field

Univ. of TehranComputer Network47 E.g.: OSI Model: 7 Protocol Layers Physical: how to transmit bits Data link: how to transmit frames Network: how to route packets Transport: how to send packets end2end Session: how to tie flows together Presentation: byte ordering, security Application: everything else

Univ. of TehranComputer Network48 OSI Layers and Locations Switch Router Host Application Transport Network Data Link Presentation Session Physical

Univ. of TehranComputer Network49 Example: Transport Layer First end-to-end layer End-to-end state May provide reliability, flow and congestion control

Univ. of TehranComputer Network50 Example: Network Layer Point-to-point communication Network and host addressing Routing

Univ. of TehranComputer Network51 Is Layering Harmful? Sometimes.. Layer N may duplicate lower level functionality (e.g., error recovery) Layers may need same info (timestamp, MTU) Strict adherence to layering may hurt performance

Univ. of TehranComputer Network52 Class Coverage Brief coverage of physical and data link layer Focus on network to application layer We will deal with: Protocol rules and algorithms Investigate protocol trade-offs Why this way and not another?

Univ. of TehranComputer Network53 Next Lecture: Links How to make computers talk across a wire Assigned reading Chap. 2 of book (Recommended!)