Introduction1-1 Circuit switching: FDM and TDM FDM (Frequency division multiplexing) frequency time TDM (Time division multiplexing) frequency time 4 users.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Introduction1-1 How does the Internet Work Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley,
Introduction1-1 Chapter 1: Introduction Our goal:  get context, overview, “feel” of networking  more depth, detail later in course  approach: m descriptive.
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.
Networking Based on the powerpoint presentation of Computer Networking: A Top Down Approach Featuring the Internet, Third Edition, J.F. Kurose and K.W.
Introduction1-1 Chapter 1: Introduction  get context, overview, “feel” of networking  more depth, detail later in course  approach: m descriptive m.
1 School of Computing Science Simon Fraser University CMPT 771/471: Internet Architecture & Protocols Introduction Instructor: Dr. Mohamed Hefeeda.
Network core.
1: Introduction1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware,
Internet History and Architectural Principles
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.
Introduction1-1 Chapter 1: Introduction Our goal:  get “feel” and terminology  more depth, detail later in course  approach: m use Internet as example.
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.
Introduction1-1 Network Overview. Introduction1-2 A closer look at network structure:  network edge: applications and hosts  network core: m routers.
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,
Introduction1-1 Data Communication and Networks Lecture 2 Overview (Part 2) September 16, 2004 Joseph Conron Computer Science Department New York University.
CSC 5366 Introduction Computer Networks and the Internet an Introduction.
What’s the Internet: “nuts and bolts” view
Introduction 1 Lecture 3 Networking Concepts slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering Department.
Cs457 Computer Networks Introduction.
Introduction1-1 The Internet  A global network of computers  who runs it?  who pays for it?  who invented the internet?  How do the computer’s communicate?
Computer Networking Introduction, Part II.
1: Introduction1 Packet switching versus circuit switching r Great for bursty data m resource sharing m no call setup r Excessive congestion: packet delay.
Overview-Part2.
1 Week 2 Lecture 1 Layers (basics) Dr. Fei Hu. Review last 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 switching,
2-1 Last time  Course mechanics  What is the Internet?  hosts, routers, communication links  communications services, protocols  Network Edge  client-server,
Slides originally from Professor Williamson at U Calgary1-1 Introduction Part II  Network Core  Delay & Loss in Packet-switched Networks  Structure.
CS 381 Introduction to computer networks Chapter 1 - Lecture 4 2/10/2015.
1: Introduction1 Internet History r 1961: Kleinrock - queueing theory shows effectiveness of packet- switching r 1964: Baran - packet- switching in military.
Networking Networking 101 Notes are adapted from chapter-1 in the textbook Multimedia Streaming {week-2} Mohamed Abdel-Maguid Computer Networking:
1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware, software Question:
How do loss and delay occur?
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.
Introduction 1-1 “Real” Internet delays and routes  What do “real” Internet delay & loss look like?  Traceroute program: provides delay measurement from.
Introduction1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge 1.3 Network core 1.4 Network access and physical media 1.5 Internet structure.
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.
CPSC 411 Tutorial TA: Fang Wang. Fang Wang 9:00am-5:00pm, Mon-Fri.
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,
TCP/IP Network.
Introduction1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge 1.3 Network core 1.4 Network access and physical media 1.5 Internet structure.
CE3710 Tutorial FAROOQUI NK. What’s the Internet: “nuts and bolts” view  millions of connected computing devices: hosts = end systems  running network.
Introduction1-1 COP 3813 Introduction to Internet Computing Xingquan (Hill) Zhu
Introduction1-1 COP 3813 Introduction to Internet Computing Xingquan (Hill) Zhu
Four sources of packet delay
Lecture 1: Overview of Internet Architecture Communication Networks ELEN E6761 Instructor: Javad Ghaderi Lecture Slides adapted from “Computer Networking:
1 Computer Networks & The Internet Lecture 4 Imran Ahmed University of Management & Technology.
1: Introduction1 Introduction 3. 1: Introduction2 Delay in packet-switched networks packets experience delay on end-to-end path r four sources of delay.
Introduction session 1 TELE3118 Network Technologies Course Coordinators: Dr. Vijay Sivaraman & Dr. Tim Moors Course web-page
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)
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,
EEC-484/584 Computer Networks
1: Introduction1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware,
Lecture 2: Internet Structure & Internetworking By Dr. Najla Al-Nabhan edited by Maysoon Al Duwais Introduction 1-1.
Introduction session 1 TELE3118 Network Technologies Course Coordinator and Lecturer: A/Prof. Vijay Sivaraman Course web-page
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.
Introduction to Networks
Administrative Things
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
EEC-484/584 Computer Networks
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Presentation transcript:

Introduction1-1 Circuit switching: FDM and TDM FDM (Frequency division multiplexing) frequency time TDM (Time division multiplexing) frequency time 4 users Example: frame slot frequency band

Introduction1-2 Exercise How long does it take to send a file of 640,000 bits from host A to host B over a circuit-switched network? All links are Mbps (in the whole freq. range) TDM Each link uses TDM with 24 slots/sec 500 msec to establish end-to-end circuit

Introduction1-3 Exercise How long does it take to send a file of 640,000 bits from host A to host B over a circuit-switched network? All links are Mbps (in the whole freq. range) FDM Each link uses FDM with 24 channels/frequency band 500 msec to establish end-to-end circuit

Introduction1-4 Network Core: Packet switching user A, B packets share network resources each packet uses full link bandwidth resources used as needed Resource contention: aggregate resource demand can exceed amount available congestion: packets queue, wait for link use, may get lost when queue fills store and forward: packets move one hop at a time Node receives complete packet before forwarding Bandwidth division into “pieces” Dedicated allocation Resource reservation Each end-end data stream divided into packets

Introduction1-5 Delay of store-and-forward Takes L/R seconds to transmit (push out) packet of L bits on to link or R bps Entire packet must arrive at router before it can be transmitted on next link: store and forward Delay on 3 links = 3L/R (assuming zero propagation delay) Example: L = 7.5 Mbits R = 1.5 Mbps delay = 15 sec R R R L

Introduction1-6 Statistical multiplexing Sequence of A & B packets does not have fixed pattern, shared on demand  statistical multiplexing. TDM: each host gets same slot in revolving TDM frame. A B C 10 Mb/s Ethernet 1.5 Mb/s D E statistical multiplexing queue of packets waiting for output link

