Lecture 2: Internet Structure & Internetworking By Dr. Najla Al-Nabhan edited by Maysoon Al Duwais Introduction 1-1.

Slides:



Advertisements
Similar presentations
Introduction 2 1: Introduction.
Advertisements

CS 381 Introduction to computer networks Lecture 2 1/29/2015.
James 1:5 If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him.
CS 381 Introduction to computer networks Chapter 1 - Lecture 3 2/5/2015.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
Introduction1-1 Introduction to Computer Networks Our goal:  get “feel” and terminology  more depth, detail later in course  approach:  use Internet.
Lecture 2 Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
Networking Based on the powerpoint presentation of Computer Networking: A Top Down Approach Featuring the Internet, Third Edition, J.F. Kurose and K.W.
1-1 Foundation Objectives: 1.1 What’s the Internet? 1.2 Network edge 1.3 Network core 1.4 Network access and physical media 1.5 Internet structure and.
Lecture Internet Overview: roadmap 1.1 What is the Internet? (A simple overview last week) Today, A closer look at the Internet structure! 1.2 Network.
1: Introduction1 Part I: Introduction Chapter goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
What’s the Internet: “nuts and bolts” view
1: Introduction1 Part I: Introduction Goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
Introduction A closer look at network structure: network edge: – hosts: clients and servers – servers often in data centers  access networks, physical.
Introduction 1-1 Chapter 1 Introduction Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April Reading.
Introduction 1-1 Lecture 3 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides.
CS671 Advanced Computer Networking Chen Qian Fall 2014 Introduction CQ (2014) 1-1.
1 Computer Communication & Networks Lecture 4 Circuit Switching, Packet Switching, Delays Waleed.
CS448 Computer Networking Chapter 1 Introduction to Computer Networks Instructor: Li Ma Office: NBC 126 Phone: (713)
RSC Part I: Introduction Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the companion slides to.
Adapted from: Computer Networking, Kurose/Ross 1-1 1DT066 Distributed Information Systems Chapter 1 Introduction.
Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Slides originally from Professor Williamson at U Calgary1-1 Introduction Part II  Network Core  Delay & Loss in Packet-switched Networks  Structure.
Introduction 1-1 Chapter 1 Part 2 Network Core These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
Instructor: Christopher Cole Some slides taken from Kurose & Ross book IT 347: Chapter 1.
Networking Networking 101 Notes are adapted from chapter-1 in the textbook Multimedia Streaming {week-2} Mohamed Abdel-Maguid Computer Networking:
Introduction1-1 Course Code:EE/TE533 Instructor: Muddathir Qamar.
CS 3214 Computer Systems Godmar Back Lecture 23. Announcements Project 5 due Dec 8 Exercise 10 handed out Exercise 11 coming before Thanksgiving CS 3214.
Introduction 1-1 Chapter 1 Introduction Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
Introduction Switches and Access. 2 Chapter 1 Introduction Computer Networking: A Top Down Approach Featuring the Internet, 5 rd edition. Jim.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Chapter 1 Introduction Circuit/Packet Switching Protocols Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley,
Introduction Chapter 1: roadmap 1.1 what is the Internet? 1.2 network edge  end systems, access networks, links 1.3 network core  packet switching, circuit.
RSC Part I: Introduction Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the companion slides to.
Lecture 5: Internetworking: A closer View By Dr. Najla Al-Nabhan Introduction 1-1.
Introduction to Computer Networks
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
Ch 1. Computer Networks and the Internet Myungchul Kim
Lecture 1: Overview of Internet Architecture Communication Networks ELEN E6761 Instructor: Javad Ghaderi Lecture Slides adapted from “Computer Networking:
1 Network Core and Network Edge By Muhammad Hanif To BS IT 4 th Semester.
1 Computer Networks & The Internet Lecture 4 Imran Ahmed University of Management & Technology.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
CS 3830 Day 4 Introduction 1-1. Announcements  No office hour 12pm-1pm today only  Quiz on Friday  Program 1 due on Friday (put in DropBox on S drive)
EEC-484/584 Computer Networks
Chapter 1 Introduction Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Ch 1. Computer Networks and the Internet Myungchul Kim
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
Introduction1-1 Computer Network (  Instructor  Ai-Chun Pang 逄愛君, m Office Number: 417  Textbook.
CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 2 Omar Meqdadi Department of Computer Science and Software Engineering.
Introduction 1-1 1DT057 Distributed Information Systems Chapter 1 Introduction.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Lecture # 3: WAN Data Communication Network L.Rania Ahmed Tabeidi.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 3 Omar Meqdadi Department of Computer Science and Software Engineering.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Graciela Perera Introduction Graciela Perera
Part 0: Networking Review
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Lecture 2: Internet Structure & Internetworking
Comp 365 Computer Networks Chapter 1 Part 2 Network Core Fall 2014
EEC-484/584 Computer Networks
Comp 410 AOS Packet Switching
Chapter 1 Introduction Computer Networking: A Top Down Approach
Presentation transcript:

Lecture 2: Internet Structure & Internetworking By Dr. Najla Al-Nabhan edited by Maysoon Al Duwais Introduction 1-1

Introduction Outlines Internet Infrastructure Packet-switching vs. circuit-switching delay, loss, throughput in networks protocol layers, service models 1-2

1: Introduction 3 What’s the Internet backbone ISPs regional ISPs local ISPs enterprise campus,... end systems hosts, servers pdas, mobiles

44 Internet  Internet: loosely hierarchical “network of networks”  Major Components: Hosts, Routers, Communication links  Protocols: for sending, receiving of msgs  e.g., TCP, IP, HTTP, FTP, PPP  Internet standards  RFC: Request for comments  IETF: Internet Engineering Task Force local ISP company network regional ISP router workstation server mobile

55 Internet: Three Components  End systems (hosts): millions of connected computing devices executing network applications  Routers: forwarding packets (chunks of data)  Communication links: Connecting hosts and routers  fiber, copper, radio, satellite  transmission rate = bandwidth local ISP company network regional ISP router workstation server mobile

66 Internet Service  Communication infrastructure enables distributed applications:  Web, , games, e-commerce, file sharing  Communication services provided to applications:  Connectionless unreliable  connection-oriented reliable

7 Internet structure: network of networks  roughly hierarchical  “tier-1” ISPs  National/international coverage  Top of the Internet hierarchy  Full peer-peer connections between tier-1 providers  Has no upstream provider of its own  (e.g., UUNet, BBN/Genuity, Sprint, AT&T), Tier 1 ISP Tier-1 providers interconnect (peer) privately NAP Tier-1 providers also interconnect at public network access points (NAPs)

88 Internet structure: network of networks  “Tier-2” ISPs: smaller (often regional) ISPs  Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs  Provide transit service to downstream customers  … but, need at least one provider of their own  Typically have national or regional scope  E.g., Minnesota Regional Network Tier 1 ISP NAP Tier-2 ISP Tier-2 ISP pays tier-1 ISP for connectivity to rest of Internet  tier-2 ISP is customer of tier-1 provider Tier-2 ISPs also peer privately with each other, interconnect at NAP

99 Internet structure: network of networks  “Tier-3” ISPs and local ISPs  last hop (“access”) network (closest to end systems) Tier 1 ISP NAP Tier-2 ISP local ISP local ISP local ISP local ISP local ISP Tier 3 ISP local ISP local ISP local ISP Local and tier- 3 ISPs are customers of higher tier ISPs connecting them to rest of Internet

10 Internet structure: network of networks  a packet passes through many networks! Tier 1 ISP NAP Tier-2 ISP local ISP local ISP local ISP local ISP local ISP Tier 3 ISP local ISP local ISP local ISP

Introduction A closer look at network structure:  network edge:  hosts: clients and servers  servers often in data centers  access networks, physical media: wired, wireless communication links  network core:  interconnected routers  network of networks mobile network global ISP regional ISP home network institutional network 1-11

Introduction Access net: home network to/from headend or central office cable or DSL modem router, firewall, NAT wired Ethernet (100 Mbps) wireless access point (54 Mbps) wireless devices often combined in single box 1-12

Introduction Enterprise access networks (Ethernet)  typically used in companies, universities, etc  10 Mbps, 100Mbps, 1Gbps, 10Gbps transmission rates  today, end systems typically connect into Ethernet switch Ethernet switch institutional mail, web servers institutional router institutional link to ISP (Internet) 1-13

Host: sends packets of data host sending function:  takes application message  breaks into smaller chunks, known as packets, of length L bits  transmits packet into access network at transmission rate R R: link transmission rate host 1 2 two packets, L bits each packet transmission delay time needed to transmit L-bit packet into link L (bits) R (bits/sec) = = 1-14

Introduction  mesh of interconnected routers  packet-switching: hosts break application-layer messages into packets  forward packets from one router to the next, across links on path from source to destination  each packet transmitted at full link capacity Packet-switching 1-15

Introduction Packet-switching: store-and-forward  takes L/R seconds to transmit (push out) L-bit packet into link at R bps  store and forward: entire packet must arrive at router before it can be transmitted on next link more on delay shortly … 1-16 source R bps destination L bits per packet R bps  end-end delay = 2L/R (assuming zero propagation delay)

Introduction Packet Switching: queueing delay, loss A B C R = 100 Mb/s R = 1.5 Mb/s D E queue of packets waiting for output link 1-17 queuing and loss:  If arrival rate (in bits) to link exceeds transmission rate of link for a period of time:  packets will queue, wait to be transmitted on link  packets can be dropped (lost) if memory (buffer) fills up

Network Layer 4-18 Two key network-core functions forwarding : move packets from router’s input to appropriate router output routing: determines source- destination route taken by packets  routing algorithms routing algorithm local forwarding table header value output link dest address in arriving packet’s header

Introduction Alternative core: circuit switching end-end resources allocated to, reserved for “call” between source & dest:  In diagram, each link has four circuits.  call gets 2 nd circuit in top link and 1 st circuit in right link.  dedicated resources: no sharing  circuit-like (guaranteed) performance  circuit segment idle if not used by call (no sharing)  Commonly used in traditional telephone networks 1-19

Introduction Circuit switching: FDM versus TDM FDM frequency time TDM frequency time 4 users Example: 1-20

Introduction Packet switching versus circuit switching example:  1 Mb/s link  each user: 100 kb/s when “active” active 10% of time  circuit-switching:  10 users  packet switching:  with 35 users, probability > 10 active at same time is less than.0004 * packet switching allows more users to use network! N users 1 Mbps link Q: how did we get value ? Q: what happens if > 35 users ? … * Check out the online interactive exercises for more examples

Introduction  great for bursty data  resource sharing  simpler, no call setup  excessive congestion possible: packet delay and loss  protocols needed for reliable data transfer, congestion control  Q: How to provide circuit-like behavior?  bandwidth guarantees needed for audio/video apps  still an unsolved problem (chapter 7) packet switching Q: human analogies of reserved resources (circuit switching) versus on-demand allocation (packet-switching)? Packet switching versus circuit switching 1-22

23 Advantages of Circuit Switching 1) Guaranteed bandwidth  Predictable communication performance  Not “best-effort” delivery with no real guarantees 2) Simple abstraction  Reliable communication channel between hosts  No worries about lost or out-of-order packets 3) Simple forwarding  Forwarding based on time slot or frequency  No need to inspect a packet header 4) Low per-packet overhead  Forwarding based on time slot or frequency  No IP (and TCP/UDP) header on each packet

