Professional Documents
Culture Documents
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
ISO/OSI Seven-Layer
Protocol Reference Model
Physical layer
Transport layer
Session layer
Presentation layer
Application layer
VG 4
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
User
Space
Layer
7
Application
Application
protocol
Presentation
Presentation
protocol
Presentation
PPDU
Session
Session protocol
Session
SPDU
Transport
TPDU
Network
Packe
t
Interface
6
Interface
Kernel5
(OS)
Name of unit
exchanged
Application
APDU
Transport
Network
Transport
protocol
Communication subnet
boundary
Network
Network
Data link
Data link
Data link
Data link
Frame
Physical
Physical
Physical
Physical
Bit
Host A
Router
Router
Host B
Network
Interface
2
Card
(NIC)
1
Physical Layer
To transmit raw bits over a communication
channel
Design issues
mechanical, electrical, and procedural
interfaces and physical transmission medium
PC
VG 6
RS-232
Modem
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Network
Node
(router)
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Network Layer
To control the operation of the
subnet/interconnection of networks
Host-to-host
Design issues
routing, addressing, congestion control,
accounting
Host
A1
subnet_A
VG 8
subnet_B
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Host
B1
YLS Fall 2014
Transport Layer
To control and manage messages exchange
between communicating processes on
machines
Process-to-prcess
Design issues
reliability, connecting services, efficiency,
naming, flow control
Host
A1
subnet_A
VG 9
subnet_B
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Host
B1
YLS Fall 2014
Session Layer
To allow users on different machines to
establish sessions between them.
Design issues
dialogue control, token management,
synchronization
VG 10
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Presentation Layer
To manage the syntax and semantics (i.e.
representation) of the information transmitted
Design issues
abstract data types, encoding/decoding
schemes, data compression, data
encryption (security)
VG 11
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Application Layer
To support application specific
functions for information transfer
It contains a variety of protocols, e.g.,
telnet, ftp, e-mail, etc.
VG 12
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Layer
n+1
ICI
SDU
SAP
Interface
Layer n
ICI
Layer n entities
exchange n-PDUs
in their layer n
protocol
SDU
SDU
Header
VG 13
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
n-PDU
YLS Fall 2014
Receiving
process
Sending
process
Data
Application
layer
Presentation
layer
Session
layer
Transport
layer
Network
layer
Data link
layer
Physical
layer
Application protocol
AH
PH
Presentation protocol
SH
Session protocol
Network
protocol
NH
DH
Data
layer
Presentation
Data
layer
Session
Data
TH
Transport protocol
Application
layer
Transport
Data
layer
Network
Data
Data
Data
DT
layer
Data link
layer
Physical
layer
VG 14
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Host 2
Layer 5 protocol
Layer 5
Layer 4
Layer 4 protocol
Layer 4
Layer 3 protocol
Layer 3
Layer 2 protocol
Layer 2
Layer 1 protocol
Layer 1
Layer 5
Layer 4/5 interface
Physical medium
VG 15
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
OSI
Application
Presentation
Session
Transport
Transport
Network
Internet
Data link
Physical
Host-tonetwork
VG 16
Application
Not present
in the model
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Application layer
Transport layer
Network layer
2
1
VG 17
Physical layer
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Core Router
ISDN
Access Router
wireless
mobile
dial-up
Edge Router
Access
Network
Backbone
Network
Back
VG 18
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Technology Advances/Evolution
Application
layer
IP
ATM
Layered structure,
All-layer, vs.
Layerless
Poor performance
Duplicate functions
SONET
Dark fiber
VG 20
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Terminology
Services
A service is a set of primitives (operations) that
a layer provides to the layer above it.
Services are defined as part of a layer
interface specification
Protocols
A protocol is a set of rules that governs the
format and meaning of information exchanged
by the peer entities within a layer
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Communication Services
Connection-Oriented Services
Three phases
connection establishment, data transfer and
connection teardown
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Connection-Oriented and
Datagram Services
May be provided at the Link Layer, Network
Layer, Transport Layer and above.
Service characteristics
reliability - correctness and no data lost
examples
file transfer
electronic mail
voice
video
VG 23
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Network Standards
Scope
architecture, services, interfaces, protocols,
etc.
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
de jure standards
formal, legal standards adopted by some authorized
standardization body
examples: International Telecommunication Union (ITU)
(formal CCITT), ISO, IEEE, ANSI, POSIX, etc.
VG 25
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
International Standardization
Authorities
Two classes
established by treaty among nations
e.g., ITU
established by voluntary, nontreaty organizations
e.g., ISO
Mobile communications
Video communications (Cable TV)
VG 26
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
Internetworking Devices
Repeaters
To connect two networks at the Physical Layer
To forward bits from one network to another
Bridges
To connect two networks at the Data Link Layer (or
Medium Access Control Layer)
To selectively forward data link layer frames (protocol data
units).
Transparent bridge plug-and-play, self learning
network configuration
Routers
Copyright 2014 Yeali S. Sun. All rights reserved. No part of this document
may be reproduced, stored in a retrieval system, or transmitted in any form,
or by any means without the prior written permission of the author.
The end.
28