Download Exploring OSI Model & TCP/IP: Network Layers & Addressing and more Study notes Computer Networks in PDF only on Docsity!
2.
Chapter 2
Network Models
n Computer Networks n Al-Mustansiryah University n Elec. Eng. Department College of Engineering Fourth Year Class
2-1 LAYERED TASKS
We use the concept of layers in our daily life. As an
example, let us consider two friends who communicate
through postal mail. The process of sending a letter to a
friend would be complex if there were no services
available from the post office.
2.
Figure 2.1 Tasks involved in sending a letter
2-2 THE OSI MODEL
The International Standards Organization (ISO) is a
multinational body dedicated to worldwide agreement. An
ISO standard that coven international standards all
aspects of network communications is the Open
Systems Interconnection (OSI) model. It was first
introduced in the late 1970s.
ISO is the organization. OSI is the model.
2.
Figure 2.3 The interaction between layers in the OSI model
Figure 2.4 An exchange using the OSI model
2.
- At the higher layers, communication must move down through the layers on device A, over to device B.
- Each layer in the sending device adds its own information to the message it receives from the layer just above it and passes the whole package to the layer just below it.
- At the receiving machine, the message is unwrapped layer by layer, with each process receiving and removing the data meant for it.
- For example, layer 2 removes the data meant for it, then passes the rest to layer 3. Layer 3 then removes the data meant for it and passes the rest to layer 4, and so on -Each interface defines the information and services a layer must provide for the layer above it.
Peer-to-Peer Processes
2-3 LAYERS IN THE OSI MODEL
In this section we briefly describe the functions of each
layer in the OSI model.
Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer
OSI Layers:
2.
Figure 2.13 Presentation layer
- The presentation layer is responsible for translation, compression, Code Formatting and encryption.
- PDU - Formatted Data
Note
The Presentation layer is also concerned with the following
- Translation.
- Encryption.
- Compression.
2.
Figure 2.12 Session layer
- The session layer is responsible for dialog control and synchronization.
- PDU - Formatted Data
Note
The Session layer is also concerned with the following
- Dialog control.
- Synchronization.
2.
Figure 2.11 Reliable process-to-process delivery of a message
Figure 2.8 Network layer
2.
- The network layer is responsible for the delivery of individual packets from the source host to the destination host.
- PDU โ Packets
Note
The Network layer is also concerned with the following
- Logical addressing.
- Routing.
Figure 2.9 Source-to-destination delivery
2.
Figure 2.7 Hop-to-hop delivery
Figure 2.5 Physical layer
2.
-The physical layer is responsible for movements of individual bits from one hop (node) to the next.
The physical layer is also concerned with the following
- Physical characteristics of interfaces and medium.
- Representation of bits.
- Data rate.
- Synchronization of bits.
- Line configuration.
- Physical topology. 7)Transmission mode.
Figure 2.15 Summary of layers
2.
- The destination device receives series of bits and interprets them as a Frame.
- It removes MAC addresses and the CRC, and passes the data up to the Network layer.
- IP addresses are removed and the Packet is forwarded up to the Transport layer.
- The Port number is looked at and the Segment gets forwarded up the to the appropriate application specified by the Port number.
- The Session ID is used.
- Encryption will be removed.
- The data in its original form is presented to the application that needs to interpret it.
Decapsulation at the Destination Device
2-4 TCP/IP PROTOCOL SUITE
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.
Physical and Data Link Layers Network Layer Transport Layer Application Layer
Topics discussed in this section:
2.
Figure 2.16 TCP/IP and OSI model
2-5 ADDRESSING
Four levels of addresses are used in an internet employing
the TCP/IP protocols: physical, logical, port, and specific.
2.
An example of a MAC-48 address would be "00-08-74-4C-7F-1D". If you cross-reference the first three octets with IEEE's OUI assignments, you can see that this MAC address came from Dell Computer Corp. The last three octets represent the serial number assigned to the adapter by the manufacturer
Physical address (MAC address):
Logical address (IP):
- An IP address of the system is called logical address.
- This address is used by network layer to identify a particular network (source to destination) among the networks.
- This address can be changed by changing the host position on the network. So it is called logical address.
2.
Port Address:
ยง There are many application running on the computer. ยง Each application run with a port no.(logically) on the computer.
Specific Address:
- User-friendly addresses
- Examples include the e-mail address (for example, [email protected]) defines the recipient of an e-mail