Overview of Computer Networks and Internet History
Overview of Computer Networks and Internet History
Computer networks
History of Internet
Concept of computer networks
Network architecture
Packet switching vs. circuit switching
1
History of the Internet
Originated from an
experiemental project of ARPA
Intially having only two nodes
(IMP atUCLA and IMP at SRI).
SRI UTAH
UCSB
UCLA
Source:
[Link]
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
atlas/[Link] One node was added each month
School of Information and Communication Technology
4
Years 70s:
Interconnection, new
network architectures
and private
architectures
5
Expansion of ARPANET, 1974
source:
Traffic each day not more than 3.000.000 package
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
[Link]
School of Information and Communication Technology
atlas/[Link] 6
Years 70s
7
Years 80s: New protocols,
more expansion
8
1981: Beginning of NSFNET
9
1986: Connect USENET and NSFNET
Source: [Link] 10
More network to join and more
protocol
• More networks join in: MFENET, HEPNET
(Dept. Energy), SPAN (NASA), BITnet,
CSnet, NSFnet, Minitel …
• TCP/IP is standardized and becomes
popular in 1980
• Berkeley integrate TCP/IP in BSD Unix
• Services: FTP, Mail, DNS …
11
Years 90s: Web and E-
commerce over Internet
12
Years 90s
Begining of 90s:
Begining of Web End of 1990’s –
HTML, HTTP: 2000’s:
Berners-Lee • Many new Internet
1994: Mosaic, applications was
Netscape introduced:
• Chat, file sharing P2P…
End of 90s:
• E-commerce, Yahoo, Ebay,
Commercialized the Amazon, Google…
Internet • > 50 millions hosts, >
100 millions users.
13
Internet in Việt Nam
14
Development of the Internet in
Vietnam
15
Statistics until 2007
FPT, 2635
EVN, 400
SPT, 200
HanoiTelecom,
4
Vietel, 2056
VNPT, 6820
17
Fixed internet subscription, 2019
18
Some fixed internet subscription
technologies
• Dial-up:
• 56kbps,
• use public telephone lines,
• Data are transmitted over the same frequency with voice,
• Old technology, popular before 2000
• ADSL, xDSL:
• few Mbps,
• use public telephone lines,
• Data are transmitted over the different frequency with
voice,
• popular between 2000-2010
• Internet over TV cable
• Use TV cable to carry data
• FTTH
• several dozen Mbps,
• Use optical fiber
• Popular nowadays.
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
19
Data usage on mobile phones
2019
20
International Internet data
volume 2019
21
Domestic Internet data volume
22
Internet management in Việt
Nam
• VNNIC
• Is responsible for managing the Internet
domain name, address in Việt Nam;
• Provides guidelines, statistics about Internet
and participates in international activity
about Internet.
• VNIX: Vietnam National Internet
eXchange
• switching system between national ISP.
23
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
24
International connections
25
International connections
26
International connections
27
Optical fiber under the ocean
Source: [Link] 28
Optical fiber under the ocean
Source: [Link]
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
29
Concepts of computer
networks
30
Concepts
A set of computers/nodes
connecting to each other
according to an architecture in
order to exchange data
Computer/node: workstation,
server, router, mobile
phone .etc with information
processing capacity
They connect to each other by
a media (wired or wireless)
Arcording to an archirecture
Different kind of computers
31
Example of computer networks
The Internet
A local network using Ethernet
An wireless LAN at a coffee shop:
using 802.11 standard
A network connecting ATMs
32
Network architecture
33
What is a protocol?
Hi request
non response
ok response
Thời gian
34
Network protocol
35
Communication media
36
Computer network classification
37
Computer network classification
38
LAN
39
MAN
• Metropolitan Area
Networks
• Cover a city
• Ex:
• Television network
• Backbone networks
of ISP.
40
WAN
41
GAN
42
Internet
mobile network
global ISP
• Contain more than 5 billions
devices
• 3.2 billion users (40%) home
network
• Medium: optical fiber, regional ISP
twisted pair, Wimax, 3G…
• Transport ~3x109 GB data
per day
• Services: Web, email, social
networks, …
institutional
network
43
Internet
• Network of networks
access access
network access network
network
. ..
Internet
access
network
44
Internet: network of networks
• Directly connect one network with all others?
access
… access
net
access
net …
net
access
access
net
… … net
access
access net
net
Not scalable:
…
…
Number of
…
access access
…
net net
access
connections O(n2)
net
access
net
access
net
access
…
… net
access access …
net access net
net
45
Internet: Network of networks(2)
• Connect each access network to a relay stations of a
global ISP
access
… access
net
access
net …
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
46
Internet: Network of networks(3)
• Add more ISP...
access
IXP access
net
net
ISP A
…
…
access IXP access
net ISP B net
access
ISP C
net
access
net
access
net
Peer-to-peer
access
… net
access access …
net access net
net
47
Internet: Network of networks(4)
• Add regional networks...
access
… access
net
access
net …
net
access
access net
net
access
IXP access
net
net
ISP A
…
…
access IXP access
net ISP B net
access
ISP C
net
access
net
access
net regional net
access
… net
access access …
net access net
net
48
Transmission
models
Packet switching vs. Circuit switching
Connection oriented vs. Connectionless
49
Connecting hosts
Direct links model
50
Connecting hosts
Bus model
• Point-to-multipoint:
• Single communication medium is used for all hosts
broadcast communication
• Weakness: long physical link, few hosts can
communicate simultaneously
X
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
51
Connecting hosts
Switching model
G D
A
3
1
C 5 B
2
E F
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
4
School of Information and Communication Technology
52
Data switching network
53
Circuit switching
54
Circuit switching
55
Example of circuit switching : Public Switched
Telephone Network PSTN
56
End-to-end data transmission time in circuit
switching
A Sw1 Sw2 B
Setup
circuit
Transmit
data Information
time
Teardown
circuit
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
57
Weakness: case of idle chanel
Sw1 Sw2
Setup
Transmit Transfer
data Information
t
teardown
58
Weakness: case of small channel
Sw1 Sw2
Setup
Transmit data
Information
Teardown
59
Packet switching
60
Example of packet switching
61
Transmission time in packet switching
62
Bandwidth vs throughput
• Bandwidth - R
• In telecommunication: bandwidth= fmax - fmin
• In computer networks: Maximum amount of
data can be transmitted in a unit of time over
a link (bps – bit per second).
• Ex: optical fiber has bandwidth of 1000Mbps.
• Throughput: actual data transmission
speed (bits/sec)
63
Bottle neck
64
Delay
Transmission delay
A Propagation delay
C D
B
Processing delay
Queue delay
dprop = d/s 65
Delay
Transmission delay
A Propagation delay
C D
B
Processing delay
Queue delay
• RTT: = t3 – t0
A B
T = t0
T = t1
Processing time
T = t2 at B
T = t3
67
Connection oriented vs connectionless
communication
68
Summary
69
Next week…
Layering architecture
OSI reference model
IP, MAC address, port number
DNS service.
70
Lecture 2:
Basic concepts of computer
networks
Layer architecture
OSI & TCP/IP reference model
Addressing
Domain name and conversion/resolution
of domain name
71
Layer
architecture
72
Devide and conquer principle
73
Example
Compagny A Compagny B
Prepare idea of contract
Director Director
Natural language
74
Advantage of layering systems
75
Example of layers
Cassette
Sound system
All functionalities are put
Player on the same box
Speaker
When we want to upgrade:
Amplifier
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
Upgrade the whole box
76
Reference
models
OSI
TCP/IP
77
OSI - Open System Interconnection: 7 layers
78
The main functionality of each
layers
79
Models OSI and TCP/IP
In the TCP/IP model of the Internet, the
functionalities of 3 first layers are combined in a
single layer.
Application layer
Application
Presentation layer HTTP, FTP, SMTP…
Session layer
Transport layer TCP UDP
Network layer IP
Datalink layer Network Interface
Physical layer Physical
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
80
Layering model of the Internet
HTTP HTTP
TCP TCP
IP IP IP
81
Data Encapsulation
Packaging
Decoration
Put address
address address
82
Data Encapsulation
Protocol N-1
HN-1 Layer (N-1) Layer (N-1) HN-1
...
...
addr.
H2 ... Layer 2 Layer 2 H2 ...
Protocol N+1
Layer (N+1) (N+1) PDU
Service interface
Protocol N
Layer (N) (N) PDU HN
Service interface
Protocol N-1
addr.
Layer (N-1) (N-1) PDU HN HN-1
84
SAP: Service Access Point
Protocol 1
Client 1 Server 1
Client 2 Protocol 1 Server 2
Server 3 Protocol 1 Client 3
Application
SAP SAP
transport TCP/UDP
TCP/UDP TCP/UDP
protocol
Internet
SAP: is a conceptual location at which one OSI layer can request the services
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
• At sender
• Each layer add control information to the header of packet and
transfer to the lower layer.
• At receiver
• Each layer process packet according to the information of the header,
then remove the corresponding header and deliver the remaining data
to the upper layer.
Ex : HTTP header
Application Application
Data Data
TCP header TCP TCP
IP header IP IP
Physical Physical
Signal TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
Sende Receiver 86
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
Dữ liệu - payload
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
87
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
88
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
89
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
90
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
91
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
92
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
93
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
94
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
95
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
96
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
97
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
98
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
99
Protocol stack and encapsulation
FTP FTP
TCP TCP
IP IP IP IP
Dữ liệu - payload
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
100
Summary: Advantage of layering architecture
• Without layering:
• Any change in the system requires changing the whole
systems.
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
101
Unicast, Multicast, Broadcast protocols
102
Identification in the
Internet
MAC Address
IP Address
Port number
103
Identification
104
Identification
• Example of hierarchy
• Address
• 1 Dai Co Viet street, Hai Ba Trung district, Ha Noi Hanoi
• Telephone number
• +84-(4) 868-08-96 Hai Ba Trung
Dai Co Viet
So 1
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
105
Identification in the Internet and the relationship
between layers
106
Addressing in the Datalink layer
HEX
BIN
[Link]
00000000 00010001 00100100 01111001 10001110 10000010
107
Addressing in the Internet
• IP address
• Used in IP-Internet Protocol (network layer)
• Value depends on the networks. Each network
interface card should be assigned an IP address.
• Used for identifying a machine in an IP network,
example:
• [Link] (ipv4)
• [Link] (ipv6)
108
Addressing in transport layer
• Port number
• On each machine, there may be several applications
running.
• Applications of the same machine are distinguished by port
number.
• An application instance in the internet is identified by the IP
address of the host and port number on which it runs
• Similar to the address of a room in a building
• Buiding address: B1 Building, 1 Dai Co Viet, Ha Noi => similar
to IP address
• Room number 325 => Similar to port number
• E.g. HTTP runs on port 80, FTP runs on ports 20, 21 …
• [Link]
109
Addressing in Application layer
• Domain Name
(FQDN: Fully Qualified Domain Name)
• Domain name is the name given to a
computer or a network using alphabet and
numbers
• [Link]
• [Link]
110
Domain name space
.[Link]
[Link]
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
111
Domain name and IP address
[Link] [Link]
[Link]
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
[Link] 112
Conversion/resolution of address
User
Concept
Mechanism finding address IP from a domain name
and vice versa.
There is no mathematical formula for this conversion.
Domain name server (DNS)
Store the mapping of IP address and Domain name of
the same host in a database
Answer requests to resolve IP addresses or domain
names from users.
Widely used in the Internet
114
Example
User
(1)
[Link]
(2)
[Link]
DNS Web browser
(3)
[Link] (4) [Link]
Web server
115
Nslookup tools on Windows, Linux
• nslookup [Link]
• Conversion “name⇔ IP address”
C:\>nslookup [Link]
Server:
Address: [Link]
Non-authoritative answer:
Name: [Link]
Address: [Link]
C:\>
116
ARP Conversion of Mac and IP
addresses
32bit IP address
ARP RARP
117
Example: ARP table (on Windows)
MAC address
118
Summary
Layer architecture
Why layering
Model TCP/IP vs. Model OSI
Encapsulation, PDU. SAP
Addressing on Internet
Adress IP, MAC, domain name, port
Address conversion
119
Quizz
120