1OSI
1OSI
• 0n the Way: The letter is then on its way to the recipient's local
post.
• In addition, it may be transported by truck, train, airplane, boat,
or a combination of these.
✓ Physical layer
✓ Data link layer
✓ Network layer
✓ Transport layer
✓ Session layer
✓ Presentation layer
✓ Application layer
OSI Reference Model
OSI Reference Model
➢ The principles applied to arrive at the seven layer can
be briefly summarized as follows.
1. A Layer Should be created where a different level of
abstraction is needed.
2. Each Layer should perform well-defined function.
3. The function of each layer should be chosen towards
defining internationally standardized protocols.
4. The layer boundaries should be chosen to minimize
the information flow across the interfaces.
5. The number of layers should be large enough that
distinct functions need not to be thrown together in
the same layer out of necessity.
OSI Reference Model
➢Physical Layer
OSI Reference Model
❑ Data Rate
• The number of bits sent within one second is also defined by the
physical layer.
❑ Synchronization of bits
• The sender and receiver must use the same bit rate as well as the
their clocks must be synchronized.
❑ Line Configuration
• The physical layer concerns with the device connections whether
they are connected as per point-to-point of multipoint configuration.
❑ Physical Topology
• It also looks after how the devices are connected to form the
network.
❑ Transmission Mode
• It also defines the transmission modes for the communicating
devices.
OSI Reference Model
➢ Data Link Layer
The data link layer provides reliable transit of data across
a physical network link.
➢ Functions of Data Link Layer
❑ Framing
• The data link layer divides stream of bits received form
Network layer into manageable data units called as frames.
❑ Physical Addressing
• It defines how the devices are addressed in the
network.
❑ Flow Control
• The data link layer imposes a mechanism to moderate
the transmission of data so that the receiving device is
not overwhelmed with more traffic than it can handle
at one time.
OSI Reference Model
➢ Data Link Layer
OSI Reference Model
❑ Error Control
• The data link layer uses some mechanisms to detect and
retransmit the damaged or lost frames.
• Error control has been carried out by adding a trailer at the end
of the frame.
❑ Access Control
• The data link layer protocols are going to determine which
device has the control over the communication link at a
particular time if more than one device connected to a single
communication link.
➢ The Institute of Electrical and Electronics Engineers (IEEE)
has subdivided the data link layer into two sublayers:
✓ Logical Link Control(LLC)
✓ Media Access Control(MAC).
✓Logical Link Control(LLC)
➢Network Layer
OSI Reference Model
➢ Network Layer
It is responsible for source to destination delivery of the
packet.
It ensures that each packet gets from its point of origin to its
final destination.
host to host / source to destination address
➢ Functions of the Network Layer
❑ Logical addressing
If a packet passes the network boundary. We need another addressing
system to distinguish the source and destination systems.
The network layer adds a header to the packet coming from the upper
layer which includes logical addresses of the sender and receiver.
Logical (IP address (Network and Host address both it consist in
subnetwork in which devices it as to communicate further))
OSI Reference Model
❑ Routing
In a large network the routers are going to route the packets to
their final destination.
For routing of the packets from source to destination several
algorithms have been used.
Network layer uses router or bridges or switches or firewalls
But for bridges it uses only data and physical link but routers
uses all three network, data
and physical link layer in order decide the path to send the
packets to destination
Both source and destination should use same protocal to
communicate smoothly
OSI Reference Model
OSI Reference Model
OSI Reference Model
➢ In the above figure we want to send data from a node with
network address A and physical address 10, located on one
LAN, to a node with a network address P and physical address
95, located on another LAN.
➢ Because the two devices are located on different networks,
we cannot use physical addresses only.
➢ The physical addresses only have local jurisdiction. Here
we need universal addresses that can pass through the LAN
boundaries.
➢ The network (logical) addresses have this characteristic.
➢ The Logical Address is generated by the CPU while the
program is running and the Physical Address is the location
inside the main memory. The Logical Address is Virtual and the
Physical Address is the actual address of the memory.
OSI Reference Model
➢ Transport Layer
OSI Reference Model
➢ Transport Layer
• It is responsible for process-to-process delivery of the
complete message.
• It decides id data transmission should be parallel or
single path
• Multiplexing , Splitting on data are done
• Provides additional quality of service
• Converting message to smaller units
• Responsible for end to end delivery of complete message
➢Functions of the transport Layer
❑ Port Addressing
Computers run several processes at the same time.
The transport layer delivers the message from a specific
process on one computer to a specific process on another
computer.
Hence the transport layer includes a header which contains a
address called as service point address or port address.
OSI Reference Model
❑ Segmentation and Reassembly
The complete message at the source has been divided into
transmittable segments and the segments are assigned a
sequence number.
At the destination the transport layer reassembles the message
segments correctly using the sequence numbers.
❑Connection control
The transport layer can be either connection oriented or
connection less.
The connectionless transport layer treats each message segment
as independent unit and delivers at the destination.
The connection oriented transport layer delivers the message
packets after establishing a connection with the transport layer
at the destination.
OSI Reference Model
❑ Flow Control
The transport Layer is responsible for flow control.
Here Flow control is performed end to end.
❑ Error Control
Here the error control has been performed process-to-process.
The sending transport layer make sure that the entire message has
been arrived at the receiving transport layer without error.
Error correction has been done through retransmission.
OSI Reference Model
➢ Transport Layer
OSI Reference Model
OSI Reference Model
➢ The below figure shows an example of
transport layer communication.
➢ Data coming from the upper layers have port
addresses j and k (j is the address of the sending
process, and k is the address of the receiving
process).
➢ Since the data size is larger than the network
layer can handle, the data are split into two
packets.
➢ Each packet retains the port addresses (j and k).
➢ Then in the network layer, network addresses (A
and P) are added to each packet.
OSI Reference Model
➢ Session Layer
OSI Reference Model
➢It manages and synchronize the conversion
between two different application
➢It is responsible for establishment of connection
,maintenance of session , authentication and
also ensure the security
➢Functions of Session Layer
The session layer allows different users on
different machines to establish sessions between
them.
❑Dialog Control
It keeps track of whose turn it is to transmit. Which
device communicate first and the amount of data that is
sent .
❑ Token Management
It Prevents two parties from attempting the same
critical operation at the same time.
❑Synchronization
It adds check points for long data transmission to
allow them to continue from where they were after a
crash
OSI Reference Model
➢ Host-to-Network Layer
▪ The TCP/IP reference model does not define any
specific protocol.
➢Port Addresses
• Now-a-days computers can run multiple
processes at the same time.
• The objective of computer communication is a
process communicating with another process.
Addressing
➢ Special Addresses
• Some applications have user friendly addresses called
as specific addresses.
• For example the e-mail addresses and the Universal
Resource Locator (URL).
• These addresses are get changed to the corresponding
port and logical addresses by the sending Computer.
• Examples
• URL
– www.mhhe.com
– www.cmrtc.ac.in
E-mail
[email protected]
[email protected]
Examples of Networks
➢ ARPANET-Advanced Research Projects Agency Network
• The story begins in the late 1950s.
• The DoD wanted a command-and-control network that could
survive a nuclear war.
• At that time, all military communications used the public
telephone network, which was considered vulnerable.
• The reason for this belief can be gleaned from Fig(a).
• Here the 45 black dots represent telephone switching offices,
each of which was connected to thousands of telephones.
• These switching offices were, in turn, connected to higher-level
switching offices (toll offices), to form a national hierarchy with
only a small amount of redundancy.
• The vulnerability of the system was that the destruction of a few
key toll offices could fragment the system into many isolated
islands.
Examples of Networks
➢ARPANET
Growth of the ARPANET. (a) December 1969. (b) July 1970. (c) March
1971. (d) April 1972. (e) September 1972.