24 Disadvantages of Circuit Switching 1) Wasted bandwidth  Bursty traffic leads to idle connection during silent period 2) Blocked connections  Connection refused when resources are not sufficient 3) Connection set-up delay  No communication until the connection is set up  Unable to avoid extra latency for small data transfers 4) Network state  Network nodes must store per-connection information  Unable to avoid per-connection storage and state

25 Packet Switching (e.g., Internet)  Data traffic divided into packets  Each packet contains a header (with address)  Packets travel separately through network  Packet forwarding based on the header  Network nodes may store packets temporarily  Destination reconstructs the message

Introduction How do loss and delay occur? packets queue in router buffers  packet arrival rate to link (temporarily) exceeds output link capacity  packets queue, wait for turn A B packet being transmitted (delay) packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers 1-26

Introduction Four sources of packet delay d proc : nodal processing  check bit errors  determine output link  typically < msec A B propagation transmission nodal processing queueing d queue : queueing delay  time waiting at output link for transmission  depends on congestion level of router d nodal = d proc + d queue + d trans + d prop 1-27

Introduction d trans : transmission delay:  L: packet length (bits)  R: link bandwidth (bps)  d trans = L/R d prop : propagation delay:  d: length of physical link  s: propagation speed in medium (~2x10 8 m/sec)  d prop = d/s d trans and d prop very different Four sources of packet delay propagation nodal processing queueing d nodal = d proc + d queue + d trans + d prop 1-28 A B transmission * Check out the Java applet for an interactive animation on trans vs. prop delay

