Introduction 1-1
Chapter 1 Introduction
Adapted from Computer Networking: A Top Down Approach, 6th edition, Jim Kurose, Keith Ross
Addison-Wesley, March 2012
Chapter 1 Introduction Adapted from Computer Networking: A Top Down - - PowerPoint PPT Presentation
Chapter 1 Introduction Adapted from Computer Networking: A Top Down Approach, 6th edition, Jim Kurose, Keith Ross Addison-Wesley, March 2012 Introduction 1-1 Chapter 1: introduction Review : what s the Internet? what s a
Introduction 1-1
Adapted from Computer Networking: A Top Down Approach, 6th edition, Jim Kurose, Keith Ross
Addison-Wesley, March 2012
Introduction
what’s the Internet? what’s a protocol? network edge; hosts, access net,
network core: packet/circuit
performance: loss, delay,
protocol layers, service models history
1-2
Introduction
millions of connected
communication links
Packet switches: forward
wired links wireless links router
mobile network global ISP regional ISP home network institutional network
smartphone PC server wireless laptop
1-3
Introduction
Internet: “network of networks”
protocols control sending,
Internet standards
Force
mobile network global ISP regional ISP home network institutional network
1-4
Infrastructure that provides
provides programming
mobile network global ISP regional ISP home network institutional network
Introduction 1-5
Introduction
“what’s the time?” “I have a question” introductions
machines rather than
all communication activity
1-6
Introduction
Got the time?
TCP connection response Get http://www.awl.com/kurose-ross
time
TCP connection request
1-7
Introduction
1-8
Introduction
network edge:
access networks, physical
network core:
mobile network global ISP regional ISP home network institutional network
1-9
Introduction
residential access nets institutional access
mobile access networks
bandwidth (bits per second)
shared or dedicated?
1-10
Introduction
central office
ISP
telephone network DSLAM voice, data transmitted at different frequencies over dedicated line to central office use existing telephone line to central office DSLAM
< 2.5 Mbps upstream transmission rate (typically < 1 Mbps) < 24 Mbps downstream transmission rate (typically < 10 Mbps)
DSL modem splitter
DSL access multiplexer
1-11
Introduction
cable modem splitter
cable headend Channels
V I D E O V I D E O V I D E O V I D E O V I D E O V I D E O D A T A D A T A C O N T R O L 1 2 3 4 5 6 7 8 9
1-12
Introduction
data, TV transmitted at different frequencies over shared cable distribution network
cable modem splitter
cable headend CMTS
ISP
cable modem termination system
HFC: hybrid fiber coax
network of cable, fiber attaches homes to ISP router
1-13
Introduction
to/from headend or central office
cable or DSL modem router, firewall, NAT wired Ethernet (100 Mbps) wireless access point (54 Mbps)
wireless devices
in single box
1-14
Introduction
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-15
Introduction
shared wireless access network connects end system to router
transmission rate
to Internet to Internet
1-16
takes application message breaks into smaller
transmits packet into
R: link transmission rate
host
1 2
two packets, L bits each packet transmission delay time needed to transmit L-bit packet into link
1-17
Introduction
bit: propagates between
physical link: what lies
guided media:
unguided media:
two insulated copper
Gpbs Ethernet
1-18
Introduction
two concentric copper
bidirectional broadband:
glass fiber carrying light
high-speed operation:
transmission (e.g., 10’s-100’s Gpbs transmission rate)
low error rate:
noise
1-19
Introduction
signal carried in
no physical “wire” bidirectional propagation environment
terrestrial microwave
LAN (e.g., WiFi)
wide-area (e.g., cellular)
satellite
multiple smaller channels)
altitude
1-20
Introduction
1-21
Introduction
mesh of interconnected
packet-switching: hosts
1-22
Introduction
takes L/R seconds to
store and forward: entire
more on delay shortly …
1-23
source R bps destination
1 2 3
L bits per packet R bps end-end delay = 2L/R (assuming
Introduction
R = 100 Mb/s
R = 1.5 Mb/s
queue of packets waiting for output link
1-24
If arrival rate (in bits) to link exceeds transmission rate of
Network Layer 4-25
routing algorithm local forwarding table header value output link
0100 0101 0111 1001 3 2 2 1
1
2 3 dest address in arriving packet’s header
Introduction
In diagram, each link has four
dedicated resources: no sharing
circuit segment idle if not used
Commonly used in traditional
1-26
Introduction
1-27
Introduction
great for bursty data
excessive congestion possible: packet delay and loss
Q: How to provide circuit-like behavior?
1-28
End systems connect to Internet via access ISPs (Internet
Access ISPs in turn must be interconnected. So that any two hosts can send packets to each other Resulting network of networks is very complex Evolution was driven by economics and national policies Let’s take a stepwise approach to describe current Internet
access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net
access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net
access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net
access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net
ISP B ISP A ISP C
access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net
ISP B ISP A ISP C
IXP IXP
access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net
ISP B ISP A ISP C
IXP IXP
regional net
access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net access net
ISP B ISP A ISP B
IXP IXP
regional net
Introduction
at center: small # of well-connected large networks
international coverage
it data centers to Internet, often bypassing tier-1, regional ISPs
1-37
access ISP access ISP access ISP access ISP access ISP access ISP access ISP access ISP
Introduction
to/from customers peering to/from backbone
POP: point-of-presence
1-38
Introduction
1-39
Introduction
packet arrival rate to link (temporarily) exceeds output link
packets queue, wait for turn
packet being transmitted (delay) packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers
1-40
Introduction
propagation transmission nodal processing queueing
1-41
Introduction
(~2x108 m/sec)
dtrans and dprop very different
propagation nodal processing queueing
1-42
transmission
* Check out the Java applet for an interactive animation on trans vs. prop delay
Introduction
cars “propagate” at
toll booth takes 12 sec to
car~bit; caravan ~ packet Q: How long until caravan is
toll booth toll booth ten-car caravan 100 km 100 km
1-43
Introduction
suppose cars now “propagate” at 1000 km/hr and suppose toll booth now takes one min to service a car Q: Will cars arrive to 2nd booth before all cars serviced at first
toll booth toll booth ten-car caravan 100 km 100 km
1-44
Introduction
R: link bandwidth (bps) L: packet length (bits) a: average packet arrival
traffic intensity = La/R
La/R ~ 0: avg. queueing delay small La/R -> 1: avg. queueing delay large La/R > 1: more “work” arriving
average queueing delay
La/R ~ 0
La/R -> 1
1-45
* Check out the Java applet for an interactive animation on queuing and loss
Introduction
what do “real” Internet delay & loss look like? traceroute program: provides delay
3 probes 3 probes 3 probes
1-46
Introduction
1 cs-gw (128.119.240.254) 1 ms 1 ms 2 ms 2 border1-rt-fa5-1-0.gw.umass.edu (128.119.3.145) 1 ms 1 ms 2 ms 3 cht-vbns.gw.umass.edu (128.119.3.130) 6 ms 5 ms 5 ms 4 jn1-at1-0-0-19.wor.vbns.net (204.147.132.129) 16 ms 11 ms 13 ms 5 jn1-so7-0-0-0.wae.vbns.net (204.147.136.136) 21 ms 18 ms 18 ms 6 abilene-vbns.abilene.ucaid.edu (198.32.11.9) 22 ms 18 ms 22 ms 7 nycm-wash.abilene.ucaid.edu (198.32.8.46) 22 ms 22 ms 22 ms 8 62.40.103.253 (62.40.103.253) 104 ms 109 ms 106 ms 9 de2-1.de1.de.geant.net (62.40.96.129) 109 ms 102 ms 104 ms 10 de.fr1.fr.geant.net (62.40.96.50) 113 ms 121 ms 114 ms 11 renater-gw.fr1.fr.geant.net (62.40.103.54) 112 ms 114 ms 112 ms 12 nio-n2.cssi.renater.fr (193.51.206.13) 111 ms 114 ms 116 ms 13 nice.cssi.renater.fr (195.220.98.102) 123 ms 125 ms 124 ms 14 r3t2-nice.cssi.renater.fr (195.220.98.110) 126 ms 126 ms 124 ms 15 eurecom-valbonne.r3t2.ft.net (193.48.50.54) 135 ms 128 ms 133 ms 16 194.214.211.25 (194.214.211.25) 126 ms 128 ms 126 ms 17 * * * 18 * * * 19 fantasia.eurecom.fr (193.55.113.142) 132 ms 128 ms 136 ms
3 delay measurements from gaia.cs.umass.edu to cs-gw.cs.umass.edu * means no response (probe lost, router not replying)
trans-oceanic link
1-47
* Do some traceroutes from exotic countries at www.traceroute.org
Introduction
queue (aka buffer) preceding link in buffer has finite
packet arriving to full queue dropped (aka lost) lost packet may be retransmitted by previous node,
packet being transmitted packet arriving to full buffer is lost buffer (waiting area)
1-48
* Check out the Java applet for an interactive animation on queuing and loss
Introduction
throughput: rate (bits/time unit) at which bits
server, with file of F bits to send to client link capacity Rs bits/sec link capacity Rc bits/sec server sends bits (fluid) into pipe pipe that can carry fluid at rate Rs bits/sec) pipe that can carry fluid at rate Rc bits/sec)
1-49
Introduction
Rs < Rc What is average end-end throughput?
Rs bits/sec Rc bits/sec
Rs > Rc What is average end-end throughput?
Rs bits/sec Rc bits/sec
1-50
Introduction
10 connections (fairly) share backbone bottleneck link R bits/sec Rs Rs Rs Rc Rc Rc R
per-connection end-
in practice: Rc or Rs
1-51
Introduction
1-52
Introduction
1-53
Introduction
a series of steps
ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing airplane routing airplane routing
1-54
Introduction
ticket (purchase) baggage (check) gates (load) runway (takeoff) airplane routing
departure airport arrival airport intermediate air-traffic control centers
airplane routing airplane routing ticket (complain) baggage (claim gates (unload) runway (land) airplane routing
ticket baggage gate takeoff/landing airplane routing
1-55
Introduction
explicit structure allows identification,
modularization eases maintenance, updating of
layering considered harmful?
1-56
Introduction
application: supporting network
transport: process-process data
network: routing of datagrams
link: data transfer between
physical: bits “on the wire”
1-57
Introduction
presentation: allow applications
session: synchronization,
Internet stack “missing” these
1-58
Introduction
application transport network link physical
Ht Hn M
segment
Ht
datagram
destination
application transport network link physical
Ht Hn Hl M Ht Hn M Ht M M
network link physical link physical
Ht Hn Hl M Ht Hn M Ht Hn M Ht Hn Hl M
router switch
message
M Ht M Hn
frame
1-59