Lecture 2 - Network Models
Lecture 2 - Network Models
Network Models
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.1
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
2.5
Figure 2.3 The interaction between layers in the OSI model
2.6
Figure 2.2 Seven layers of the OSI model
“Please Do Not Throw Salami Pizza Away”
2.7
Figure 2.4 An exchange using the OSI model
2.8
2-3 LAYERS IN THE OSI MODEL
2.9
Figure 2.5 Physical layer
2.10
Note
2.11
Figure 2.6 Data link layer Done 31/1/2022
2.12
Note
2.13
Hop-to-hop (node-to-node) delivery at data link layer
As the figure 2.7 shows, communication at the data link layer occurs between two
adjacent nodes.
- First, the data link layer at A sends a frame to the data link layer at B (a router).
- Second, the data link layer at B sends a new frame to the data link layer at E.
- Finally, the data link layer at E sends a new frame to the data link layer at F.
2.14
Figure 2.7 Hop-to-hop delivery
2.15
Network layer
If two systems are connected to the same link, there is usually no need for a
network layer. However, if the two systems are attached to different networks
(links) with connecting devices between the networks (links), there is often a
need for the network layer to accomplish source-to-destination delivery.
2.16
Figure 2.8 Network layer
2.17
Note
2.18
Figure 2.9 Source-to-destination delivery
2.19
Transport layer
The transport layer, on the other hand, ensures that the whole
message arrives intact and in order
2.20
Figure 2.10 Transport layer
2.21
Note
2.22
Figure 2.11 Reliable process-to-process delivery of a message
2.23
Figure 2.12 Session layer
2.24
Note
2.25
Figure 2.13 Presentation layer
2.26
Note
2.27
Application layer
2.28
Figure 2.14 Application layer
2.29
Note
2.30
Figure 2.15 Summary of layers
2.31
2-4 TCP/IP PROTOCOL SUITE
The layers in the TCP/IP protocol suite do not exactly match those in
the OSI model. The original TCP/IP protocol suite was defined as
having four layers: host-to-network, internet, transport, and
application. However, when TCP/IP is compared to OSI, we can say
that the TCP/IP protocol suite is made of five layers: physical, data
link, network, transport, and application.
Interface 7-6
Interface 6-5
Interface 5-4
Interface 4-3
Interface 3-2
Interface 2-1
2.33
1-34
2-5 ADDRESSING
2.35
Figure 2.17 Addresses in TCP/IP
2.36
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.37
Example 2.1
2.38
Figure 2.19 Physical addresses
2.39
Example 2.2
07:01:02:01:2C:4B
2.40
IP addresses
Every client, server and network device is assigned an IP address, and every
IP packet traversing an IP network contains a source IP address and a
destination IP address.
2.41
Port addresses
The IP address and the physical address are necessary for a quantity of data to
travel from a source to the destination host. However, arrival at the
destination host is not the final objective of data communications on the
Internet.
A system that sends nothing but data from one computer to another is not
complete. Today, computers are devices that can run multiple processes at the
same time. The end objective of Internet communication is a process
communicating with another process.
Port number is ranging from 1 to 65535 (port number 0 is reserved and can't
be used).
2.42
Example 2.4
2.43
Figure 2.21 Port addresses
2.44
Note
2.45
END
2.46