OSI Reference Model
OSI Reference Model
OSI
reference model is now considered as a primary standard for internetworking and
inter computing.In the OSI model the network/data communication is defined into
seven layers. The seven layers can be grouped into three groups -
Network, Transport and Application.
1. Layer 1, 2 and 3 i.e. physical, data link, and network are network support layers.
2. Layer 4, Transport layer provides end to end reliable data transmission.
3. Layer 5, 6 and 7 i.e. Session, Presentation, and Application layer are user support
layers.
It is important to note that OSI model is just a model. It is not a protocol that can be
installed or run on any system.
To remember the names of seven layers in order one cornmon mnemonic used is -
"All People Seem to Need Data Processing".
The last three layers are mainly concerned with the organization of terminal software
and are not directly the concern of communications engineers. The transport layer is
the one which links the communication processes to this software-oriented protocol.
The application layer is the layer at which user communicate with application
program. This layer provides network services to the end users like
ftp,mail,telnet,DNS. When you download or send emails, your e-mail program
contacts this layer. This layer provides network services to the end-users like Mail,
ftp, telnet, DNS. Application layer act as interface b/w actual application programs.
.
Layer 6 – Presentation Layer
It presents data to the application layer and is responsible for data translation. By
providing data translation services , presentation layer ensure that data transferred
from the application layer of one system can be read by the application layer of other
system.
Dialog control: Dialog control is the function of session layer that determines
which device will communicate first and the amount of data that will be sent.
Session layer helps to keep different application’s data separate.
1. Connection oriented
2. Connectionless
(a) In this type of transmission the receiving device sends an acknowledgment, back
to the source after a packet or group of packet is received.
(b) This type of transmission is also known as reliable transport method.
(c) Because connection oriented transmission requires more packets be sent across
network, it is considered a slower transmission method.
(d) If the data that is sent has problems, the destination requests the source for
retransmission by acknowledging only packets that have been received and are
recognizable.
(e) Once the destination computer receives all of the data necessary to reassemble
the packet, the transport layer assembles the data in the correct sequence and then
passes it up, to the session layer.
2. Connectionless Transmission
(a) In this type of transmission the receiver does not acknowledge receipt of a packet.
(c) This approach allows for much faster communication between devices.
Flow control: Like Data link layer, transport layer also performs flow control.
Transport layer makes sure that the sender and receiver communicate at a rate they
both can handle. Therefore flow control prevents the source from sending data
packets faster than the destination can handle. Here, flow control is performed end-
to-end rather than across a link.
Error control: Like Data link layer, Transport layer also performs error control.
Here error control is performed end-to-end rather than across a single link. The
sending transport layer ensures that the entire message arrives at the receiving
transport layer without error (damage, loss or duplication). Error correction is
achieved through retransmission.
Protocol: TCP : Segmentation of message into packet and reassembly of packets into
message
Note:
Windowing
Ideally, data throughput happens quickly and efficiently. And as you can imagine, it
would
be painfully slow if the transmitting machine had to actually wait for an
acknowledgment
after sending each and every segment! The quantity of data segments, measured in
bytes,
that the transmitting machine is allowed to send without receiving an
acknowledgment is
called a window.
Internetworking
Logical Addressing
Routing
• The network layer protocols determine which route or path is best from source
to destination. This function of network layer is known as routing.
Packetizing
• The network layer receives the data from the upper layers and creates its own
packets by encapsulating these packets. The process is known as packetizing.
• This packetizing in done by Internet Protocol (IP) that defines its own packet
format.
Fragmentation
• The maximum size for a transportable packet in defined by physical layer protocol.
• For this, network layer divides the large packets into fragments so that they can be
easily sent on the physical medium.
•
Protocols: These protocols work on the network layer IP, ICMP, eigrp, IPX and
OSPF.
The data link layer provides error-free transfer of data frames from one node to
another over the physical layer.
Data Link layer consists of two sub-layers
At the MAC sublayer of Data link layer, the actual physical address of the device,
called the MAC address is added to the packet. Such a packet is called a Frame that
contains all the addressing information necessary to travel from source device to
destination device.
MAC address is the 12 digit hexadecimal number unique to every computer in this
world. A device's MAC address is located on its Network Interface Card (NIC). In
these 12 digits of MAC address, the first six digits indicate the NIC manufacturer
and the last six digits are unique. For example, 32-14-a6-42-71-0c is the 12 digit
hexadecimal MAC address. Thus MAC address represents the physical address of a
device in the network.
Functions of Data Link Layer: (FEFA)
Physical addressing: After creating frames, Data link layer adds physical
addresses (MAC address) of sender and/or receiver in the header of each frame.
Flow control:. If the rate at which data is absorbed by receiver is less that the rate
produced in the sender, the data link layer imposes this flow control mechanism.
Flow control mechanism alow the sender and receiver to communicate at equal
speed. ,i.e., rate at which sender sends the frane shouls be same as rate at which
receiver receive.
Error control: Data link layer provides the mechanism of error control in which it
detects and retransmits damaged· or lost frames. It also deals with the problem of
duplicate frame, thus providing reliability to physical layer.
Feedback: After transmitting the frames, the system waits for the feedback. The
receiving device then sends the acknowledgement frames back to the source
providing the receipt of the frames.
Bit synchronization: The physical layer provides the synchronization of the bits
by providing a clock. This clock controls both transmitter as well as receiver thus
providing synchronization at bit level.
Bit rate control: Physical layer defines the transmission rate i.e. the number of bits
sent in one second. Therefore it defines the duration of a bit.
Line configuration: Physical layer also defines the way in which the devices are
connected to the medium. Two different line configurations are used point to point
configuration and multipoint configuration. To activate, maintain and deactivate the
physical connection.
Transmission mode: Physical layer also defines the way in which the data flows
between the two connected devices. The various transmission modes possible are:
Simplex, half-duplex and full-duplex.
Physical topologies: Physical layer specifies the way in which the different,
devices/nodes are arranged in a networki.e. bus, star or mesh.
Circuit switching: Physical layer also provides the circuit switching to interconnect
different networks.
Protocols used at physical layer are ISDN, IEEE 802 and IEEE 802.2.