CH 02
CH 02
2.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
LAYERED TASKS
2.2
Figure 2.1 Tasks involved in sending a letter
2.3
THE OSI MODEL
Layered Architecture
Peer-to-Peer Processes
Encapsulation
2.4
Figure 2.2 Seven layers of the OSI model
Each layer uses the services of layer just below it and provides to layer above it
2.5
Figure 2.3 The interaction between layers in the OSI model
The processes on each node that communicate at a given layer are peer-to-peer
2.6
Figure 2.4 An exchange using the OSI model
2.7
Physical layer
2.8
Figure 2.5 Physical layer
2.9
Data Link Layer
• The Data link layer is responsible for moving frames from one
hop (node) to the next and transforms PHY to a reliable link
defines:
• Framing
• Physical addressing
• Flow Control
• Error Control (trailor)
• Access Control (MAC sublayer)
2.10
Figure 2.6 Data link layer
2.11
Figure 2.7 Hop-to-hop delivery
2.12
Network Layer
2.13
Figure 2.8 Network layer
2.14
Figure 2.9 Source-to-destination delivery
2.15
Transport Layer
2.16
Figure 2.10 Transport layer
2.17
Figure 2.11 Reliable process-to-process delivery of a message
2.18
Session Layer
• The session layer allows two systems to enter into a dialog and
defines:
2.19
Figure 2.12 Session layer
2.20
Presentation Layer
• Encryption: privacy
• Compression: BW efficiency
2.21
Figure 2.13 Presentation layer
2.22
Application Layer
• e-mail
• logging to a remote host
• remote file access and file transfer
• example protocol: http basis for www
2.23
Figure 2.14 Application layer
2.24
Figure 2.15 Summary of layers
2.25
2-4 TCP/IP PROTOCOL SUITE
2.27
2-5 ADDRESSING
2.28
Figure 2.17 Addresses in TCP/IP
2.29
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.30
Example 2.1
2.31
Figure 2.19 Physical addresses
2.32
Example 2.2
07:01:02:01:2C:4B
2.33
Example 2.3
2.34
Figure 2.20 IP addresses
2.35
Example 2.4
2.36
Figure 2.21 Port addresses
2.37
Note
2.38
Example 2.5
753
2.39
Note
2.40