Introduction1-7 Packet switching vs circuit switching 1 Mb/s link Each user: 100 kb/s when “active” active 10% of time circuit-switching: 10 users packet switching: With 35 users, p(#active>10) < Packet switching allows more users to use network! N users 1 Mbps link Q: How did we get value ?

Introduction1-8 Packet switching vs circuit switching p(#active = n) p(#active  n)

Introduction1-9 Packet switching vs circuit switching Packet switching is great for bursty data Resource sharing Simple, no call setup Packet switching problem: Excessive congestion leading to packet delay and loss Protocols needed for reliable data transfer, congestion control Circuit switching is good for guaranteed-quality services but expensive Sending video over the network

Introduction1-10 Packet-switched networks: forwarding How do routers know how to get from A to B? They keep tables showing them the next hop neighbor on that route Datagram network: Destination address in packet determines next hop Router tables contain destination  nexthop maps Routes may change during session Virtual circuit network: Each packet carries tag (virtual circuit ID – VC ID), one tag per “call” Router tables contain VC ID  nexthop maps Fixed path determined at call setup time, remains fixed thru call

Introduction1-11 Datagram vs virtual circuit VC tables are smaller and faster to search Only active calls on local links Datagram forwarding can handle route changes easier No per-call state in routers

Introduction1-12 Network taxonomy Telecommunication networks Circuit-switched networks FDM TDM Packet-switched networks Networks with VCs Datagram Networks Datagram network is not either connection-oriented or connectionless. Internet provides both connection-oriented (TCP) and connectionless services (UDP) to apps.

Introduction1-13 Access networks How to connect end systems to edge router? Residential access nets Institutional access networks (school, company) Mobile access networks Access network’s features: Bandwidth (bits per second) Shared or dedicated?

Introduction1-14 Residential access Dialup via modem Up to 56Kbps direct access to router (often less) Can’t surf and phone at same time: can’t be “always on” ADSL: asymmetric digital subscriber line Up to 1 Mbps upstream (today typically < 256 kbps) Up to 8 Mbps downstream (today typically < 1 Mbps) FDM on phone line for upstream, downstream and voice HFC: hybrid fiber coaxial cable Asymmetric: up to 30Mbps downstream, 2 Mbps upstream Network of cable and fiber attaches homes to ISP router Homes share access to router dedicated access shared access

Introduction1-15 Company access: local area networks Company/university local area network (LAN) connects end system to edge router Ethernet: Shared or dedicated link connects end system and router 10 Mbs, 100Mbps, Gigabit Ethernet

Introduction1-16 Wireless access networks Shared wireless access network connects end system to router Via base station aka “access point” Wireless LANs: b (WiFi): 11 Mbps Wider-area wireless access Connect to them via WAP phones Provided by telco operator Popular in Europe and Japan base station mobile hosts router

Introduction1-17 Home networks Typical home network components: ADSL or cable modem Router/firewall/NAT Ethernet Wireless access point wireless access point wireless laptops router/ firewall cable modem to/from cable headend Ethernet

Introduction1-18 Internet structure Roughly hierarchical At center: “tier-1” ISPs (e.g., MCI, Sprint, AT&T), national/international coverage Treat each other as equals Tier 1 ISP Tier-1 providers interconnect (peer) privately NAP Tier-1 providers also interconnect at public network access points (NAPs)

Introduction1-19 Tier-1 ISP: Sprint Sprint US backbone network Seattle Atlanta Chicago Roachdale Stockton San Jose Anaheim Fort Worth Orlando Kansas City Cheyenne New York Pennsauken Relay Wash. DC Tacoma DS3 (45 Mbps) OC3 (155 Mbps) OC12 (622 Mbps) OC48 (2.4 Gbps) … to/from customers peering to/from backbone ….…. … … … POP: point-of-presence

Introduction1-20 Internet structure “Tier-2” ISPs: smaller (often regional) ISPs Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs 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

Introduction1-21 Internet structure “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

Introduction1-22 Internet structure Two networks can have Customer-provider relationship – provider sells access to customer customers Peer-peer relationship – networks can reach each others’ customers at no charge Networks peer if they have same size/status

Introduction1-23 Internet structure 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

Introduction1-24 How do loss and delay occur? Packets queue in router buffers Packet arrival rate to link exceeds output link capacity Packets queue, wait for turn If queue is full, packets are dropped A B packet being transmitted (delay) packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers

Introduction1-25 Four sources of packet delay 1. processing: Check bit errors Determine output link A B propagation transmission nodal processing queueing 2. queueing Time waiting at output link for transmission Depends on congestion level of router

Introduction Transmission delay: R=link bandwidth (bps) L=packet length (bits) time to send bits into link = L/R 4. Propagation delay: d = length of physical link s = propagation speed in medium (~2x10 8 m/sec) propagation delay = d/s Note: s and R are very different quantities! Four sources of packet delay A B propagation transmission nodal processing queueing

Introduction1-27 Caravan analogy Cars “propagate” at 100 km/hr Toll booth takes 12 sec to service a car (transmission time) car~bit; caravan ~ packet Q: How long until the whole caravan is lined up before 2nd toll booth? Time to “push” entire caravan through toll booth onto highway = 12*10 = 120 sec Time for last car to propagate from 1st to 2nd toll both: 100km/(100km/hr)= 1 hr A: 62 minutes toll booth toll booth 10-car caravan 100 km

Introduction1-28 Caravan analogy (more) Cars now “propagate” at 1000 km/hr Toll booth now takes 1 min to service a car Q: Will cars arrive to 2nd booth before all cars serviced at 1st booth? Yes! After 7 min, 1st car at 2nd booth and 3 cars still at 1st booth. 1st bit of packet can arrive at 2nd router before packet is fully transmitted at 1st router! toll booth toll booth 10-car caravan 100 km

Introduction1-29 Nodal delay d proc = processing delay typically a few microsecs or less d queue = queuing delay depends on congestion d trans = transmission delay = L/R, significant for low-speed links d prop = propagation delay a few microsecs to hundreds of msecs

Introduction1-30 Queueing delay (revisited) R=link bandwidth (bps) L=packet length (bits) a=average packet arrival rate traffic intensity = La/R L*a/R ~ 0: average queueing delay small L*a/R -> 1: delays become large L*a/R > 1: more “work” arriving than can be serviced, average delay infinite!

Introduction1-31 “Real” Internet delays and routes What do “real” Internet delay & loss look like? Traceroute program: provides delay measurement from source to router along end-end Internet path towards destination. For all i: Sends three packets that will reach router i on path towards destination Router i will return packets to sender Sender times interval between transmission and reply. 3 probes

Introduction1-32 “Real” Internet delays and routes 1 cs-gw ( ) 1 ms 1 ms 2 ms 2 border1-rt-fa5-1-0.gw.umass.edu ( ) 1 ms 1 ms 2 ms 3 cht-vbns.gw.umass.edu ( ) 6 ms 5 ms 5 ms 4 jn1-at wor.vbns.net ( ) 16 ms 11 ms 13 ms 5 jn1-so wae.vbns.net ( ) 21 ms 18 ms 18 ms 6 abilene-vbns.abilene.ucaid.edu ( ) 22 ms 18 ms 22 ms 7 nycm-wash.abilene.ucaid.edu ( ) 22 ms 22 ms 22 ms ( ) 104 ms 109 ms 106 ms 9 de2-1.de1.de.geant.net ( ) 109 ms 102 ms 104 ms 10 de.fr1.fr.geant.net ( ) 113 ms 121 ms 114 ms 11 renater-gw.fr1.fr.geant.net ( ) 112 ms 114 ms 112 ms 12 nio-n2.cssi.renater.fr ( ) 111 ms 114 ms 116 ms 13 nice.cssi.renater.fr ( ) 123 ms 125 ms 124 ms 14 r3t2-nice.cssi.renater.fr ( ) 126 ms 126 ms 124 ms 15 eurecom-valbonne.r3t2.ft.net ( ) 135 ms 128 ms 133 ms ( ) 126 ms 128 ms 126 ms 17 * * * 18 * * * 19 fantasia.eurecom.fr ( ) 132 ms 128 ms 136 ms traceroute: gaia.cs.umass.edu to Three delay measurements from gaia.cs.umass.edu to cs-gw.cs.umass.edu * means no response (probe lost, router not replying) trans-oceanic link

Introduction1-33 Packet loss Queue (aka buffer) preceding link in buffer has finite capacity When packet arrives to full queue, packet is dropped (aka lost) Lost packet may be retransmitted by previous node, by source end system, or not retransmitted at all

Introduction1-34 Protocol “Layers” Networks are complex! many “pieces”: hosts routers links of various media applications protocols hardware, software Question: Is there any hope of organizing structure of network? Or at least our discussion of networks?

Introduction1-35 Organization of air travel a series of steps ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing airplane routing

Introduction1-36 ticket (purchase) baggage (check) gates (load) runway (takeoff) airplane routing departure airport arrival airport intermediate air-traffic control centers airplane routing ticket (complain) baggage (claim gates (unload) runway (land) airplane routing ticket baggage gate takeoff/landing airplane routing Layering of airline functionality Layers: each layer implements a service via its own internal-layer actions relying on services provided by layer below

Introduction1-37 Why layering? Dealing with complex systems: Explicit structure allows identification, relationship of complex system’s pieces Modularization eases maintenance, updating of system Change of implementation of layer’s service transparent to rest of system e.g., change in gate procedure doesn’t affect rest of system

Introduction1-38 Internet protocol stack  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  PPP, Ethernet  Physical: bits “on the wire” application transport network link physical

Introduction1-39 LA3 LA6 LA4 LA5 LA7 LA8 LA9 LA10 LA1 LA2 Link layer vs. network layer workstation A router 1 workstation C Ethernet Shared link medium router 2 server B IP IP IP Link protocol will deliver a message to the right device in local network Network protocol will help us deliver a message from source to destination via routers who know the nexthop from their routing table

Introduction1-40 How to talk on the Internet? workstation A server B router 1 router 2 router 3 I want this webpage! This is message 2 for Web application This is message from A to B This is a message for router 1 link layer – link protocol network layer – IP protocol transport layer – TCP/UDP/… protocol application layer – HTTP protocol

Introduction1-41 message segment datagram frame source application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M 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 HlHl M HtHt HnHn M HtHt HnHn HlHl M HtHt HnHn HlHl M router switch Encapsulation

Introduction1-42 Internet History 1961: Kleinrock - queueing theory shows effectiveness of packet- switching 1964: Baran - packet- switching in military nets 1967: ARPAnet conceived by Advanced Research Projects Agency 1969: first ARPAnet node operational 1972: ARPAnet public demonstration NCP (Network Control Protocol) first host-host protocol first program ARPAnet has 15 nodes : Early packet-switching principles

Introduction1-43 Internet History 1970: ALOHAnet satellite network in Hawaii 1974: Cerf and Kahn - architecture for interconnecting networks 1976: Ethernet at Xerox PARC late70’s: proprietary architectures: DECnet, SNA, XNA late 70’s: switching fixed length packets (ATM precursor) 1979: ARPAnet has 200 nodes Cerf and Kahn’s internetworking principles: minimalism, autonomy - no internal changes required to interconnect networks best effort service model stateless routers decentralized control define today’s Internet architecture : Internetworking, new and proprietary nets

Introduction1-44 Internet History 1983: deployment of TCP/IP 1982: smtp protocol defined 1983: DNS defined for name-to-IP-address translation 1985: ftp protocol defined 1988: TCP congestion control New national networks: Csnet, BITnet, NSFnet, Minitel 100,000 hosts connected to confederation of networks : new protocols, a proliferation of networks

Introduction1-45 Internet History Early 1990’s: ARPAnet decommissioned 1991: NSF lifts restrictions on commercial use of NSFnet (decommissioned, 1995) early 1990s: Web Hypertext [Bush 1945, Nelson 1960’s] HTML, HTTP: Berners-Lee 1994: Mosaic, later Netscape Late 1990’s: commercialization of the Web Late 1990’s – 2000’s: More killer apps: instant messaging, P2P file sharing Network security to forefront Est. 50 million host, 100 million+ users Backbone links running at Gbps 1990, 2000’s: commercialization, the Web, new apps

Introduction1-46