SlideShare a Scribd company logo
1 of 25
Network models
PROTOCOL LAYERING
• In data communication and networking, a protocol defines the rules that both the
sender and receiver and all intermediate devices need to follow to be able to
communicate effectively.
• Protocol layering enables us to divide a complex task into several smaller and
simpler tasks.
• A layer (module) can be defined as a black box with inputs and outputs, without
concern about how inputs are changed to outputs.
• Advantages:
• it allows us to separate the services from the implementation.
• We can use intermediate devices which are not powerful like end system to reduce the cost of
communication
Principles of Protocol Layering
1. If we want bidirectional communication, we need to make each
layer so that it is able to perform two opposite tasks, one in each
direction.
2. We need to follow in protocol layering is that the two objects under
each layer at both sites should be identical
Logical Connections
• Logical connections represents that we have layer-to-layer
communication.
• To better understand the duties of each layer, we need to think about
the logical connections between layers
OSI LAYERS
• An ISO standard that covers all aspects of network communications is
the Open Systems Interconnection (OSI) model.
• An open system is a set of protocols that allows any two different
systems to communicate regardless of their underlying architecture.
• The purpose of the OSI model is to show how to facilitate
communication between different systems without requiring changes
to the logic of the underlying hardware and software.
• The OSI model is not a protocol; it is a model for understanding and
designing a network architecture that is flexible, robust, and
interoperable.
Physical Layer
The physical layer coordinates the functions required to carry a bit stream over a physical medium. It
deals with the mechanical and electrical specifications of the interface and transmission media.
• The physical layer is also concerned with the following:
Physical characteristics of interfaces and media. The physical layer defines the characteristics of the
interface between the devices and the transmission media. It also defines the type of transmission media
Representation of bits. The physical layer data consists of a stream of bits (sequence of 0s or 1s) with no
interpretation.
The transmission rate—the number of bits sent each second—is also defined by the physical layer.
Synchronization of bits. The sender and receiver must not only use the same bit rate but must also be
synchronized at the bit level
• Line configuration. The physical layer is concerned with the
connection of devices to the media. In a point-to-point configuration,
two devices are connected together through a dedicated link. In a
multipoint configuration, a link is shared between several devices.
• Physical topology.
• Transmission mode.
Data Link Layer
• The data link layer transforms the physical layer, a raw transmission facility, to a reliable link. It makes the
physical layer appear error-free to the upper layer (network layer)
• Framing. The data link layer divides the stream of bits received from the network layer into manageable data
units called frames.
• Physical addressing. If frames are to be distributed to different systems on the network, the data link layer
adds a header to the frame to define the sender and/or receiver of the frame.
• Flow control. If the rate at which the data is absorbed by the receiver is less than the rate produced at the
sender, the data link layer imposes a flow control mechanism to prevent overwhelming the receiver.
• Error control. The data link layer adds reliability to the physical layer by adding mechanisms to detect and
retransmit damaged or lost frames.
• Access control. When two or more devices are connected to the same
link, data link layer protocols are necessary to determine which device
has control over the link at any given time.
Network Layer
• The network layer is responsible for the source-to-destination delivery of a
packet, possibly across multiple networks (links).
• Logical addressing. The physical addressing implemented by the data link
layer handles the addressing problem locally.
• Routing. When independent networks or links are connected together to
create internetworks (network of networks) or a large network, the
connecting devices (called routers or switches) route or switch the packets
to their final destination. One of the functions of the network layer is to
provide this mechanism.
Transport Layer
• The transport layer is responsible for process-to-process delivery of the entire
message. A process is an application program running on the host. Whereas the
network layer oversees source-to-destination delivery of individual packets, it
does not recognize any relationship between those packets
• Service-point addressing. Computers often run several programs at the same
time. For this reason, source-to-destination delivery means delivery not only from
one computer to the next but also from a specific process (running program) on
one computer to a specific process (running program) on the other.
• Segmentation. A message is divided into transmittable segments, with each
segment containing a sequence number.
• Connection control. The transport layer can be either connectionless or connection
oriented. A connectionless transport layer treats each segment as an independent packet
and delivers it to the transport layer at the destination machine.
• A connection oriented transport layer makes a connection with the transport layer at the
destination machine first before delivering the packets. After all the data are
transferred, the connection is terminated.
• Flow control. Like the data link layer, the transport layer is responsible for flow
control. However, flow control at this layer is performed end to end rather than across a
single link.
• Error control. Like the data link layer, the transport layer is responsible for error
control. However, error control at this layer is performed process-to-process rather than
across a single link
Session Layer
• The services provided by the first four layers (physical, data link, network
and transport) are not sufficient for some processes.
• The session layer is responsible for establishing, managing, synchronizing
and terminating sessions between end-user application
• Dialog control. The session layer allows two systems to enter into a dialog.
It allows the communication between two processes to take place in either
half duplex (one way at a time) or full-duplex (two ways at a time) mode.
• Synchronization. The session layer allows a process to add checkpoints
(synchronization points) into a stream of data
Presentation Layer
• The presentation layer is concerned with the syntax and semantics of the
information exchanged between two systems.
Specific responsibilities of the presentation layer include the following:
• Translation. The processes (running programs) in two systems are usually
exchanging information in the form of character strings, numbers, and so on.
• Encryption. To carry sensitive information a system must be able to assure
privacy. Encryption means that the sender transforms the original information to
another form and sends the resulting message out over the network. Decryption
reverses the original process to transform the message back to its original form.
• Compression. Data compression reduces the number of bits contained
in the information. Data compression becomes particularly important
in the transmission of multimedia such as text, audio, and video
Application Layer
• The application layer enables the user, whether human or software, to
access the network. It provides user interfaces and support for services such
as electronic mail, remote file access and transfer, shared database
management, and other types of distributed information services. Specific
services provided by the application layer include the following
• Network virtual terminal. A network virtual terminal is a software version
of a physical terminal and allows a user to log on to a remote host. To do so,
the application creates a software emulation of a terminal at the remote host.
• File transfer, access, and management (FTAM). This application
allows a user to access files in a remote host (to make changes or read
data), to retrieve files from a remote computer for use in the local
computer, and to manage or control files in a remote computer locally.
• E-mail services. This application provides the basis for e-mail forwarding
and storage.
• Directory services. This application provides distributed database
sources and access for global information about various objects and
services.
TCP/IP PROTOCOL SUITE
• we can introduce the TCP/IP (Transmission Control Protocol/Internet
Protocol). TCP/IP is a protocol suite (a set of protocols organized in
different layers) used in the Internet today. It is a hierarchical protocol
made up of interactive modules, each of which provides a specific
functionality.
• The term hierarchical means that each upper level protocol is supported
by the services provided by one or more lower level protocols
• The original TCP/IP protocol suite was defined as four software layers built
upon the hardware. Today, however, TCP/IP is thought of as a five-layer
model.
Layered Architecture
• To show how the layers in the TCP/IP protocol suite are involved in
communication between two hosts, we assume that we want to use the
suite in a small internet made up of three LANs (links), each with a link-
layer switch. We also assume that the links are connected by one router.
• Let us assume that computer A communicates with computer B.
As the figure shows, we have five communicating devices in
this communication: source host (computer A), the link-layer
switch in link 1, the router, the link-layer switch in link 2, and the
destination host (computer B).
• Each device is involved with a set of layers depending on the
role of the device in the internet
Differences between tcp/ip and osi layers
TCP refers to Transmission
Control Protocol.
OSI refers to Open Systems
Interconnection.
TCP/IP has 5 layers. OSI has 7 layers.
TCP/IP is more reliable OSI is less reliable
TCP/IP does not have very
strict boundaries.
OSI has strict boundaries
TCP/IP follow a horizontal
approach.
OSI follows a vertical
approach.
TCP/IP uses both session and
presentation layer in the
application layer itself.
OSI uses different session and
presentation layers.
TCP/IP developed protocols then
model.
OSI developed model then
protocol.
Transport layer in TCP/IP does
not provide assurance delivery
of packets.
In OSI model, transport layer
provides assurance delivery of
packets.
TCP/IP model network layer only
provides connection less
services.
Connection less and connection
oriented both services are
provided by network layer in OSI
model.
Protocols cannot be replaced
easily in TCP/IP model.
While in OSI model, Protocols
are better covered and is easy to
replace with the change in
technology

