Lecture 1: Networking Overview
Instructor: Kate Ching-Ju Lin (林靖茹)
Multimedia Communications
@CS.NCTU
Slides modified from “Computer Networking: A Top-Down Approach” 6th Edition
Multimedia Communications @CS.NCTU Lecture 1: Networking Overview - - PowerPoint PPT Presentation
Multimedia Communications @CS.NCTU Lecture 1: Networking Overview Instructor: Kate Ching-Ju Lin ( ) Slides modified from Computer Networking: A Top-Down Approach 6th Edition Outline Whats the Internet? Whats a
Slides modified from “Computer Networking: A Top-Down Approach” 6th Edition
2
3
social networking, messaging, etc
4
satellite
bandwidth
wired links wireless links router smartphone PC server wireless laptop
mobile network global ISP regional ISP home network institutional network
5
IP picture frame http://www.ceiva.com/ Web-enabled toaster + weather forecaster Internet phones Internet refrigerator Slingbox: watch, control cable TV remotely Tweet-a-watt: monitor energy use sensorized, bed mattress
6
(Internet Service Providers)
802.11
Task Force
mobile network global ISP regional ISP home network institutional network
7
mobile network global ISP regional ISP home network institutional network
8
9
protocols define format, order
among network entities, and actions taken on message transmission, receipt
10
Got the time?
TCP connection response Get http://www.awl.com/kurose-ross
time
TCP connection request
11
12
(edge routers)
mobile network global ISP regional ISP home network institutional network
centers
13
14
ISP
central office telephone network DSLAM voice, data transmitted at different frequencies over dedicated line to central office
DSL modem splitter
DSL access multiplexer
à Asymmetric!
15
16
cable modem splitter
cable head end 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
coaxial cable
CMTS (cable modem termination system)
to/from headend or central office
cable or DSL modem router, firewall, NAT wired Ethernet (1 Gbps) wireless access point (54 Mbps)
wireless devices
in single box
17
switch Ethernet switch institutional mail, web servers institutional router institutional link to ISP (Internet)
100Mbps x Gbps
18
§ within building (100 ft.) § 802.11b/g/n (WiFi): 11, 54, 450 Mbps transmission rate
to Internet
§ provided by telco (cellular)
§ between 1 and 10 Mbps § 3G, 4G: LTE (Long-Term Evolution)
to Internet
19
20
router to the next, across links
destination
full link capacity
21
capacity, aka link bandwidth
R: link transmission rate
host
1 2
two packets, L bits each packet transmission delay time needed to transmit L-bit packet into link
22
transmitted on next link
source R bps destination
1 2 3
L bits per packet R bps
§ L = 7.5 Mbits § R = 1.5 Mbps § one-hop transmission delay = 5 sec
23
packets) must be dropped if the buffer is full
24
A B C
R = 100 Mb/s
R = 1.5 Mb/s
D E
queue of packets waiting for output link
algorithms
25
routing algorithm local forwarding table
header value output link 0100 0101 0111 1001 3 2 2 1
1
2 3 destination address in arriving packet’s header
analogous to asking direction
algorithms
26
27
28
29
30
than .0004
N users 1 Mbps link
31
(rather than performance consideration)
32
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
33
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
34
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
35
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
Friend or competitor?
36
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
IXP
IXP
37
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
IXP IXP
access net access net access net
regional net
à Each access ISP pays the connected regional ISPs à Each regional ISP pays tier-1 ISPs
38
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
IXP IXP
access net access net access net
regional net
39
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
IXP IXP
access net access net access net
regional net
40
national & international coverage
that connects it data centers to Internet, often bypassing tier-1, regional ISPs
IXP IXP IXP
Tier 1 ISP Tier 1 ISP Google Regional ISP Regional ISP
access ISP access ISP access ISP access ISP access ISP access ISP access ISP access ISP
41
to/from customers peering to/from backbone
POP: point-of-presence
42
43
packet being transmitted (delay) packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers
44
45
nodal processing queueing
46
(~2x108 m/sec)
dtrans and dprop very different
propagation nodal processing queueing
transmission
47
toll booth toll booth ten-car caravan 100 km 100 km
48
toll booth toll booth ten-car caravan 100 km 100 km
49
traffic intensity = La/R average queueing delay
La/R ~ 0 La/Rà1
be serviced, average delay infinite! La/R: traffic intensity
50
3 probes 3 probes 3 probes
51
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
52
53
packet being transmitted packet arriving to full buffer is lost buffer (waiting area)
54
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
55
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
56
10 connections (fairly) share backbone bottleneck link R bits/sec Rs Rs Rs Rc Rc Rc R
57
58
and assign each task to a proper layer
59
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 60
61
destination (along a path)
network elements (host-to-host)
i.e.,“wire” or “air” (symbol)
Top-down approach
62
63
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
64
65
1-66
1-67
Cerf and Kahn’s internetworking principles:
no internal changes required to interconnect networks
define today’s Internet architecture
68
1960’s]
the Web
messaging, P2P file sharing
million+ users
Gbps
69
search, video content, email, etc.
70
71