1 Intro
1 Intro
Networking Protocols
Part 1: The Big Picture
Terminology
• Millions of connected computing devices
• hosts = end systems PC wireless
laptop
smartphone
• running network apps server
• Communication links
• fiber, copper, radio, satellite wireless
links
wired
• transmission rate: bandwidth links
2
“Nuts and Bolts”
• Internet is “network of networks”
• Interconnected mobile, global, home, mobile network
regional ISP, global ISPs, and
institutional and company networks global ISP
5
Human Protocol Examples
• Greetings protocol
• format: verbal in English
• order: greeter saying “how’re you doing?” greatee responds “I’m fine”
• actions:
• start greet protocol when meet a person
• respond to greeting
Hi TCP connection
request
Hi TCP connection
response
Got the
time? Get http://foobar.com
2:00 <file>
time
8
Different Views on Networking
• Application view
Transpo
• Transport view r t View
iew
• Network-level view
on V
icati
• Link-level view
Appl
Ne
tw o
rk-
Lev
el Vie
w
Link-Level View
9
Application View
My Laptop -
Running web Web Server
browser www.cnn.com
Internet
client server
(Chrome, Safari, Firefox, ...) (Apache, etc)
• The application programs talk to each other using application protocols (for web, protocol = HTTP)
• Network is not directly considered by application application: apps just realize whatever data retrieval logic they
need
• Application protocol view
• They assume network provides a way to send data to any hosts on the Internet
• They don’t know or care how the data is sent; do care whether it is delivered reliably
• They run on top of transport protocols that take care of how data gets sent
10
Application Protocol Roles
• They are the Infrastructure that provides services
to applications:
• Web, VoIP, email, games, e-commerce, social nets, …
• They provide programming interface to applications
• hooks that allow sending and receiving app programs to
“connect” to Internet
• provides service options, analogous to postal service
11
Application Layer Protocols
• Covered in Module 3
• Basic objective: understand common application
protocols:
• Web: Hyper-Text Transfer Protocol (HTTP), Secure Hyper-Text
Transfer Protocol (HTTPS)
• Email: Simple Mail Transport Protocol (SMTP)
• Domain Name System (DNS)
• More important objective: design issues
• What kinds of services required from the network?
• How does the choice of services impact application design?
12
Transport View
My Laptop -
Running web Web Server
browser www.cnn.com
Internet
ISP B
ISP A Internet
ISP E ISP C
ISP D
ISP B
ISP A Internet
ISP E ISP C
ISP D
17
Network Layer Protocols
• Covered in Module 5
• There are different types of networks
• Circuit-switched versus packet-switched
• Internet: packet-switched networks
• Network layer provides best effort delivery of packets
• Don’t care exactly how a packet is delivered from
one node to next
• That's the job for link layer protocols
18
Link Layer View
Link
Network Transport Application Application
layer
protocol protocol protocol data
protocol
22
Summary
• Internet: made of a huge number of hosts and routers,
interconnected by physical and wireless links
• Hosts: run bunch of protocols to exchange data with each other
• Routers: run bunch of protocols in order to move data to their
destinations
• Protocols are organized in layers:
• Application protocols
• Transport protocols
• Network protocols
• Link layer protocols
• How to calculate packet delays as they move across a network
23
Extra Reading
24