Introduction Packet loss  queue (buffer) preceding link in buffer has finite capacity  packet arriving to full queue dropped (lost)  lost packet may be retransmitted by previous node, by source end system, or not at all A B packet being transmitted packet arriving to full buffer is lost buffer (waiting area) 1-29 * Check out the Java applet for an interactive animation on queuing and loss

Introduction Throughput  throughput: rate (bits/time unit) at which bits transferred between sender/receiver  instantaneous: rate at given point in time  average: rate over longer period of time server, with file of F bits to send to client link capacity R s bits/sec link capacity R c bits/sec server sends bits (fluid) into pipe pipe that can carry fluid at rate R s bits/sec) pipe that can carry fluid at rate R c bits/sec) 1-30

Introduction Internet protocol stack  application: supporting network applications  FTP, SMTP, HTTP  transport: process-process data transfer  TCP, UDP  network: routing of datagrams from source to destination  IP, routing protocols  link: data transfer between neighboring network elements  Ethernet, (WiFi), PPP  physical: bits “on the wire” application transport network link physical 1-31

Introduction source application transport network link physical HtHt HnHn M segment HtHt datagram destination application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M network link physical link physical HtHt HnHn HlHl M HtHt HnHn M HtHt HnHn M HtHt HnHn HlHl M router switch Encapsulation message M HtHt M HnHn frame 1-32

Network Layer 4-33 Network layer  transport segment from sending to receiving host  on sending side encapsulates segments into datagrams  on receiving side, delivers segments to transport layer  network layer protocols in every host, router  router examines header fields in all IP datagrams passing through it application transport network data link physical application transport network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical

Network Layer 4-34 Two key network-layer functions  forwarding: move packets from router’s input to appropriate router output  routing: determine route taken by packets from source to dest.  routing algorithms analogy:  routing: process of planning trip from source to dest  forwarding: process of getting through single interchange

Network Layer value in arriving packet’s header routing algorithm local forwarding table header value output link Interplay between routing and forwarding routing algorithm determines end-end-path through network forwarding table determines local forwarding at this router

Network Layer 4-36 Connection setup  3 rd important function in some network architectures:  ATM, frame relay, X.25  before datagrams flow, two end hosts and intervening routers establish virtual connection  routers get involved  network vs transport layer connection service:  network: between two hosts (may also involve intervening routers in case of VCs)  transport: between two processes