Professional Documents
Culture Documents
Example: Ethernet.
Why network?
Sharing resources
Resources become available regardless of the user’s physical
location (server based, peer2peer)
Load Sharing/utilization
Jobs processed on least crowed machine
Resource can be shared
High reliability
Alternative source of supply (multiple copies)
Sensor networks
Physical space is instrumented and connected
Detect presence of people in a room and set temperature
accordingly
Know exactly how many cars on Route 26
Disposable networks
One time use network
Disaster recovery, smart dust
Wide variety of types of networks
Circuit switched
dedicated circuit per call
performance (guaranteed)
call setup required
telephone system
Packet switched:
data sent thru net in discrete “chunks”
user A, B packets share network resources
resources used as needed
store and forward: packets move one hop at a time
The Internet (TCP/IP)
Network Protocols
What’s a protocol?
a human protocol and a
computer network protocol:
TCP connection
Hi req.
TCP connection
Hi reply.
Got the
Get http://gaia.cs.umass.edu/index.htm
time?
<file>
2:00
time
protocols define format, order of msgs sent and received among
network entities, and actions taken on msg transmission, receipt
Protocol Stack: ISO OSI Model
Data
Header
encapsulation
Application AH Data
and stripping
Presentation PH AH Data
Session SH PH AH Data
Transport TH SH PH AH Data
Network NH TH SH PH AH Data
Physical DH DH NH TH SH PH AH Data DT
Host Host
Application Protocol
Application Application
Presentation Protocol
Presentation Presentation
Session Protocol
Session Session
Transport Protocol
Transport Transport
Network Network Network
Data link Data link Data link
interface
Physical Physical Physical
Router
Why layering?
Divide a task into pieces and then solve each piece independently (or
nearly so).
Major Advantages:
Code Reuse
Eases maintenance, updating of system
Programs & Processes
A program is an executable file.