Professional Documents
Culture Documents
Network Models
2.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2-1 LAYERED TASKS
2.2
Figure 2.1 Tasks involved in sending a letter
2.3
2-2 THE OSI MODEL
2.4
Note
ISO is the organization.
OSI is the model.
2.5
Figure 2.2 Seven layers of the OSI model
2.6
Layered Architecture
2.7
Figure 2.3 The interaction between layers in the OSI model
2.8
• Interfaces Between Layers
• Data passes down through the layers of the sending device and back up
through the layers of the receiving device through interface between each
• Each interface defines the information and services a layer must provide
2.9
• Organization of the Layers
• The seven layers can be thought of as belonging to three subgroups:
• Layers 1,2, and 3 – physical, data link, and network – are the network
support layers.
• Layers 5,6, and 7 – session, presentation, and application – are user
support layers; they allow interoperability among unrelated software
systems.
• Layer 4, the transport layer, links the two groups and ensures that what
the lower layers have transmitted is in a form that the upper layers can
use.
• The upper OSI layers almost implemented in S/W; lowers layers are
combination of S/W and H/W except for the physical layer which is mostly
H/W.
2.10
• Encapsulation
2.11
Figure 2.4 An exchange using the OSI model
2.12
2-3 LAYERS IN THE OSI MODEL
2.13
Note
2.14
Figure 2.5 Physical layer
2.15
The physical layer is also concerned with the following:
o Data rate. The transmission rate-the number of bits sent each second-is
also defined by the physical layer .
2.16
The physical layer is also concerned with the following:
o Synchronization of bits. The sender and receiver not only must use the
same bit rate but also must be synchronized at the bit level. In other words, the
sender and the receiver clocks must be synchronized.
2.17
Note
2.18
Figure 2.6 Data link layer
2.19
Other responsibilities of the data link layer include the following:
• Framing. Framing is a function of the data link layer. The data link layer divides the
stream of bits received from the network layer into frames.
• Physical addressing. hcae fo redaeh eht ni reviecer ro/dna rednes fo )sserdda CAM(
.emarf
• Flow Control: teg yam atad eht esle sedis htob no tnatsnoc eb tsum etar atad ehT
.detpurroc
• Error control.semarf tsol ro degamad stimsnarter dna srorre stceteD :
• Access control. When two or more devices are connected to the same link, data link
layer protocols are necessary to determine which device has control over the link at
any given time
2.20
Note
2.21
Figure 2.8 Network layer
2.22
Network layer
Network layer works for the transmission of data from one host to the
other located in different networks. It also takes care of packet routing i.e.
selection of the shortest path to transmit the packet, from the number of
routes available. The sender & receiver’s IP address are placed in the
header by the network layer .
2.23
Network layer
2.24
Note
2.25
Figure 2.10 Transport layer
2.26
Transport layer
2.27
The functions of the transport layer are :
2.28
Note
2.29
Figure 2.12 Session layer
2.30
Session layer
2.31
Note
2.32
Figure 2.13 Presentation layer
2.33
Presentation layer
Presentation layer is also called the Translation layer.The data from the
application layer is extracted here and manipulated as per the required
format to transmit over the network .
2.34
Note
2.35
Responsibilities of application layer:
2.36
Figure 2.15 Summary of layers
2.37
2-4 TCP/IP PROTOCOL SUITE
2.38
Figure 2.16 TCP/IP and OSI model
2.39
1. Physical and Data Link Layers in TCP/IP model
• At the physical and data link layers, TCP/ IP does not define any
specific protocol.
• It supports all the standard and proprietary protocols.
• A network in a TCP/ IP internetwork can be a local-area network or
a wide-area network.
• Physical layer is responsible for carrying individual bits in a frame
across the link in the form of either electrical or optical signals.
• The logical unit between two physical layers in two devices is a bit.
2.40
Data Link Layer in TCP/IP model
• The main functions are almost the same as of that for OSI model.
• The logical unit between two data link layers in two devices is a
frame.
2.41
2. Network Layer in TCP/IP model
2.42
Internetworking Protocol (IP) – supporting protocols
2.43
Internetworking Protocol (IP) – supporting protocols
2.44
3. Transport layer in TCP/IP model
2.45
3. Transport layer in TCP/IP model
2.46
3. Transport layer in TCP/IP model
2.47
4. Application Layer in TCP/IP model
2.48
Figure 2.17 Summary of layers
2.49
2-5 ADDRESSING
2.50
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.51
1. physical address.
07:01:02:01:2C:4B
2.52
Example 1
2.53
2. Logical address (IP)
2.54
Example 2
2.55
Figure 2.20 IP addresses
2.56
3. Port Addresses
2.57
Example 3
2.58
Figure 2.21 port addresses
2.59
4. Specific Addresses
User-friendly addresses
- Examples include the e-mail address (for example, email.com)
defines the recipient of an e-mail
- URL addresses (edugate.bpc.edu.sa)
2.60