Handout # 3: Introduction to Computer Networks

Slides:



Advertisements
Similar presentations
IPSec.
Advertisements

TCP/IP MODEL Maninder Kaur
Winter 2008CS244a Handout #61 CS244a: An Introduction to Computer Networks Handout 6: The Transport Layer, Transmission Control Protocol (TCP), and User.
Network Services Networking for Home & Small Business.
Winter 2008CS244a Handout #21 CS244a: An Introduction to Computer Networks Handout #2: Introduction Nick McKeown Professor of Electrical Engineering and.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
EEC-484/584 Computer Networks Lecture 12 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Professor Yashar Ganjali Department of Computer Science University of Toronto
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
TCP/IP Lecture Extra. TCP/IP Developed by DARPA (Defense Advanced Research Projects) TCP is a connection-oriented transport protocol that sends data as.
Networking Support In Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
1 An Introduction to Computer Networks Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Lect-1: IntroductionComputer Networks : An Introduction to Computer Networks Handout #1: Introduction Additional Reading Text book: Chaps.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Chapter 2 Network Models.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
CP476 Internet ComputingCh.1 # 1 Lecture 2. A Brief Introduction to the Internet The objective is to understand The history of Internet What the Internet.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Presentation on Osi & TCP/IP MODEL
TCOM 509 – Internet Protocols (TCP/IP) Lecture 01 Instructor: Dr. Li-Chuan Chen TA: Waqar Ishaq Date: 08/25/2003.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Network Technologies (TCP/IP Suite) Tahir Azim
Huda AL_Omairl - Network 71 Protocols and Network Software.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Professor Ayse Karaman CSC 458/CSC 2209 – Computer NetworksUniversity of Toronto – Fall 2015 Today Outline What this course is.
Network Services Networking for Home & Small Business.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Mukesh N. Tekwani Elphinstone College Mumbai
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Computer Networks. Introduction Computer Network2 A History Lesson of Networking 1969 – ARPANET, first packet switched network consist of UCLA, Stanford,
Chaos, Communication and Consciousness Module PH19510 Lecture 12 Data Networks Across the World.
TCP/IP Suite Transmission Control Protocol/ Internet Protocol Presentation by Chandra Porchia.
ECEN “Internet Protocols and Modeling” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Grading (Tentative):
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
1 Introduction to Transmission Data Sirak Kaewjamnong.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Chapter 2 Network Models
Slide #1 CIT 380: Securing Computer Systems TCP/IP.
Component 4: Introduction to Information and Computer Science Unit 7: Networks & Networking Lecture 5 This material was developed by Oregon Health & Science.
Protocol Layering Chapter 11.
IT 210: Web-based IT Fall 2012 Lecture: Network Basics, OSI, & Internet Architecture.
Networks and the Internet Topic 3. Three Important Networking Technologies Networks, Internet, WWW.
Data Communication Network Models
BASICS Gabriella Paolini (GARR) 27/05/11 - ICCU Roma 1 How INTERNET works !
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Chapter 5 Network and Transport Layers
Introduction to TCP/IP networking
Lecture (2).
COMPUTER NETWORKS and INTERNETS
Computer Networks.
Distributed Systems.
CS244a: An Introduction to Computer Networks
Chap. 2 Network Models.
Networking for Home and Small Businesses – Chapter 6
Networking for Home and Small Businesses – Chapter 6
Data and Computer Communications by William Stallings Eighth Edition
I. Basic Network Concepts
Handout # 2: Course Logistics and Introduction
Chapter 15 – Part 2 Networks The Internal Operating System
Net 323 D: Networks Protocols
CSE 313 Data Communication
Communication Networks: Technology & Protocols
Networking for Home and Small Businesses – Chapter 6
Presentation transcript:

Handout # 3: Introduction to Computer Networks SII 199 – Computer Networks and Society Handout # 3: Introduction to Computer Networks Professor Yashar Ganjali Department of Computer Science University of Toronto yganjali@cs.toronto.edu http://www.cs.toronto.edu/~yganjali

University of Toronto – Fall 2015 Announcements Piazza: if you are not registered yet, please register. Check out class web page for slides, and lecture notes. Volunteer for lecture notes? SII 199 - Computer Networks and Society University of Toronto – Fall 2015

University of Toronto – Fall 2015 The Story So Far … Computer networks and society Overview, science of networks Life areas that computer networks have changed Healthcare, business, entertainment, cloud computing, cyber security, privacy This Week: Introduction to Computer Networks Basics concepts and components An introduction to the mail system An introduction to the Internet SII 199 - Computer Networks and Society University of Toronto – Fall 2015

Connecting to the Network What do we need to connect to the Internet? A computer A link Wired Wireless A device which is connected to the network Router/Switch SII 199 - Computer Networks and Society Reproduced with permission of Bill Cheswick, Lumeta Inc University of Toronto – Fall 2015

University of Toronto – Fall 2015 What is a Link? Different media (light, electric signal, …) Connects two nodes Normally! Used to transfer a sequence of 0s and 1s Rate: number of bits it can transfer per second Example: 1 mega bit per second = 106 bits every second Delay: time it takes for a bit to traverse the link Example: 1 millisecond = 0.001 second 1 1 1 1 1 SII 199 - Computer Networks and Society Reproduced with permission of Bill Cheswick, Lumeta Inc University of Toronto – Fall 2015