More Related Content

Similar to unit1 network model osi and tcpip.pptx

Overview of an OSI reference Model
Overview of an OSI reference ModelOverview of an OSI reference Model
Overview of an OSI reference ModelDarshan Bhatt
 
Pwani notes-Network Essentials.pp for Internet Protocoltx
Pwani notes-Network Essentials.pp  for Internet ProtocoltxPwani notes-Network Essentials.pp  for Internet Protocoltx
Pwani notes-Network Essentials.pp for Internet ProtocoltxMosesOkumu4
 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.pptssuserf7cd2b
 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.pptssuserf7cd2b
 
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)Tutun Juhana
 
ET3003-2 OSI-TCPIP (Semester II 2013-2014)
ET3003-2 OSI-TCPIP (Semester II 2013-2014)ET3003-2 OSI-TCPIP (Semester II 2013-2014)
ET3003-2 OSI-TCPIP (Semester II 2013-2014)Tutun Juhana
 
Open System interconnection OSI Model.pptx
Open System interconnection OSI Model.pptxOpen System interconnection OSI Model.pptx
Open System interconnection OSI Model.pptxMehakBhatia38
 
Chapter 2 computer network PPT CN-1.pptx
Chapter 2 computer network PPT CN-1.pptxChapter 2 computer network PPT CN-1.pptx
Chapter 2 computer network PPT CN-1.pptxManasaPM3
 
