Documente Academic
Documente Profesional
Documente Cultură
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 1 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 2
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 3 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 4
Policies Policies
• Advised to acquire the required textbook and
possess a copy of any required readings • No extension granted for the assignments
– need to read any supplementary readings • No make-up midterm and final examination
– not all details covered in class • Academic Integrity Policy prohibits plagiarism
– all work submitted for credit must be done on your own
• responsible to fill in any missing background – work or ideas developed by someone else must be properly
– Prerequisite cited in your coursework
• basic understanding of computer systems and
networking protocols When scholastic dishonesty is suspected, the
• Read ahead the readings to aid your case will be reported to the University
understanding of lectured materials and Disciplinary Committee.
engage class discussions
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 5 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 6
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 7 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 8
Focus of the Class The Internet, Circa 1969
• Goal: “Learn how to learn”
– skills acquired for your life, not just for this class
– learn the interplay between human and systems
• Protocols and mechanisms
– will not deal with how bits move in physical media
– did this in your undergraduate class
• We will deal with:
– protocol rules and algorithms for wireless
communications
– investigate mechanism tradeoffs
– why this way and not another?
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 9 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 10
[data courtesy of
UCSD’s caida]
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 11 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 12
Internet Development Mantra Glimpses of the Future?
UCB mote:
Quote from a t-shirt commonly worn at an 8-bit sensor node
IETF meetings: with non-IP based
networking
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 13 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 14
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 15 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 16
Switched Networks What Is the Problem?
• A network can be defined recursively as...
– two or more nodes – two or more networks
connected by a link, connected by two or
or more nodes
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 17 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 18
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 19 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 20
Applications Rule! Application Considerations
• Sometimes easy to forget in this course • Application input to network
– Traffic data rate
• Aside: What are the implications of global – Traffic pattern (bursty or constant bit rate)
connectivity? – Traffic target (multipoint or single
– Technological issues destination, mobile or fixed)
– Societal issues
– Economic issues
• Network service delivered to application
– Security issues – Delay sensitivity
– etc. – Loss sensitivity
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 21 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 22
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 23 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 24
Network Audio Network Video
• Relatively low bandwidth • High bandwidth
– Digitized samples, packetized • Compressed video, bursty
• Delay variance sensitive
• Loss tolerance function of compression
• Loss tolerant
• Delay tolerance a function of
• Possibly multipoint, long duration
interactivity
sessions
– Natural limit to number of simultaneous • Possibly multipoint
senders • Larger number of simultaneous sources
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 25 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 26
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 29 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 30
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 31 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 32
An ISP What Is….
• ISP needs:
– a (big?) block of addresses
– connections to one or more other ISPs, peerings
– multiple routers, probably at exchange points • Structure
– servers for your users: mail, web, etc. • Metrics
– servers for you: monitoring, etc
• Failure modes
– competent network admins (recommended)
– an AUP (Acceptable Use Policy)
• Functions
– a lawyer
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 33 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 34
Regionals Internet
Campus LANs
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 35 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 36
What Are the Different Kinds of Addresses? Domain Naming System (DNS)
• Have domain name (e.g., www.hku.hk) Local
– Global, human readable name Computer 1 DNS server
• DNS translates name to IP address What’s the IP address for www.hku.hk?
(e.g. 147.8.145.50)
– Global, understood by all networks It is 147.8.145.50
• Finally, we need local net address
DNS address manually configured into OS
– e.g., Ethernet (08-00-2c-19-dc-45)
Packets have IP address information
– Local, works only on a particular network
=> DNS server knows Computer 1’s address
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 37 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 38
Finding Ether Address: Address Resolution (ARP) Sending a Packet Through the Internet
Routers send a packet
to next closest point
H R
R
H
H H R
Broadcast: who knows the
R
Ethernet address for 147.8.145.50?
R
Ethernet
R R
H
Broadcast: I do, it is R H: Hosts
08-00-2c-19-dc-45 H
R: Routers
Ethernet
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 39 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 40
How Do the Routers Know Where to Send Data? Network Metrics
• Forwarding tables at each router • Bandwidth
populated by routing protocols – Transmission capacity (a.k.a. How many
• Original Internet: manually updated bits can fit in a section of a link?)
• Routing protocols update tables based • Delay
on “cost” – queueing delay
– Exchange tables with neighbors or – Propagation delay (limited by c)
everyone • Delay-bandwidth product
– Use neighbor leading to shortest path – Important for control algorithms
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 41 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 42
Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 45 Dr. Ka-Cheong Leung CSIS 7304 The Wireless Internet and Mobile Computing Slide 46