Professional Documents
Culture Documents
204:
Advanced Computer Networks
Jiasi Chen
Lectures: MWF 12:10-1pm in WCH 139
http://www.cs.ucr.edu/~jiasi/teaching/cs204_spring16/
1
Why Networks?
Supports the applications that we use today…
Social media
Video streaming
http://www.pewinternet.org/data-trend/internet-use/latest-stats/
2
https://en.wikipedia.org/wiki/List_of_countries_by_number_of_internet_users
Why Networks?
But also a source of conflict.
http://www.huffingtonpost.com/eric-dezenhall/a-look-back-at-the-target_b_7000816.html
http://www.nytimes.com/2015/11/12/technology/t-mobile-video-plan-could-test-fccs-new-net-neutrality-rules.html
3
What is networking?
• Bunch of acronyms?
MAC
RED
ABR
BGP OSPF
UMTS
REST
TCP DNS VLAN
MCS
NAT IP HTTP
DDoS SPDY
DHCP 4
What is networking?
• Bunch of headers?
Source: https://nmap.org/book/tcpip-ref.html 5
Networking is…
6
Some Research Topics in Networking
• Layering
• What functionality to place within each layer?
Application
• How many layers should there be? (e.g. video streaming)
Transport
• Protocols (e.g. TCP, UDP)
• How to communicate within each layer, and talk to
other layers?
Network
• Resource allocation (e.g. routing)
• How to share limited resources between
competing users? Link
(e.g. scheduling)
• Wireless
• How to provide a one-to-one communication in an Physical
inherently broadcast environment (e.g. OFDM)
7
What You Will Learn in this Course
• Knowledge
• 1/3: Link layer through application layer
• 2/3: current topics in networking (wireless, multimedia, data centers, etc.)
• Skills
• How to read
• How to present
• How to discuss
• How to use common networking tools
8
Course Structure
• Paper reading
• One paper to review before each class
• Classroom time
• Lecture
• Paper discussion
• Programming assignments
• Mininet + OpenFlow
• Project
• Proposal, presentation, and final report
• Can work individually in or in groups
• Can overlap with existing independent work or research project
9
Calendar
Week Topic Assignment Due
1 Introduction + MAC layer
2 Network layer
3 Transport layer
4 Application layer Assignment 1
5 Content distribution
6 Data centers Project proposal
7 Wireless
8 Security Assignment 2
9 Future Internet (SDN, IoT)
10 Project presentations
Finals week Final report due
10
Grading
• Paper summaries (20%)
• Write a one-paragraph review for each paper
• Assignments (20%)
• 2 programming assignments
• Project (40%)
11
Review
1.1 what is the Internet?
1.2 network edge
§ end systems, access networks, links
1.3 network core
§ packet switching, circuit switching, network structure
1.4 protocol layers, service models
v Packet
switches: forward
router packets (chunks of data) institutional
network
§ routers and switches
What’s the Internet: “nuts and bolts” view
mobile network
• Internet: “network of networks”
• Interconnected ISPs
global ISP
• protocols control sending,
receiving of msgs
home
• e.g., TCP, IP, HTTP, Skype, 802.11 network
regional ISP
• Internet standards
• IETF: Internet Engineering Task Force
institutional
network
What’s the Internet: a service view
mobile network
• Infrastructure that provides
services to applications: global ISP
• Web, VoIP, email, games, e-
commerce, social nets, …
home
• provides programming network
regional ISP
interface to apps
• hooks that allow sending
and receiving app programs
to “connect” to Internet
• provides service options,
analogous to postal service
institutional
network
What’s a protocol?
human protocols: network protocols:
• “what’s the time?” • machines rather than
• “I have a question” humans
• introductions • all communication activity
in Internet governed by
protocols
… specific msgs sent
… specific actions taken protocols define format, order
when msgs received, or of msgs sent and received
other events
among network entities,
and actions taken on msg
transmission, receipt
What’s a protocol?
a human protocol and a computer network protocol:
Hi TCP connection
request
Hi TCP connection
response
Got the
time? Get http://www.awl.com/kurose-ross
2:00
<file>
time
Roadmap
1.1 what is the Internet?
1.2 network edge
§ end systems, access networks, links
1.3 network core
§ packet switching, circuit switching, network structure
1.4 protocol layers, service models
A closer look at network structure:
• network edge: mobile network
• hosts: clients and servers
• servers often in data centers global ISP
home
v access networks, physical network
regional ISP
media: wired, wireless
communication links
v network core:
§ interconnected routers
§ network of networks
institutional
network
Access networks and physical media
keep in mind:
• bandwidth (bits per second)
of access network?
• shared or dedicated?
Access net: home network
wireless
devices
to/from headend or
central office
often combined
in single box
institutional link to
ISP (Internet)
institutional router
to Internet
to Internet
Host: sends packets of data
host sending function:
vtakes application message
vbreaks into smaller chunks, two packets,
known as packets, of length L L bits each
bits
vtransmits packet into access
network at transmission rate
R 2 1
§ link transmission rate,
aka link capacity, aka link R: link transmission rate
bandwidth host
L bits
per packet
3 2 1
source destination
R bps R bps
R = 100 Mb/s C
A
D
R = 1.5 Mb/s
B
queue of packets E
waiting for output link
routing algorithm
access access
net net
access
net
access
net
access
net
access
net
access access
net access net
net
Internet structure: network of networks
Option: connect each access ISP to every other access ISP?
access access
net net
access
net
access
access net
net
access
access net
net
access
net
access
net
access
net
access
net
access access
net access net
net
Internet structure: network of networks
Option: connect each access ISP to a global transit ISP? Customer
and provider ISPs have economic agreement.
access access
net net
access
net
access
access net
net
access
access net
net
global
access
net
ISP access
net
access
net
access
net
access
net
access
net
access access
net access net
net
Internet structure: network of networks
But if one global ISP is viable business, there will be competitors
….
access access
net net
access
net
access
access net
net
access
access net
net
ISP A
access access
net ISP B net
access
ISP C
net
access
net
access
net
access
net
access access
net access net
net
Internet structure: network of networks
But if one global ISP is viable business, there will be competitors
…. which must be interconnected
access access
Internet exchange point
net net
access
net
access
access net
net
access
IXP access
net
net
ISP A
access
ISP C
net
access
net
access
IXP access
net
net
ISP A
access
ISP C
net
access
net
access
net regional net
access
net
access access
net access net
net
Internet structure: network of networks
to/from backbone
peering
… …
…
…
…
to/from customers
Roadmap
1.1 what is the Internet?
1.2 network edge
§ end systems, access networks, links
1.3 network core
§ packet switching, circuit switching, network structure
1.4 protocol layers, service models
Protocol “layers”
Networks are complex,
with many “pieces”:
• hosts Question:
• routers is there any hope of
organizing structure of
• links of various network?
media
• applications …. or at least our discussion
• protocols of networks?
• hardware,
software
Internet protocol stack
• application: supporting network
applications
• FTP, SMTP, HTTP application
• transport: process-process data
transfer transport
• TCP, UDP
• network: routing of datagrams network
from source to destination
• IP, routing protocols link
• link: data transfer between
neighboring network elements physical
• Ethernet, 802.111 (WiFi), PPP
• physical: bits “on the wire”
Why layering?
dealing with complex systems:
• explicit structure allows identification, relationship
of complex system’s pieces
• layered reference model for discussion
• modularization eases maintenance, updating of
system
• change of implementation of layer’s service transparent
to rest of system
• e.g., change in letter language doesn’t affect rest of
system
• layering considered harmful?
Layering of post office functionality
Sender drops off letter at post office Mailman delivers from post office to sender’s home
Post office X sends mail to city Y airplane routing Post office Y receives mail from city X
switch
destination Hn Ht M network
M application Hl Hn Ht M link Hn Ht M
Ht M transport physical
Hn Ht M network
Hl Hn Ht M link router
physical
Roadmap
1.1 what is the Internet?
1.2 network edge
§ end systems, access networks, links
1.3 network core
§ packet switching, circuit switching, network structure
1.4 protocol layers, service models
For Next Time
• Reading
• The Design Philosophy of the DARPA Internet Protocols
• How to Read a Paper
46