Professional Documents
Culture Documents
Sistemi Orientati Ad Internet - 01 Internet
Sistemi Orientati Ad Internet - 01 Internet
Sistemi Orientati ad
Internet
A.A. 2021-2022
● What is internet?
● A short history of internet
● Network edge
Internet ● Network core
● Delay, Loss, Throughput
An introduction ● Security
● Protocol layers
What’s internet
Definition
The Internet is the global system of interconnected computer networks that
uses the Internet protocol suite (TCP/IP) to communicate between networks
and devices.
https://en.wikipedia.org/wiki/Internet
Networks
▪ collection of devices, routers,
links: managed by an
organization
D. Porta daniele.porta@mapsgroup.it e F. Strozzi fabio.strozzi@mapsgroup.it 5
UNIVERSITÀ DI PARMA
Sistemi Orientati ad Internet A.A. 2021-2022
▪ Internet standards
• RFC: Request for Comments
• IETF: Internet Engineering Task Force
Fitness
D. Porta daniele.porta@mapsgroup.it e F. Strozzi fabio.strozzi@mapsgroup.it
trackers 7
UNIVERSITÀ DI PARMA
Sistemi Orientati ad Internet A.A. 2021-2022
1962 1980
Kleinrock submits Tim Berners-Lee
his MIT Ph.D. writes ENQUIRE,
dissertation, a program
proposing a documenting links
1936 mathematical
theory for what
1969 between people,
computers, and
were later called projects at CERN.
Herbert George The U.S. Department
Wells first predicts packet-switched of Defense awarded
the World Brain. networks. contracts in 1969 for
the development of
the ARPANET project.
It adopted the packet
switching technology.
1989 1993
Tim Berners-Lee CERN declares
begins writing the Web protocol
World Wide Web, and code free to
the first web all users
1982 browser after two
years of lobbying
1993
The Internet Protocol
CERN
Marc Andreessen
Suite (TCP/IP) was management
announces
standardized, which
version 0.5 of
permitted worldwide
proliferation of NCSA X Mosaic
interconnected networks. web browser
D. Porta daniele.porta@mapsgroup.it e F. Strozzi fabio.strozzi@mapsgroup.it 10
UNIVERSITÀ DI PARMA
Sistemi Orientati ad Internet A.A. 2021-2022
1998
The first Google
index has 26
million Web
pages.
1996 2014
Nokia releases the The number of
Nokia 9000 Internet users
Communicator, worldwide reaches
the first cellphone 3 billion.
with a web
browser.
Protocols
Network protocols:
Human protocols:
▪ computers (devices) rather than humans
▪ “what’s the time?”
▪ all communication activity in Internet governed by protocols
▪ “I have a question”
▪ introductions
Hi
TCP connection
request
Hi
TCP connection
Got the response
time?
GET
http://gaia.cs.umass.edu/kurose_ross
2:00
<file>
13
time
Network edge
Network core:
▪ interconnected routers
▪ network of networks
Hosts
End systems are also referred to as hosts:
2 1
packet transmission delay = time to transmit L-bit packets into link = L (bits) / R (bits/sec)
● typically within or around building (~100 ft) ● provided by mobile network operator (10 km)
● 802.11b/g/n (WiFi): 11, 54, 450 Mbps transmission rate ● 10’s Mbps
● 4G cellular networks (5G coming)
Home networks
wireless
devices
to/from headend
or central office
often combined
in single box
Enterprise networks
Enterprise link to
ISP (Internet)
institutional router
Ethernet
switch institutional mail,
web servers
Network core
Packet queuing and loss: if arrival rate (in bps) to link exceeds transmission rate (bps) of link for a period of time:
▪ packets will queue, waiting to be transmitted on output link
▪ packets can be dropped (lost) if memory (buffer) in router fills up
https://media.pearsoncmg.com/aw/ecs_kurose_compnetwork_7/cw/content/interactiveanimations/queuing-loss-applet/index.html
Alternative to packet switching: circuit switching (old approach and less efficient)
➢ content provider network (e.g, Google): private network that connects it data centers to Internet, often bypassing
tier-1, regional ISPs
D. Porta daniele.porta@mapsgroup.it e F. Strozzi fabio.strozzi@mapsgroup.it 39
UNIVERSITÀ DI PARMA
Sistemi Orientati ad Internet A.A. 2021-2022
La/R -> 1
Packet loss
● queue (aka buffer) preceding link in buffer has finite capacity
● packet arriving to full queue dropped (aka lost)
● lost packet may be retransmitted by previous node, by source end system, or
not at all
Throughput
➢ throughput: rate (bits/time unit) at which bits are being sent from sender to
receiver
➢ instantaneous: rate at given point in time
➢ average: rate over longer period of time
Throughput
Rs < Rc What is average end-end throughput?
bottleneck link
link on end-end path that constrains end-end throughput
Throughput
➢ per-connection end-end throughput:
min(Rc,Rs,R/3)
➢ in practice: Rc or Rs is often bottleneck
Security
Network security
▪ field of network security:
• how bad guys can attack computer networks
• how we can defend networks against attacks
• how to design architectures that are immune to attacks
▪ Internet not originally designed with (much) security in mind
• original vision: “a group of mutually trusting users attached to a transparent network” ☺
• Internet protocol designers playing “catch-up”
• security considerations in all protocol layers!
Protocol layers
● hosts
● routers
● links of various media
● applications
● protocols
● hardware, software
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 in layer's service implementation: transparent to rest of system
• e.g., change in gate procedure doesn’t affect rest of system
▪ layering considered harmful?
▪ layering in other complex systems?
Encapsulation
References
➢ Internet definition: https://en.wikipedia.org/wiki/Internet
➢ a very short history of the internet and the web:
https://www.forbes.com/sites/gilpress/2015/01/02/a-very-short-history-of-the-internet-an
d-the-web-2/#7d762f027a4e
➢ Tweet-a-watt How-to-make-a-twittering-power-meter:
https://www.instructables.com/id/Tweet-a-watt-How-to-make-a-twittering-power-mete/
➢ Fiber to the x: https://en.wikipedia.org/wiki/Fiber_to_the_x
➢ Internet_protocol_suite: https://en.wikipedia.org/wiki/Internet_protocol_suite
➢ RFC1122: https://tools.ietf.org/html/rfc1122
➢ Queuing and Loss Interactive Animation:
https://media.pearsoncmg.com/aw/ecs_kurose_compnetwork_7/cw/content/interactivea
nimations/queuing-loss-applet/index.html
References
➢ Message Segmentation
https://media.pearsoncmg.com/aw/ecs_kurose_compnetwork_7/cw/content/interactivea
nimations/message-segmentation/index.html
Copyright
Jim Kurose, Keith Ross
Computer Networking: A Top Down Approach
8th Edition, Pearson, 2020