University of Toronto – Fall 2015 Link Delay Total Delay = Propagation Delay + Transmission Delay Propagation Delay: time it takes for bits to traverse the link Transmission Delay: time it takes to inject the bits to the link Example: think of students leaving this room towards Sidney Smith Hall Propagation Delay: time for each student to walk to Sidney Smith Hall – 5min Transmission Delay: 24 students one leaving every 5 seconds – 24x5 sec = 120 sec = 2min Total Delay = 5min + 2min = 7min SII 199 - Computer Networks and Society University of Toronto – Fall 2015

University of Toronto – Fall 2015 Packets Data is encapsulated in “packets”. Why? Think of envelopes in mail Each packet has Payload: the actual data Header: destination address, … Header 001001101001….01010111 SII 199 - Computer Networks and Society Reproduced with permission of Bill Cheswick, Lumeta Inc University of Toronto – Fall 2015

Connecting to the Internet Links to other routers Internet routers ??? SII 199 - Computer Networks and Society University of Toronto – Fall 2015

University of Toronto – Fall 2015 What Does a Router Do? Each router receives packets on input lines Looks up the destination Address in header Sends it out on the appropriate line Question. How does the router know which output to send the packet to? Question. What if there is a loop? Time-To-Live or TTL ? SII 199 - Computer Networks and Society University of Toronto – Fall 2015

The Internet – Collection of Nodes SII 199 - Computer Networks and Society University of Toronto – Fall 2015

The Internet – Collection of Nodes SII 199 - Computer Networks and Society Reproduced with permission of Bill Cheswick, Lumeta Inc University of Toronto – Fall 2015

University of Toronto – Fall 2015 The Internet Cloud SII 199 - Computer Networks and Society Reproduced with permission of Bill Cheswick, Lumeta Inc University of Toronto – Fall 2015

History of the Internet 1966: First two machines connect 1968: ARPAnet created by DARPA (Defense Advanced Research Projects Agency) 1970: First five nodes: UCLA Stanford UC Santa Barbara U of Utah, and BBN SII 199 - Computer Networks and Society University of Toronto – Fall 2015

History of the Internet – Cont’d 1972: First e-mail program, first FTP (?!) ARPAnet has 15 nodes 1974: Architecture for interconnecting networks 1979: ARPAnet has 200 nodes 1984: 1000 hosts, called “Internet” Early 1990’s: ARPAnet decommissioned Early 1990s: Web 1990’s: commercialization of the Web SII 199 - Computer Networks and Society University of Toronto – Fall 2015

Number of Internet Hosts SII 199 - Computer Networks and Society University of Toronto – Fall 2015

Brief Introduction to Computer Networks We’ll go through two examples Mail system File transfer in the Internet Consider similarities And differences SII 199 - Computer Networks and Society University of Toronto – Fall 2015

An Introduction to the Mail System Stanford U of T Yashar Nick Admin SII 199 - Computer Networks and Society University of Toronto – Fall 2015

Characteristics of the Mail System 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? SII 199 - Computer Networks and Society University of Toronto – Fall 2015

An Introduction to the Mail System Stanford U of T Application Layer Yashar Nick Admin Transport Layer Network Layer Link Layer SII 199 - Computer Networks and Society University of Toronto – Fall 2015

An Introduction to the Internet leland.stanford.edu cs.toronto.edu Application Layer Yashar Nick Transport Layer O.S. Header Data Network Layer Link Layer Datagram SII 199 - Computer Networks and Society University of Toronto – Fall 2015

Characteristics of the Internet 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? SII 199 - Computer Networks and Society University of Toronto – Fall 2015

Characteristics of the Internet – Cont’d No guarantee of integrity of data Content of a packet can change Why? Packets can be fragmented (split) into pieces Packets may be duplicated How? SII 199 - Computer Networks and Society University of Toronto – Fall 2015

An Introduction to the Mail System Stanford U of T Application Layer Yashar Nick Admin Transport Layer Network Layer Link Layer SII 199 - Computer Networks and Society University of Toronto – Fall 2015

Some Questions About the Mail System How many sorting offices are needed and where should they be located? How much sorting capacity is needed? Should we allocate for Mother’s Day? How can we guarantee timely delivery? What prevents delay guarantees? Or delay variation guarantees? How do we protect against fraudulent mail deliverers, or fraudulent senders? SII 199 - Computer Networks and Society University of Toronto – Fall 2015

University of Toronto – Fall 2015 Internet Principles Original principles designing the Internet Autonomy No internal changes required to interconnect networks Best effort service model No guarantees Stateless routers Routers don’t remember which packets have been sent before Unlike phone network No centralized control All have major impact on Internet’s fast growth. SII 199 - Computer Networks and Society University of Toronto – Fall 2015

Final Comments, Discussion Computer networks have and continue to change our lives For better? Internet’s original design principles have had a major impact on its growth. Will it continue to grow at the same rate? Some revolutionary applications expedite this impact What else can we expect? SII 199 - Computer Networks and Society University of Toronto – Fall 2015