Chapter1
Chapter1
1
1.0 Technology Revolution
• 18th Century Mechanical systems
• 19th Century Steam Engine
• 20th Century Information
- gathering
- distribution
- processing
- creating
• 21st Century Networks
Human-to-Human, Machine-to-Machine
2
What is a Computer Network
◆ A set of communication elements connected by
communication links
router
workstatio
➭ Communication elements n
● Computers, printers, mobile phones, serve
r
… mobile
local ISP
● Routers, switches, ...
➭ Communication links
● optic fiber regional
● coaxial cable ISP
● twisted pair
● wireless (radio, microwave, satellite)
➭ Topologies
● Ring, Star, Bus, Tree, Mesh
compa
ny 3
networ
What is a Computer
Network
◆ A software/hardware infrastructure
➭ Share resources
● data, files, computing power, video,…
➭ Information highway
● communication between geographically dispersed
users
➭ Electronic Society
● Cyberspace
● Virtual global nation
4
Introduction
Computer Network
– an interconnected collection of autonomous computers
Internet: “network of networks”
– loosely hierarchical
– public Internet versus private intranet
WWW a distributed systems run on the top of Internet
Distributed System
– High degree of cohesiveness and transparency
– A software system built on top of a network
5
1.1 Uses of Computer
Networks
• Business Applications
• Home Applications
• Mobile Users
• Social Issues
6
Business Applications of Networks
a. Resource sharing (hardware, software, information, …)
b. Providing communication medium (e-mail,
videoconferenceing)
c. Doing business electronically (B2B, B2C, e-commerce)
10
Networks for People
– Access to remote information
• e.g.: financial, shopping, customized newspapers,
on-line digital library, WWW
– Person-to-person communication
• email, video conference, newsgroup
– Interactive entertainment
• VOD, interactive movies or TVs,
game playing
11
Home Network Applications
(2)
Music sharing
Some forms of e-
commerce.
13
Mobile Network Users
Wireless Mobile Applications
15
Network Hardware
16
Network Hardware
17
Network Hardware
– Broadcast networks
• single communication channel shared by
all machines
• broadcasting or multicasting (via packets)
– broadcasting: a special code in address field
– multicasting: reserve one bit to indicate multicasting, the
remaining n-1address bits can hold a group number.
Each machine can subscribe to any groups
• used by localized networks (or satellites)
– point-to-point networks
• many hops
• routing algorithms: multiple routes are possible
• used by large networks
18
Network Hardware
Bluetooth PAN
configuration 20
Local Area Networks
29
Subnet (WANs)
Subnet (WANs) is consists of two components:
– transmission lines (circuits, channels, trunks)
• move bits between machines
– switching elements
• connect transmission lines
• Router: also called packet switching nodes,
intermediate systems, and data switching exchanges
• Operate in store-and-forward, or packet-
switched mode.
30
Wide Area Networks (2)
32
Network Software
Protocol Hierarchies
– a series of layers (levels)
– lower layer provides service to higher layers
– protocol:
• an agreement between the communication parties on
how communication is to proceed
– Peers:
• the corresponding layers on different machines.
Peer
Physical
Communication
The philosopher-translator-secretary
architecture. 36
Protocol Hierarchies
Message segmentation Encapsulation
circuits
Connection-Oriented and Connectionless
Services
Movie
download
Voice over IP
Text
messaging
·A service is a set of primitives that a layer provides to the layer above it.
·A protocol is a set of rules governing the format and meaning of the
packets which are exchanged by the peer entities in the same layer.
Services related to the interfaces between layers;
Protocols related to the packets sent between peer entities on
different machine. Service Users
Service
Providers
44
The relationship between a service and a
Reference Models
• OSI reference model
• TCP/IP reference model
• Model used for this text
• Comparison of OSI and TCP/IP
• Critique of OSI model and
protocols
• Critique of the TCP/IP model
46
The design principle of the OSI
reference model
• A layer should be created where a
different abstraction is needed
• Each layer should perform a well
defined function
• The function of each layer can be chosen
as an international standard
• The layer boundaries should be chosen to
minimize the information flow across the
interfaces
• The number of layers should be not too large
or not too small (optimum)
47
Reference Models
The OSI
referenc
e
model.
4
7
The functions of the seven layers
• The physical layer is concerned with transmitting raw bits over
a communication channel
• The data link layer performs flow control and also transforms a
raw
transmission facility into a line that appears error free (ARQ)
• The network layer controls the operation of the subnet, e.g.
routing, flow control, internetworking,…
• The transport layer performs assembling and disassembling,
isolates the upper layers from the changes in the network
hardware, and determines the type of services
• The session layer establishes sessions (dialog control, …)
• The presentation layer is concerned with the syntax and semantics
• The application layer contains a variety of commonly used
protocols (e.g. Hyper Text Transfer Protocol for WWW, file
transfer, e-mail, network news,…) 49
The TCP/IP Reference Models Layers
• Link layer
• Internet layer
• Transport
layer
• Application
layer
50
The TCP/IP Reference Model (1)
54
A Critique of the OSI Model and Protocols
55
Bad Timing
investment
opportunity
right time
new
to make
discovery
57
Bad Implementations
• Huge, Unwieldy, and Slow
Bad Politics
• Bureaucrats involved too much (European
telecommunication ministries, community, US
government)
58
A Critique of the TCP/IP Reference Model
Problems:
• Service, interface, and protocol not distinguished
• Not a general model
• Host-to-network “layer” not really a layer (is an interface)
• No mention of physical and data link layers
• Minor protocols deeply entrenched, hard to replace
(The virtual terminal protocol, TELNET, was designed
for mechanical teletype terminal)
59
Hybrid Model
61
The ARPANET
63
The ARPANET (2)
67
Architecture of the Internet
Multipath
fading 74
Wireless LANs (2)
A multicell 802.11
network.
76
Network Standardization
77
Standard Organizations
◆ Telecommunication
➭ International Telecommunication Union (ITU)
● Telecommunications Standardization Sector (ITU-T)
◆ International Standard
➭ International Standards Organization (ISO)
● ANSI (USA), ETSI (Europe)
● BSI (Great Britain)
● AFNOR(France)
➭ IEEE
◆ Internet Standard
➭ Internet Activities Board (IAB, 1983)
➭ Internet Research Task Force (IRTF)
➭ Internet Engineering Task Force (IETF)
➭ Request for Comments (RFC)
● http://cache2.cis.nctu.edu.tw/Documents/rfc/
● ftp://ftp.merit.edu/internet/documents/rfc/
➭ Internet Draft Standard
➭ Internet Standard
78
ITU
• Main sectors
• Radiocommunications
• Telecommunications Standardization
• Development
• Classes of Members
• National governments
• Sector members
• Associate members
• Regulatory agencies
79
Network Standardization
80
Who’s Who in International Standards
(1)
(WiFi
)
83
History of Taiwan’s Network
◆ TANET
➭ 1991/12: 64Kbps
➭ 1992/12: 256Kbps
➭ 1994/10: 512Kbps
➭ 1995/12: T1
➭ 1997/5: T3
➭ Current Status:
● T3 to USA by the end of 1998 (Policy routing enforced)
● T3 backbone around the island
● Add a T3 from MOE to CCU
● Internet II (1999/6)
84