Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Shailendra Tiwari
2.1
LAYERED TASK
2 LAYERED TASKS
2.2
2-1 LAYERED TASKS
2.5
2-2 THE OSI MODEL
2.6
2-2 THE OSI MODEL
Advantages of Layering
Easier application development
Network can change without all programs being
modified
Breaks complex tasks into subtasks
Each layer handles a specific subset of tasks
Communication occurs
between different layers on the same node or stack
(INTERFACES) – vertical communications
between similar layers on different nodes or stacks
(PEER-TO-PEER PROCESSES) – horizontal
2.7 communications
Figure 2.3 The interaction between layers in the OSI model
User
support
layers
Network
support
layers
2.8
Figure :
2.9
Figure 2.4 An exchange using the OSI model
2.10
2-3 LAYERS IN THE OSI MODEL
2.11
Function of The Physical layer
2.12
Figure 2.6 Data link layer
2.13
Function of The Data link layer
Framing
Physical addressing
Flow control
Error control
Access control
2.14
Figure 2.7 Hop-to-hop delivery
2.15
Figure 2.8 Network layer
2.16
Function of The Network layer
Logical addressing
Routing
2.17
Figure 2.9 Source-to-destination delivery
2.18
Figure 2.10 Transport layer
2.19
Function of The Transport layer
2.20
Figure 2.11 Reliable process-to-process delivery of a message
2.21
Figure 2.12 Session layer
2.22
Function of The Session layer
Dialog control
Synchronization
2.23
Figure 2.13 Presentation layer
2.24
Function of The Presentation layer
Translation
Encryption
Compression
2.25
2.26
Figure 2.14 Application layer
2.27
Function of The Application layer
2.28
Figure 2.15 Summary of layers
2.29
Comparison of the OSI & TCP
reference Models
The OSI has seven layers while TCP/IP has five layers.
The OSI supports both connectionless and connection-
oriented communication in the network layer but only
connection-oriented in the transport layer which is
visible to the user. TCP/IP supports only connectionless
services on the network layer but gives options in the
transport layer for both connectionless and connection-
oriented services. The later option is a very important
and useful factor.
Network layer Transport layer
2.30
Comparison of the OSI & TCP reference Models
The OSI reference model was devised before the protocols were
invented while The TCP/IP the reverse was true: the protocol came
first, and the model was really just a description of the existing
protocols.
Three concepts are central to the OSI model:
1.Services 2. Interfaces 3. Protocols
The service define what the layer does, not how entities above it
access it or how the layer works.
The Interface tells the process above it how to access it.
The Protocols used in the layer are the layer’s own business. It can
use any protocols it wants to , as long as it gets the job done. It can
also change them at will without affecting software in higher layers.
While The TCP/IP model did not originally clearly distinguish
between services, interfaces and protocols.
The protocols in the OSI model are better hidden than in the TCP/IP
model and can be replaced relatively easily as the technology
changes.
2.31
2-4 TCP/IP PROTOCOL SUITE
2.33
2-5 ADDRESSING
Four levels of addresses are used in an internet
employing the TCP/IP protocols: physical, logical, port,
and specific.
2.34
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.35
Figure 2.19 Physical addresses
07:01:02:01:2C:4B
2.37
Figure 2.20 IP addresses
2.38
Figure 2.21 Port addresses
Read k in place
of a
2.39