CMPE 150 - Winter 09: January 8, 2009 Y
CMPE 150 - Winter 09: January 8, 2009 Y
CMPE 150 - Winter 09: January 8, 2009 Y
Lecture 2
P.E. Mantey
CMPE 150 -- Introduction to
Computer Networks
Instructor: Patrick Mantey
mantey@soe.ucsc.edu
htt //
http://www.soe.ucsc.edu/~mantey/
d / t /
Office: Engr. 2 Room 595J
Office hours: Tuesday 3-5 PM
TA: Anselm Kia akia@soe.ucsc.edu
Web site: http://www.soe.ucsc.edu/classes/cmpe150/Winter09/
Text: Tannenbaum: Computer p Networks
(4th edition available in bookstore, etc. )
Syllabus
Assignment #1
Wireless Networks
Home Networks
Internetworks
Classification of Networks by
Transmission Technologies
Broadcast
Selection by addressing
Multicast
Point to Point
Point-to-Point
unicast
Classification of interconnected
processors by scale
Home Network Categories
Computers (desktop PC, PDA, shared peripherals
Entertainment (TV
(TV, DVD
DVD, VCR
VCR, camera,
camera stereo
stereo,
MP3)
Telecomm (telephone
(telephone, cell phone,
phone intercom,
intercom fax)
Appliances (furnace, air conditioner, oven, clothes
dryer pool pump,
dryer, pump lights,
lights microwave,
microwave refigerator..)
refigerator )
Telemetry (utility meter, burglar alarm,
babycam).
babycam)
Local Area Networks
A metropolitan
t lit area network
t kbbasedd on cable
bl TV
-- New alternative is WiMax IEEE 802.16
Wide Area Networks
terminals
Systems
Computer
Terminal
T i l
Remote sensor
Layered Architecture
Each layer offers a service
Details of how service is offered in
hidden
Each layer talks to the layer
immediatley above and the layer
below
protocol: communication rules
Key Elements of a Protocol
Syntax
Data formats
Signal levels
Semantics
Control information
E
Error h
handling
dli
Timing
Speed matching
Sequencing
Network Software
Protocol Hierarchies
Si different
Six diff types off service.
i
Service Primitives
The
e relationship
e at o s p bet
between
ee a se
service
ce a
and
dap
protocol.
otoco
Simplified File Transfer
Architecture
Stallings Chapter 1
A Three Layer Model
Application Layer
Transport Layer
Network Access Layer
Network Access Layer
Exchange of data between the
computer and the network
Sending computer provides address of
destination
May invoke levels of service
Dependent
d on type off networkk used
d
(LAN, packet switched etc.)
Transport Layer
Reliable data exchange
Independent of network being used
Independent of application
Application Layer
Support for different user applications
e g e-mail
e.g. e-mail, file transfer
Addressing Requirements
Two levels of addressing required
Each computer needs unique network
address
Each application on a (multi-tasking)
(multi tasking)
computer needs a unique address
within the computer
The service access point or SAP
Protocol Architectures and
Networks
Stallings Chapter 1
Protocols in Simplified
Architecture
Stallings Chapter 1
Protocol Data Units (PDU)
At each layer, protocols are used to communicate
Control information is added to user data at each layer
Transport layer may fragment user data
E h fragment
Each f th
has a ttransportt h
header
d added
dd d
Destination SAP
Sequence number
Stallings Chapter 1
OSI Model
Open Systems Interconnection
Developed by the International
Organization for Standardization (ISO)
Seven layers
A theoretical system delivered too late!
TCP/IP is the de facto standard
OSI Layers
Application
Presentation
Session
Transport
Network
Data Link
Physical
OSI vs TCP/IP (From Stallings, Ch. 1)
Internet Layering
Level 5 -- Application Layer
(rlogin, ftp, SMTP, POP3, IMAP, HTTP..)
Level 4 -- Transport Layer(a.k.a Host-to-Host)
(TCP, UDP, ARP, ICMP, etc.)
Level 3 -- Network Layer (a.k.a.
(a k a Internet) (IP)
Level 2 -- (Data) Link Layer / MAC sub-layer
(a.k.a.
(a k a Network Interface or
Network Access Layer)
Level 1 -- Physical Layer