Documente Academic
Documente Profesional
Documente Cultură
Networks
©Brooks/Cole,
2003
OBJECTIVES
After reading this chapter, the reader should
be able to:
Understand the rationale for the existence of networks.
Distinguish between the three types of networks: LANs,
MANs, and WANs.
Understand the OSI model and TCP/IP.
List different connecting devices and the OSI layers in
which each device operates.
Understand client-server models.
©Brooks/Cole,
2003
6.1
NETWORKS,
LARGE AND SMALL
©Brooks/Cole,
2003
Computer networks
©Brooks/Cole,
2003
Model and protocol
©Brooks/Cole,
2003
6.2
OSI MODEL
©Brooks/Cole,
2003
Note:
©Brooks/Cole,
2003
Figure 6-1
©Brooks/Cole,
2003
Figure 6-2
Header
Header
Header Trailer
Seven layers of OSI model
Physical layer
Data-link layer
Network layer
Transport layer
Session layer
Presentation layer
Application layer
©Brooks/Cole,
2003
Physical layer
©Brooks/Cole,
2003
Data-link layer
©Brooks/Cole,
2003
Network layer
©Brooks/Cole,
2003
Transport layer
The transport layer is responsible for
source-to-destination delivery of the entire
message.
The transport layer is responsible for
breaking the entire message into several
packets and delivery them to the network
layer.
The transport layer is responsible for
ensuring that the whole message is
transmitted.
If packets arrive out of order, they must be
reorganized.
©Brooks/Cole,
2003
Session layer
©Brooks/Cole,
2003
Presentation layer
The presentation layer is concerned with
the syntax and semantics of the information
exchanged between two systems.
It deals with the fact that different systems
use different coding methods.
Compress (壓縮) and decompress (解壓縮) data
Encrypt (加密) and decrypt (解密) data
Most implementations do not use a
presentation layer today, their services are
usually included in other layer.
©Brooks/Cole,
2003
Application layer
©Brooks/Cole,
2003
6.3
CATEGORIES
OF
NETWORKS
©Brooks/Cole,
2003
Figure 6-3
Categories of networks
©Brooks/Cole,
2003
Figure 6-4
LANs
©Brooks/Cole,
2003
Local area network
Bus topology
When a station sends a frame to another
computer, all computer receiver the frame
and check its destination address.
Star topology
Hub (all, like a bus) v.s. switch (one)
Ring topology
When a computer needs to send a frame to
another computer, it sends it to its neighbor.
©Brooks/Cole,
2003
Figure 6-5
MAN
©Brooks/Cole,
2003
Figure 6-6
WAN
Wide area network
©Brooks/Cole,
2003
6.4
CONNECTING
DEVICES
©Brooks/Cole,
2003
Figure 6-7
Connecting devices
©Brooks/Cole,
2003
Figure 6-8
Repeater
©Brooks/Cole,
2003
Figure 6-9
Bridge
©Brooks/Cole,
2003
Bridges
©Brooks/Cole,
2003
Figure 6-10
©Brooks/Cole,
2003
Figure 6-11
Routers in an internet
©Brooks/Cole,
2003
Note:
©Brooks/Cole,
2003
Routers
©Brooks/Cole,
2003
Gateways
©Brooks/Cole,
2003
6.5
THE INTERNET
AND
TCP/IP
©Brooks/Cole,
2003
Protocols
Network layer
IP addresses in dotted-decimal notation
©Brooks/Cole,
2003
Figure 6-15
Application layer
Client-server model
©Brooks/Cole,
2003
Client-server model
©Brooks/Cole,
2003
Figure 6-16
FTP
©Brooks/Cole,
2003
FTP -- Client-server model
©Brooks/Cole,
2003
Figure 6-17
©Brooks/Cole,
2003
Figure 6-18
Email address
violet@ice.ntnu.edu.tw
©Brooks/Cole,
2003
Figure 6-19
HTTP
URL
http://www.ice.ntnu.edu.tw/~violet
ftp://140.122.77.121
©Brooks/Cole,
2003
WWW
©Brooks/Cole,
2003
Figure 6-21
Browser
©Brooks/Cole,
2003
Figure 6-22
Static documents
HTML: Hypertext Markup Language
Dynamic documents
CGI: Common Gateway Interface (Perl)
Active documents
Java language
©Brooks/Cole,
2003
Key terms
Active document Email
Application layer HTML
Bridge HTTP
Browser Internet
Bus topology Internet address
Client Internetwork
Client-server model Internet protocol (IP)
Computer network IP address
Connecting devices LAN
Data-link layer Lical login
Dotted-decimal notation MAN
Dynamic document Model
Network layer
©Brooks/Cole,
2003
Node Star topology
Node-to-node delivery Static document
OSI Switch
Physical address Synchronization point
Physical layer TELNET
Presentation layer Topology
Protocol Trailer
Remote login TCP
Repeater TCP/IP
Ring topology Transport layer
Router URL
Segment UDP
Server Web
Session layer WAN
SMTP WWW
Source-to-destination delivery
©Brooks/Cole,
2003