00 - Chapter - 2 - Network Models - MIJ - FF
00 - Chapter - 2 - Network Models - MIJ - FF
Network Models
Decapsulation
and
Encapsulation at
Encapsulation at the Source Host the Router Decapsulation at the Destination Host
Addressing
• Any communication that involves two parties needs two addresses: source address and destination
address.
• Although it looks as if we need five pairs of addresses, one pair per layer, we normally have only four
because the physical layer does not need addresses; the unit of data exchange at the physical layer is a
bit, which definitely cannot have an address.
• At the application layer, we normally use names such as someorg.com, or [email protected].
• At the transport layer, addresses are called port numbers, and these define the application-layer
programs at the source and destination.
• At the network-layer, IP address - the addresses are global, with the whole Internet as the scope.
• The data link-layer addresses, sometimes called MAC addresses, are locally defined addresses,
each of which defines a specific host or router in a network (LAN or WAN).
Multiplexing and Demultiplexing
• Since the TCP/IP protocol suite uses several protocols at some layers, we can say that we have
multiplexing at the source and demultiplexing at the destination.
• Multiplexing in this case means that a protocol at a layer can encapsulate a packet from several
next-higher layer protocols (one at a time)
• Demultiplexing means that a protocol can decapsulate and deliver a packet to several
next-higher layer protocols (one at a time).
• To be able to multiplex and demultiplex, a protocol needs to have a field in its header to
identify to which protocol the encapsulated packets belong.
• At the transport layer, either UDP or TCP can accept a message from several application-layer
protocols. At the network layer, IP can accept a segment from TCP or a user datagram from UDP.
IP can also accept a packet from other protocols such as ICMP, IGMP, and so on.
• At the data-link layer, a frame may carry the payload coming from IP or other protocols such as
ARP
The OSI Model
A
P
S
T
N
D
OSI versus TCP/IP
• When we compare the two models, we find that two layers, session and presentation, are missing
from the TCP/IP protocol suite.
• These two layers were not added to the TCP/IP protocol suite after the publication of the OSI
model.
• The application layer in the suite is usually considered to be the combination of three layers in the
OSI model
• Two reasons for not adding session and presentation layers
• First, TCP/IP has more than one
transport-layer protocol. Some of
the functionalities of the session
layer are available in some of the
transport-layer protocols.
• Second, the application layer is
not only one piece of software.
Many applications can be
developed at this layer. If some
of the functionalities mentioned
in the session and presentation
layers are needed for a particular
application, they can be included
in the development of that piece
of software.
Lack of OSI Model’s Success
• OSI was completed when TCP/IP was fully in place and a lot of time and
money had been spent on the suite; changing it would cost a lot.
• Some layers in the OSI model were never fully defined. For example,
although the services provided by the presentation and the session layers
were listed in the document, actual protocols for these two layers were not
fully defined, nor were they fully described, and the corresponding
software was not fully developed.
• When OSI was implemented by an organization in a different application,
it did not show a high enough level of performance to entice the Internet
authority to switch from the TCP/IP protocol suite to the OSI model
Key Terms
• Protocol Layers
• Advantages of Protocol Layers
• Principles of Protocol Layers
• Logical Connection
• TCP/IP Protocol Suite
• Layered Architecture
• Physical Layer
• Data Link Layer
• Network Layer
• Transport Layer
• Application Layer
• Encapsulation and Decapsulatioon
• Addressing
• Multiplexing and Demultiplexing
• The OSI Model
• Seven Layers of OSI Model
• OSI verses TCP/IP
• Lake of OSI Model
Class Assignment: C03
1. What are the protocol and protocol layering?
2. State the advantages of protocol layering.
3. State the principles of protocol layering.
4. Sketch and explain the TCP/IP protocol payers.
5. Sketch only the layered architecture.
6. What are through by physical layers?
7. Functions of data link layer (Terms used in this layer)
8. Functions of Network layer (Terms used in this layer)
9. Functions of Transport layer (Terms used in this layer)
10. Functions of Application layer (Terms used in this layer)
11. Explain encapsulation and decapsulation.
12. What are addressing? How many fairs of addressing are used?
13. Name the addressing in each layer.
14. Explain multiplexing and demultiplexing.
15. What are ISO, OSI? Mention the layers of OSI.
16. OSI versus TCP/IP.