Network internet
Network internetNetwork internet
Network internetKumar
 
Networks internet
Networks internetNetworks internet
Networks internetKumar
 
Networking for MBA
Networking for MBANetworking for MBA
Networking for MBAKK Bajpai
 

Similar to unit1 network model osi and tcpip.pptx (20)

Overview of an OSI reference Model
Overview of an OSI reference ModelOverview of an OSI reference Model
Overview of an OSI reference Model
 
Dc2 t1
Dc2 t1Dc2 t1
Dc2 t1
 
OSI &TCP/IP Model
OSI &TCP/IP ModelOSI &TCP/IP Model
OSI &TCP/IP Model
 
Pwani notes-Network Essentials.pp for Internet Protocoltx
Pwani notes-Network Essentials.pp  for Internet ProtocoltxPwani notes-Network Essentials.pp  for Internet Protocoltx
Pwani notes-Network Essentials.pp for Internet Protocoltx
 
Osi model
Osi modelOsi model
Osi model
 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.ppt
 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.ppt
 
Osi layer model
Osi layer modelOsi layer model
Osi layer model
 
OSI MODEL
OSI MODEL OSI MODEL
OSI MODEL
 
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
 
ET3003-2 OSI-TCPIP (Semester II 2013-2014)
ET3003-2 OSI-TCPIP (Semester II 2013-2014)ET3003-2 OSI-TCPIP (Semester II 2013-2014)
ET3003-2 OSI-TCPIP (Semester II 2013-2014)
 
Open Systems Interconnection (OSI)
Open Systems Interconnection (OSI)Open Systems Interconnection (OSI)
Open Systems Interconnection (OSI)
 
Chap 2 network models
Chap 2 network modelsChap 2 network models
Chap 2 network models
 
Open System interconnection OSI Model.pptx
Open System interconnection OSI Model.pptxOpen System interconnection OSI Model.pptx
Open System interconnection OSI Model.pptx
 
Osi layer model
Osi layer modelOsi layer model
Osi layer model
 
lecture 4.pptx
lecture 4.pptxlecture 4.pptx
lecture 4.pptx
 
Chapter 2 computer network PPT CN-1.pptx
Chapter 2 computer network PPT CN-1.pptxChapter 2 computer network PPT CN-1.pptx
Chapter 2 computer network PPT CN-1.pptx
 
Network internet
Network internetNetwork internet
Network internet
 
Networks internet
Networks internetNetworks internet
Networks internet
 
Networking for MBA
Networking for MBANetworking for MBA
Networking for MBA
 

Recently uploaded

Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 

Recently uploaded (20)

Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 

unit1 network model osi and tcpip.pptx

  • 1. Network models PROTOCOL LAYERING • In data communication and networking, a protocol defines the rules that both the sender and receiver and all intermediate devices need to follow to be able to communicate effectively. • Protocol layering enables us to divide a complex task into several smaller and simpler tasks. • A layer (module) can be defined as a black box with inputs and outputs, without concern about how inputs are changed to outputs. • Advantages: • it allows us to separate the services from the implementation. • We can use intermediate devices which are not powerful like end system to reduce the cost of communication
  • 2.
  • 3. Principles of Protocol Layering 1. If we want bidirectional communication, we need to make each layer so that it is able to perform two opposite tasks, one in each direction. 2. We need to follow in protocol layering is that the two objects under each layer at both sites should be identical
  • 4. Logical Connections • Logical connections represents that we have layer-to-layer communication. • To better understand the duties of each layer, we need to think about the logical connections between layers
  • 5. OSI LAYERS • An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model. • An open system is a set of protocols that allows any two different systems to communicate regardless of their underlying architecture. • The purpose of the OSI model is to show how to facilitate communication between different systems without requiring changes to the logic of the underlying hardware and software. • The OSI model is not a protocol; it is a model for understanding and designing a network architecture that is flexible, robust, and interoperable.
  • 6.
  • 7. Physical Layer The physical layer coordinates the functions required to carry a bit stream over a physical medium. It deals with the mechanical and electrical specifications of the interface and transmission media. • The physical layer is also concerned with the following: Physical characteristics of interfaces and media. The physical layer defines the characteristics of the interface between the devices and the transmission media. It also defines the type of transmission media Representation of bits. The physical layer data consists of a stream of bits (sequence of 0s or 1s) with no interpretation. The transmission rate—the number of bits sent each second—is also defined by the physical layer. Synchronization of bits. The sender and receiver must not only use the same bit rate but must also be synchronized at the bit level
  • 8. • Line configuration. The physical layer is concerned with the connection of devices to the media. In a point-to-point configuration, two devices are connected together through a dedicated link. In a multipoint configuration, a link is shared between several devices. • Physical topology. • Transmission mode.
  • 9. Data Link Layer • The data link layer transforms the physical layer, a raw transmission facility, to a reliable link. It makes the physical layer appear error-free to the upper layer (network layer) • Framing. The data link layer divides the stream of bits received from the network layer into manageable data units called frames. • Physical addressing. If frames are to be distributed to different systems on the network, the data link layer adds a header to the frame to define the sender and/or receiver of the frame. • Flow control. If the rate at which the data is absorbed by the receiver is less than the rate produced at the sender, the data link layer imposes a flow control mechanism to prevent overwhelming the receiver. • Error control. The data link layer adds reliability to the physical layer by adding mechanisms to detect and retransmit damaged or lost frames.
  • 10. • Access control. When two or more devices are connected to the same link, data link layer protocols are necessary to determine which device has control over the link at any given time.
  • 11. Network Layer • The network layer is responsible for the source-to-destination delivery of a packet, possibly across multiple networks (links). • Logical addressing. The physical addressing implemented by the data link layer handles the addressing problem locally. • Routing. When independent networks or links are connected together to create internetworks (network of networks) or a large network, the connecting devices (called routers or switches) route or switch the packets to their final destination. One of the functions of the network layer is to provide this mechanism.
  • 12. Transport Layer • The transport layer is responsible for process-to-process delivery of the entire message. A process is an application program running on the host. Whereas the network layer oversees source-to-destination delivery of individual packets, it does not recognize any relationship between those packets • Service-point addressing. Computers often run several programs at the same time. For this reason, source-to-destination delivery means delivery not only from one computer to the next but also from a specific process (running program) on one computer to a specific process (running program) on the other. • Segmentation. A message is divided into transmittable segments, with each segment containing a sequence number.
  • 13. • Connection control. The transport layer can be either connectionless or connection oriented. A connectionless transport layer treats each segment as an independent packet and delivers it to the transport layer at the destination machine. • A connection oriented transport layer makes a connection with the transport layer at the destination machine first before delivering the packets. After all the data are transferred, the connection is terminated. • Flow control. Like the data link layer, the transport layer is responsible for flow control. However, flow control at this layer is performed end to end rather than across a single link. • Error control. Like the data link layer, the transport layer is responsible for error control. However, error control at this layer is performed process-to-process rather than across a single link
  • 14. Session Layer • The services provided by the first four layers (physical, data link, network and transport) are not sufficient for some processes. • The session layer is responsible for establishing, managing, synchronizing and terminating sessions between end-user application • Dialog control. The session layer allows two systems to enter into a dialog. It allows the communication between two processes to take place in either half duplex (one way at a time) or full-duplex (two ways at a time) mode. • Synchronization. The session layer allows a process to add checkpoints (synchronization points) into a stream of data
  • 15. Presentation Layer • The presentation layer is concerned with the syntax and semantics of the information exchanged between two systems. Specific responsibilities of the presentation layer include the following: • Translation. The processes (running programs) in two systems are usually exchanging information in the form of character strings, numbers, and so on. • Encryption. To carry sensitive information a system must be able to assure privacy. Encryption means that the sender transforms the original information to another form and sends the resulting message out over the network. Decryption reverses the original process to transform the message back to its original form.
  • 16. • Compression. Data compression reduces the number of bits contained in the information. Data compression becomes particularly important in the transmission of multimedia such as text, audio, and video
  • 17. Application Layer • The application layer enables the user, whether human or software, to access the network. It provides user interfaces and support for services such as electronic mail, remote file access and transfer, shared database management, and other types of distributed information services. Specific services provided by the application layer include the following • Network virtual terminal. A network virtual terminal is a software version of a physical terminal and allows a user to log on to a remote host. To do so, the application creates a software emulation of a terminal at the remote host.
  • 18. • File transfer, access, and management (FTAM). This application allows a user to access files in a remote host (to make changes or read data), to retrieve files from a remote computer for use in the local computer, and to manage or control files in a remote computer locally. • E-mail services. This application provides the basis for e-mail forwarding and storage. • Directory services. This application provides distributed database sources and access for global information about various objects and services.
  • 19. TCP/IP PROTOCOL SUITE • we can introduce the TCP/IP (Transmission Control Protocol/Internet Protocol). TCP/IP is a protocol suite (a set of protocols organized in different layers) used in the Internet today. It is a hierarchical protocol made up of interactive modules, each of which provides a specific functionality. • The term hierarchical means that each upper level protocol is supported by the services provided by one or more lower level protocols • The original TCP/IP protocol suite was defined as four software layers built upon the hardware. Today, however, TCP/IP is thought of as a five-layer model.
  • 20.
  • 21. Layered Architecture • To show how the layers in the TCP/IP protocol suite are involved in communication between two hosts, we assume that we want to use the suite in a small internet made up of three LANs (links), each with a link- layer switch. We also assume that the links are connected by one router.
  • 22.
  • 23. • Let us assume that computer A communicates with computer B. As the figure shows, we have five communicating devices in this communication: source host (computer A), the link-layer switch in link 1, the router, the link-layer switch in link 2, and the destination host (computer B). • Each device is involved with a set of layers depending on the role of the device in the internet
  • 24. Differences between tcp/ip and osi layers TCP refers to Transmission Control Protocol. OSI refers to Open Systems Interconnection. TCP/IP has 5 layers. OSI has 7 layers. TCP/IP is more reliable OSI is less reliable TCP/IP does not have very strict boundaries. OSI has strict boundaries TCP/IP follow a horizontal approach. OSI follows a vertical approach.
  • 25. TCP/IP uses both session and presentation layer in the application layer itself. OSI uses different session and presentation layers. TCP/IP developed protocols then model. OSI developed model then protocol. Transport layer in TCP/IP does not provide assurance delivery of packets. In OSI model, transport layer provides assurance delivery of packets. TCP/IP model network layer only provides connection less services. Connection less and connection oriented both services are provided by network layer in OSI model. Protocols cannot be replaced easily in TCP/IP model. While in OSI model, Protocols are better covered and is easy to replace with the change in technology