SlideShare una empresa de Scribd logo
1 de 48
Descargar para leer sin conexión
TCP/IP
Protocol
Suite
Prof. Pranoti R. Doke
Presented by,
2
Computer Networks
Unit 2
Protocols and the TCP/IP
Protocol Suite
Prof. Pranoti R. Doke
Prof. Pranoti R. Doke
3
Protocols
• Cooperative action is necessary
– computer networking is not only to exchange bytes
– huge system with several utilities and functions. For examples
• error detection
• Encryption
• Routing etc.
• For proper communication, entities in different systems
must speak the same language
– there must be mutually acceptable conventions and rules
about the content, timing and underlying mechanisms
• Those conventions and associated rules are referred
as “PROTOCOLS”
Prof. Pranoti R. Doke
4
Protocol Architecture
• Task of data transfer is broken up into some
modules
– Why?
– How do these modules interact?
• For example, file transfer could use three
modules
– File transfer application
– Communication service module
– Network access module
Prof. Pranoti R. Doke
5
A Real World Example to Protocol
Architecture philosopher-translator-
secretary architecture
Issues:
• peer-to-peer
protocols are
independent of
each other
–for example,
secretaries may
change the
comm. medium to
email
–or the translators
may agree on
using another
common
language
•Each layer adds
a header
Prof. Pranoti R. Doke
6
Simplified File Transfer
Architecture
File Transfer Application Layer: Application specific commands,
passwords and the actual file(s) – high level data
Communications Service Module: reliable transfer of those data – error
detection, ordered delivery of data packets, etc.
Network Module: actual transfer of data and dealing with the network – if
the network changes, only this module is affected, not the whole system
Prof. Pranoti R. Doke
7
General protocol architecture
principles that we have seen
so far
• Layered structure
– Protocol stack
• Each layer provides services to upper layer; expect services
from lower one
– Layer interfaces should be well-defined
• Peer entities communicate using their own protocol
– peer-to-peer protocols
– independent of protocols at other layers
– if one protocol changes, other protocols should not
get affected
Prof. Pranoti R. Doke
Introduction TCP/IP
• The Internet Protocol Suite (commonly known as
TCP/IP) is the set of communications protocols used for
the Internet and other similar networks.
• It is named from two of the most important protocols in
it:
• Transmission Control Protocol (TCP) and
• Internet Protocol (IP), which were the first two
networking protocols defined in this standard.
Prof. Pranoti R. Doke
TCP/IP and OSI Model
Prof. Pranoti R. Doke
Prof. Pranoti R. Doke
11
A General Three Layer
Model
• Generalize the previous example for a generic application
– we can have different applications (e-mail, file transfer, …)
• Network Access Layer
• Transport Layer
• Application Layer
Prof. Pranoti R. Doke
APPLICATION LAYER
• This layer is comparable to the application,
presentation, and session layers of the OSI model all
combined into one.
• It provides a way for applications to have access to
networked services.
• It is widely-known layer for the exchange of user
information
Prof. Pranoti R. Doke
-- The Hypertext Transfer Protocol (HTTP) is used to
transfer files that make up the Web pages of the World
Wide Web.
-- The File Transfer Protocol (FTP) is used for
interactive file transfer.
-- The Simple Mail Transfer Protocol (SMTP) is used
for the transfer of mail messages and attachments.
APPLICATION LAYER
Prof. Pranoti R. Doke
• Presentation Layer does Encryption-Decryption and
Compression-Decompression of Data.
• This layer allows a process to add checkpoints which are
considered as synchronization points into stream of data.
APPLICATION LAYER
Prof. Pranoti R. Doke
TRANSPORT LAYER
• This layer acts as the delivery service used by the
application layer.
• Two protocols used are TCP and UDP.
• The choice is made based on the application's
transmission reliability requirements.
• The transport layer also handles all error detection and
recovery.
Prof. Pranoti R. Doke
-- It uses checksums, acknowledgements, and timeouts
to control transmissions and end to end verification.
-- Unlike the OSI model, TCP/IP treats reliability as an
end-to-end problem
-- TCP provides a one-to-one, connection-oriented,
reliable communications service.
-- UDP provides a one-to-one or one-to-many,
connectionless, unreliable communications service.
TRANSPORT LAYER
Prof. Pranoti R. Doke
• A message is divided into segments; each segment
contains sequence number, which enables this layer in
reassembling the message.
TRANSPORT LAYER
Prof. Pranoti R. Doke
• Message is reassembled
correctly upon arrival at the destination and replaces
packets which were lost in transmission.
Connection Control : It includes 2 types :
1. Connectionless Transport Layer :Each segment is
considered as an independent packet and delivered to
the transport layer at the destination machine.
2. Connection Oriented Transport Layer :Before
delivering packets, connection is made with transport
layer at the destination machine.
TRANSPORT LAYER
Prof. Pranoti R. Doke
NETWORK LAYER
• This layer is also known as Internet Layer.
• The main purpose of this layer is to organize or handle
the movement of data on network.
• By movement of data, we generally mean routing of
data over the network.
• This layer is responsible for addressing, packaging,
and routing functions.
Prof. Pranoti R. Doke
• The core protocols of the Internet layer are IP, ARP,
ICMP, and IGMP.
• The Internet Protocol (IP) is a routable protocol
responsible for IP addressing, routing, and the
fragmentation and reassembly of packets.
• The Address Resolution Protocol (ARP) is responsible for
the resolution of the Internet layer address to the Network
Interface layer address such as a hardware address.
Prof. Pranoti R. Doke
NETWORK LAYER
• The Internet Control Message Protocol (ICMP) is
responsible for providing diagnostic functions and
reporting errors due to the unsuccessful delivery of IP
packets.
• The Internet Group Management Protocol (IGMP) is
responsible for the management of IP multicast
groups.
Prof. Pranoti R. Doke
NETWORK LAYER
• It translates logical network address into physical
address. Concerned with circuit, message or packet
switching.
• Routers and gateways operate in the network layer.
Prof. Pranoti R. Doke
Prof. Pranoti R. Doke
DATA LINK LAYER
• Data link layer is most reliable node to node delivery
of data.
• It forms frames from the packets that are received
from network layer and gives it to physical layer.
• It also synchronizes the information which is to be
transmitted over the data. Error controlling is easily
done.
Prof. Pranoti R. Doke
• Protocols of this layer determine which of the devices
has control over the link at any given time, when two
or more devices are connected to the same link.
Prof. Pranoti R. Doke
• Error control is achieved by adding a trailer at the end of
the frame.
• Duplication of frames are also prevented by using this
mechanism.
• Frames are the streams of bits received from the network
layer into manageable data units.
• This division of stream of bits is done by Data Link
Layer.
Prof. Pranoti R. Doke
DATA LINK LAYER
Switch and Bridge are used in this layer
Prof. Pranoti R. Doke
DATA LINK LAYER
PHYSICAL LAYER
Physical layer is the lowest layer of all. It is
responsible for sending bits from one computer to
another.
This layer is not concerned with the meaning of the
bits and deals with the physical connection
This layer defines electrical and physical details
represented as 0 or a 1.
Prof. Pranoti R. Doke
• This layer defines the rate of transmission which
is the number of bits per second.
• It deals with the synchronization of the
transmitter and receiver. The sender and receiver are
synchronized at bit level.
• Devices must be connected using the following
topologies: Mesh, Star, Ring and Bus.
Prof. Pranoti R. Doke
PHYSICAL LAYER
Physical Layer defines the direction of transmission
between two devices: Simplex, Half Duplex, Full
Duplex
Prof. Pranoti R. Doke
PHYSICAL LAYER
• Deals with baseband and broadband
transmission.
• Hubs and Repeater are used in this layer
Prof. Pranoti R. Doke
PHYSICAL LAYER
OSI Model
• The OSI reference model
• Services in the OSI model
Prof. Pranoti R. Doke
• OSI Reference Model - internationally
standardised network architecture.
• OSI = Open Systems Interconnection:
deals with open systems, i.e. systems open
for communications with other systems.
• Specified in ISO 7498.
• Model has 7 layers.
OSI Reference Model
Prof. Pranoti R. Doke
• Layers 1-4 relate to
communications
technology.
• Layers 5-7 relate to user
applications.
7-Layer OSI Model
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
Application Layer
Presentation Layer
Session Layer
Transport Layer
Network Layer
Data Link Layer
Physical Layer Communications subnet boundary
Prof. Pranoti R. Doke
• Level at which applications access network
services.
– Represents services that directly support software
applications for file transfers, database access, and
electronic mail etc.
Layer 7: Application Layer
Prof. Pranoti R. Doke
• Related to representation of transmitted data
– Translates different data representations from the
Application layer into uniform standard format
• Providing services for secure efficient data
transmission
– e.g. data encryption, and data compression.
Layer 6: Presentation Layer
Prof. Pranoti R. Doke
• Allows two applications on different computers to
establish, use, and end a session.
– e.g. file transfer, remote login
• Establishes dialog control
– Regulates which side transmits, plus when and how long it
transmits.
• Performs token management and
synchronization.
Layer 5: Session Layer
Prof. Pranoti R. Doke
• Manages transmission packets
– Repackages long messages when necessary into
small packets for transmission
– Reassembles packets in correct order to get the
original message.
• Handles error recognition and recovery.
– Transport layer at receiving acknowledges packet
delivery.
– Resends missing packets
Layer 4: Transport Layer
• Manages addressing/routing of data within the subnet
– Addresses messages and translates logical addresses and names into
physical addresses.
– Determines the route from the source to the destination computer
– Manages traffic problems, such as switching, routing, and controlling
the congestion of data packets.
• Routing can be:
– Based on static tables
– determined at start of each session
– Individually determined for each packet, reflecting the current network
load.
Layer 3: Network Layer
Prof. Pranoti R. Doke
• Packages raw bits from the Physical layer into
frames (logical, structured packets for data).
• Provides reliable transmission of frames
• It waits for an acknowledgment from the receiving
computer.
• Retransmits frames for which acknowledgement
not received
Layer 2: Data Link Layer
Prof. Pranoti R. Doke
• Transmits bits from one computer to another
• Regulates the transmission of a stream of bits over a physical
medium.
• Defines how the cable is attached to the network adapter and
what transmission technique is used to send data over the cable.
Deals with issues like
– The definition of 0 and 1, e.g. how many volts
represents a 1, and how long a bit lasts?
– Whether the channel is simplex or duplex?
– How many pins a connector has, and what the function
of each pin is?
Layer 1: Physical Layer
Prof. Pranoti R. Doke
• Explicit Presentation
and session layers
missing in Internet
Protocols
• Data Link and
Network Layers
redesigned
Internet Protocols vs OSI
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
TCP
IP
Network Interface
Hardware
Prof. Pranoti R. Doke
• In OSI model, each layer provide services
to layer above, and ‘consumes’ services
provided by layer below.
• Active elements in a layer called entities.
• Entities in same layer in different machines
called peer entities.
Services in the OSI Model
Prof. Pranoti R. Doke
• Layer N provides service to layer N+1
Layering Principles
(N+1) Entity
Service User
(N) Entity
Service Provider
(N+1) Entity
Service User
(N) Entity
Service Provider
Layer N Service
Access Point (SAP)
Layer N protocol
N+1
PDU
Layer N+1 protocol
SDU
PDU - Protocol Data Unit
SDU - Service Data Unit
N
PDU
N
PDU
Prof. Pranoti R. Doke
• Layers can offer connection-oriented or
connectionless services.
• Connection-oriented like telephone system.
• Connectionless like postal system.
• Each service has an associated Quality-of-
service (e.g. reliable or unreliable).
Connections
Prof. Pranoti R. Doke
• Reliable services never lose/corrupt data.
• Reliable service costs more.
• Typical application for reliable service is file
transfer.
• Typical application not needing reliable
service is voice traffic.
• Not all applications need connections.
Reliability
Prof. Pranoti R. Doke
• Service = set of primitives provided by one
layer to layer above.
• Service defines what layer can do (but not
how it does it).
• Protocol = set of rules governing data
communication between peer entities, i.e.
format and meaning of frames/packets.
• Service/protocol decoupling very important.
Topics
Prof. Pranoti R. Doke
Unit 2 cnd_22634_pranoti doke

Más contenido relacionado

La actualidad más candente

CND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data CommunicationCND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data CommunicationPranoti Doke
 
Physical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesPhysical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesShahid Khan
 
Basic-networking-hardware
Basic-networking-hardwareBasic-networking-hardware
Basic-networking-hardwareIsus Isusay
 
Introduction to network switches
Introduction to network switchesIntroduction to network switches
Introduction to network switchesNetProtocol Xpert
 
basic networking
basic networkingbasic networking
basic networkingAnmol Bagga
 
Network devices
Network devicesNetwork devices
Network devicesAshok R
 
Computer networks unit v
Computer networks    unit vComputer networks    unit v
Computer networks unit vJAIGANESH SEKAR
 
1 introduction-to-computer-networking
1 introduction-to-computer-networking1 introduction-to-computer-networking
1 introduction-to-computer-networkingKhan Rahimeen
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionShubham Khedekar
 
Packet switching
Packet switchingPacket switching
Packet switchingasimnawaz54
 
Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing marwan aldulaimy
 
Determine best fit topology copy
Determine best fit topology   copyDetermine best fit topology   copy
Determine best fit topology copyJaleto Sunkemo
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switchingDr Rajiv Srivastava
 
Data communication and computer networks | Network Topologies
Data communication and computer networks | Network TopologiesData communication and computer networks | Network Topologies
Data communication and computer networks | Network TopologiesMSA Technosoft
 

La actualidad más candente (20)

Osi model
Osi modelOsi model
Osi model
 
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data CommunicationCND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
 
Physical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesPhysical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and Devices
 
network Switch
 network Switch network Switch
network Switch
 
Basic-networking-hardware
Basic-networking-hardwareBasic-networking-hardware
Basic-networking-hardware
 
Introduction to network switches
Introduction to network switchesIntroduction to network switches
Introduction to network switches
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 
basic networking
basic networkingbasic networking
basic networking
 
Network devices
Network devicesNetwork devices
Network devices
 
Computer networks unit v
Computer networks    unit vComputer networks    unit v
Computer networks unit v
 
1 introduction-to-computer-networking
1 introduction-to-computer-networking1 introduction-to-computer-networking
1 introduction-to-computer-networking
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer Description
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
 
Network Layer by-adeel
Network Layer by-adeelNetwork Layer by-adeel
Network Layer by-adeel
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing
 
Determine best fit topology copy
Determine best fit topology   copyDetermine best fit topology   copy
Determine best fit topology copy
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switching
 
Data communication and computer networks | Network Topologies
Data communication and computer networks | Network TopologiesData communication and computer networks | Network Topologies
Data communication and computer networks | Network Topologies
 

Similar a Unit 2 cnd_22634_pranoti doke

Similar a Unit 2 cnd_22634_pranoti doke (20)

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)
 
Networking concepts
Networking conceptsNetworking concepts
Networking concepts
 
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)
 
Sargation university's open system interconnection
Sargation university's open system interconnectionSargation university's open system interconnection
Sargation university's open system interconnection
 
DCN notes adi
DCN notes adiDCN notes adi
DCN notes adi
 
Osi model
Osi modelOsi model
Osi model
 
Osi
OsiOsi
Osi
 
Network layers
Network layersNetwork layers
Network layers
 
unit-1fon (1).pptx
unit-1fon (1).pptxunit-1fon (1).pptx
unit-1fon (1).pptx
 
Unit 2 ppt-idc
Unit 2 ppt-idcUnit 2 ppt-idc
Unit 2 ppt-idc
 
OsI reference model
OsI reference modelOsI reference model
OsI reference model
 
1_Operating System.ppt
1_Operating System.ppt1_Operating System.ppt
1_Operating System.ppt
 
OSI Reerence Model
OSI Reerence ModelOSI Reerence Model
OSI Reerence Model
 
OSI Model.ppt
OSI Model.pptOSI Model.ppt
OSI Model.ppt
 
IT-NET GROUP 3 REPORT.pptx
IT-NET GROUP 3 REPORT.pptxIT-NET GROUP 3 REPORT.pptx
IT-NET GROUP 3 REPORT.pptx
 
PC 106 PPT-06
PC 106 PPT-06PC 106 PPT-06
PC 106 PPT-06
 
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
 
Dc2 t1
Dc2 t1Dc2 t1
Dc2 t1
 
Open Systems Interconnection
Open Systems InterconnectionOpen Systems Interconnection
Open Systems Interconnection
 

Más de Pranoti Doke

Unit 3 cnd physical layer_switching_pranoti doke
Unit 3  cnd physical layer_switching_pranoti dokeUnit 3  cnd physical layer_switching_pranoti doke
Unit 3 cnd physical layer_switching_pranoti dokePranoti Doke
 
Unit 3 CND physical layer_switching_pranoti doke
Unit 3  CND physical layer_switching_pranoti dokeUnit 3  CND physical layer_switching_pranoti doke
Unit 3 CND physical layer_switching_pranoti dokePranoti Doke
 
Unit 3 CND_Physical Layer_Multiplexing_Pranoti Doke
Unit 3  CND_Physical Layer_Multiplexing_Pranoti DokeUnit 3  CND_Physical Layer_Multiplexing_Pranoti Doke
Unit 3 CND_Physical Layer_Multiplexing_Pranoti DokePranoti Doke
 
Unit 3_CND Physical Layer_MODEMS_Pranoti Doke
Unit 3_CND Physical Layer_MODEMS_Pranoti DokeUnit 3_CND Physical Layer_MODEMS_Pranoti Doke
Unit 3_CND Physical Layer_MODEMS_Pranoti DokePranoti Doke
 
Unit 3 _CND_22634_ physical layer_transmission medium_pranoti doke
Unit 3 _CND_22634_ physical layer_transmission medium_pranoti dokeUnit 3 _CND_22634_ physical layer_transmission medium_pranoti doke
Unit 3 _CND_22634_ physical layer_transmission medium_pranoti dokePranoti Doke
 
Programmable Logic Controller by Pranoti R. Doke
Programmable Logic Controller by Pranoti R. DokeProgrammable Logic Controller by Pranoti R. Doke
Programmable Logic Controller by Pranoti R. DokePranoti Doke
 
C programming Ms. Pranoti Doke
C programming Ms. Pranoti DokeC programming Ms. Pranoti Doke
C programming Ms. Pranoti DokePranoti Doke
 
C programming_MSBTE_Diploma_Pranoti Doke
C programming_MSBTE_Diploma_Pranoti DokeC programming_MSBTE_Diploma_Pranoti Doke
C programming_MSBTE_Diploma_Pranoti DokePranoti Doke
 
Chapter 10 Programming in Matlab
Chapter 10 Programming in MatlabChapter 10 Programming in Matlab
Chapter 10 Programming in MatlabPranoti Doke
 
Chapter 9 Display Commands in MATLAB
Chapter 9 Display Commands in MATLABChapter 9 Display Commands in MATLAB
Chapter 9 Display Commands in MATLABPranoti Doke
 
Chapter 8 Data Types in MATLAB
Chapter 8 Data Types in MATLABChapter 8 Data Types in MATLAB
Chapter 8 Data Types in MATLABPranoti Doke
 
Chapter 7 Formats in MATLAB
Chapter 7 Formats in MATLABChapter 7 Formats in MATLAB
Chapter 7 Formats in MATLABPranoti Doke
 
Chapter 6 Matrices in MATLAB
Chapter 6 Matrices in MATLABChapter 6 Matrices in MATLAB
Chapter 6 Matrices in MATLABPranoti Doke
 
Chapter 5 Useful Matrices Generators
Chapter 5 Useful Matrices GeneratorsChapter 5 Useful Matrices Generators
Chapter 5 Useful Matrices GeneratorsPranoti Doke
 
Chapter 4 Keyboard in MATLAB Shortcuts
Chapter 4 Keyboard in MATLAB ShortcutsChapter 4 Keyboard in MATLAB Shortcuts
Chapter 4 Keyboard in MATLAB ShortcutsPranoti Doke
 
Chapter 3 Commands at MATLAB Command Window
Chapter 3 Commands at MATLAB Command WindowChapter 3 Commands at MATLAB Command Window
Chapter 3 Commands at MATLAB Command WindowPranoti Doke
 
Chapter 2 Basics of MATLAB
Chapter 2 Basics of MATLABChapter 2 Basics of MATLAB
Chapter 2 Basics of MATLABPranoti Doke
 
Chapter 1 matlab demo
Chapter 1 matlab demoChapter 1 matlab demo
Chapter 1 matlab demoPranoti Doke
 

Más de Pranoti Doke (18)

Unit 3 cnd physical layer_switching_pranoti doke
Unit 3  cnd physical layer_switching_pranoti dokeUnit 3  cnd physical layer_switching_pranoti doke
Unit 3 cnd physical layer_switching_pranoti doke
 
Unit 3 CND physical layer_switching_pranoti doke
Unit 3  CND physical layer_switching_pranoti dokeUnit 3  CND physical layer_switching_pranoti doke
Unit 3 CND physical layer_switching_pranoti doke
 
Unit 3 CND_Physical Layer_Multiplexing_Pranoti Doke
Unit 3  CND_Physical Layer_Multiplexing_Pranoti DokeUnit 3  CND_Physical Layer_Multiplexing_Pranoti Doke
Unit 3 CND_Physical Layer_Multiplexing_Pranoti Doke
 
Unit 3_CND Physical Layer_MODEMS_Pranoti Doke
Unit 3_CND Physical Layer_MODEMS_Pranoti DokeUnit 3_CND Physical Layer_MODEMS_Pranoti Doke
Unit 3_CND Physical Layer_MODEMS_Pranoti Doke
 
Unit 3 _CND_22634_ physical layer_transmission medium_pranoti doke
Unit 3 _CND_22634_ physical layer_transmission medium_pranoti dokeUnit 3 _CND_22634_ physical layer_transmission medium_pranoti doke
Unit 3 _CND_22634_ physical layer_transmission medium_pranoti doke
 
Programmable Logic Controller by Pranoti R. Doke
Programmable Logic Controller by Pranoti R. DokeProgrammable Logic Controller by Pranoti R. Doke
Programmable Logic Controller by Pranoti R. Doke
 
C programming Ms. Pranoti Doke
C programming Ms. Pranoti DokeC programming Ms. Pranoti Doke
C programming Ms. Pranoti Doke
 
C programming_MSBTE_Diploma_Pranoti Doke
C programming_MSBTE_Diploma_Pranoti DokeC programming_MSBTE_Diploma_Pranoti Doke
C programming_MSBTE_Diploma_Pranoti Doke
 
Chapter 10 Programming in Matlab
Chapter 10 Programming in MatlabChapter 10 Programming in Matlab
Chapter 10 Programming in Matlab
 
Chapter 9 Display Commands in MATLAB
Chapter 9 Display Commands in MATLABChapter 9 Display Commands in MATLAB
Chapter 9 Display Commands in MATLAB
 
Chapter 8 Data Types in MATLAB
Chapter 8 Data Types in MATLABChapter 8 Data Types in MATLAB
Chapter 8 Data Types in MATLAB
 
Chapter 7 Formats in MATLAB
Chapter 7 Formats in MATLABChapter 7 Formats in MATLAB
Chapter 7 Formats in MATLAB
 
Chapter 6 Matrices in MATLAB
Chapter 6 Matrices in MATLABChapter 6 Matrices in MATLAB
Chapter 6 Matrices in MATLAB
 
Chapter 5 Useful Matrices Generators
Chapter 5 Useful Matrices GeneratorsChapter 5 Useful Matrices Generators
Chapter 5 Useful Matrices Generators
 
Chapter 4 Keyboard in MATLAB Shortcuts
Chapter 4 Keyboard in MATLAB ShortcutsChapter 4 Keyboard in MATLAB Shortcuts
Chapter 4 Keyboard in MATLAB Shortcuts
 
Chapter 3 Commands at MATLAB Command Window
Chapter 3 Commands at MATLAB Command WindowChapter 3 Commands at MATLAB Command Window
Chapter 3 Commands at MATLAB Command Window
 
Chapter 2 Basics of MATLAB
Chapter 2 Basics of MATLABChapter 2 Basics of MATLAB
Chapter 2 Basics of MATLAB
 
Chapter 1 matlab demo
Chapter 1 matlab demoChapter 1 matlab demo
Chapter 1 matlab demo
 

Último

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 

Último (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 

Unit 2 cnd_22634_pranoti doke

  • 2. 2 Computer Networks Unit 2 Protocols and the TCP/IP Protocol Suite Prof. Pranoti R. Doke Prof. Pranoti R. Doke
  • 3. 3 Protocols • Cooperative action is necessary – computer networking is not only to exchange bytes – huge system with several utilities and functions. For examples • error detection • Encryption • Routing etc. • For proper communication, entities in different systems must speak the same language – there must be mutually acceptable conventions and rules about the content, timing and underlying mechanisms • Those conventions and associated rules are referred as “PROTOCOLS” Prof. Pranoti R. Doke
  • 4. 4 Protocol Architecture • Task of data transfer is broken up into some modules – Why? – How do these modules interact? • For example, file transfer could use three modules – File transfer application – Communication service module – Network access module Prof. Pranoti R. Doke
  • 5. 5 A Real World Example to Protocol Architecture philosopher-translator- secretary architecture Issues: • peer-to-peer protocols are independent of each other –for example, secretaries may change the comm. medium to email –or the translators may agree on using another common language •Each layer adds a header Prof. Pranoti R. Doke
  • 6. 6 Simplified File Transfer Architecture File Transfer Application Layer: Application specific commands, passwords and the actual file(s) – high level data Communications Service Module: reliable transfer of those data – error detection, ordered delivery of data packets, etc. Network Module: actual transfer of data and dealing with the network – if the network changes, only this module is affected, not the whole system Prof. Pranoti R. Doke
  • 7. 7 General protocol architecture principles that we have seen so far • Layered structure – Protocol stack • Each layer provides services to upper layer; expect services from lower one – Layer interfaces should be well-defined • Peer entities communicate using their own protocol – peer-to-peer protocols – independent of protocols at other layers – if one protocol changes, other protocols should not get affected Prof. Pranoti R. Doke
  • 8. Introduction TCP/IP • The Internet Protocol Suite (commonly known as TCP/IP) is the set of communications protocols used for the Internet and other similar networks. • It is named from two of the most important protocols in it: • Transmission Control Protocol (TCP) and • Internet Protocol (IP), which were the first two networking protocols defined in this standard. Prof. Pranoti R. Doke
  • 9. TCP/IP and OSI Model Prof. Pranoti R. Doke
  • 11. 11 A General Three Layer Model • Generalize the previous example for a generic application – we can have different applications (e-mail, file transfer, …) • Network Access Layer • Transport Layer • Application Layer Prof. Pranoti R. Doke
  • 12. APPLICATION LAYER • This layer is comparable to the application, presentation, and session layers of the OSI model all combined into one. • It provides a way for applications to have access to networked services. • It is widely-known layer for the exchange of user information Prof. Pranoti R. Doke
  • 13. -- The Hypertext Transfer Protocol (HTTP) is used to transfer files that make up the Web pages of the World Wide Web. -- The File Transfer Protocol (FTP) is used for interactive file transfer. -- The Simple Mail Transfer Protocol (SMTP) is used for the transfer of mail messages and attachments. APPLICATION LAYER Prof. Pranoti R. Doke
  • 14. • Presentation Layer does Encryption-Decryption and Compression-Decompression of Data. • This layer allows a process to add checkpoints which are considered as synchronization points into stream of data. APPLICATION LAYER Prof. Pranoti R. Doke
  • 15. TRANSPORT LAYER • This layer acts as the delivery service used by the application layer. • Two protocols used are TCP and UDP. • The choice is made based on the application's transmission reliability requirements. • The transport layer also handles all error detection and recovery. Prof. Pranoti R. Doke
  • 16. -- It uses checksums, acknowledgements, and timeouts to control transmissions and end to end verification. -- Unlike the OSI model, TCP/IP treats reliability as an end-to-end problem -- TCP provides a one-to-one, connection-oriented, reliable communications service. -- UDP provides a one-to-one or one-to-many, connectionless, unreliable communications service. TRANSPORT LAYER Prof. Pranoti R. Doke
  • 17. • A message is divided into segments; each segment contains sequence number, which enables this layer in reassembling the message. TRANSPORT LAYER Prof. Pranoti R. Doke
  • 18. • Message is reassembled correctly upon arrival at the destination and replaces packets which were lost in transmission. Connection Control : It includes 2 types : 1. Connectionless Transport Layer :Each segment is considered as an independent packet and delivered to the transport layer at the destination machine. 2. Connection Oriented Transport Layer :Before delivering packets, connection is made with transport layer at the destination machine. TRANSPORT LAYER Prof. Pranoti R. Doke
  • 19. NETWORK LAYER • This layer is also known as Internet Layer. • The main purpose of this layer is to organize or handle the movement of data on network. • By movement of data, we generally mean routing of data over the network. • This layer is responsible for addressing, packaging, and routing functions. Prof. Pranoti R. Doke
  • 20. • The core protocols of the Internet layer are IP, ARP, ICMP, and IGMP. • The Internet Protocol (IP) is a routable protocol responsible for IP addressing, routing, and the fragmentation and reassembly of packets. • The Address Resolution Protocol (ARP) is responsible for the resolution of the Internet layer address to the Network Interface layer address such as a hardware address. Prof. Pranoti R. Doke NETWORK LAYER
  • 21. • The Internet Control Message Protocol (ICMP) is responsible for providing diagnostic functions and reporting errors due to the unsuccessful delivery of IP packets. • The Internet Group Management Protocol (IGMP) is responsible for the management of IP multicast groups. Prof. Pranoti R. Doke NETWORK LAYER
  • 22. • It translates logical network address into physical address. Concerned with circuit, message or packet switching. • Routers and gateways operate in the network layer. Prof. Pranoti R. Doke
  • 24. DATA LINK LAYER • Data link layer is most reliable node to node delivery of data. • It forms frames from the packets that are received from network layer and gives it to physical layer. • It also synchronizes the information which is to be transmitted over the data. Error controlling is easily done. Prof. Pranoti R. Doke
  • 25. • Protocols of this layer determine which of the devices has control over the link at any given time, when two or more devices are connected to the same link. Prof. Pranoti R. Doke
  • 26. • Error control is achieved by adding a trailer at the end of the frame. • Duplication of frames are also prevented by using this mechanism. • Frames are the streams of bits received from the network layer into manageable data units. • This division of stream of bits is done by Data Link Layer. Prof. Pranoti R. Doke DATA LINK LAYER
  • 27. Switch and Bridge are used in this layer Prof. Pranoti R. Doke DATA LINK LAYER
  • 28. PHYSICAL LAYER Physical layer is the lowest layer of all. It is responsible for sending bits from one computer to another. This layer is not concerned with the meaning of the bits and deals with the physical connection This layer defines electrical and physical details represented as 0 or a 1. Prof. Pranoti R. Doke
  • 29. • This layer defines the rate of transmission which is the number of bits per second. • It deals with the synchronization of the transmitter and receiver. The sender and receiver are synchronized at bit level. • Devices must be connected using the following topologies: Mesh, Star, Ring and Bus. Prof. Pranoti R. Doke PHYSICAL LAYER
  • 30. Physical Layer defines the direction of transmission between two devices: Simplex, Half Duplex, Full Duplex Prof. Pranoti R. Doke PHYSICAL LAYER
  • 31. • Deals with baseband and broadband transmission. • Hubs and Repeater are used in this layer Prof. Pranoti R. Doke PHYSICAL LAYER
  • 32. OSI Model • The OSI reference model • Services in the OSI model Prof. Pranoti R. Doke
  • 33. • OSI Reference Model - internationally standardised network architecture. • OSI = Open Systems Interconnection: deals with open systems, i.e. systems open for communications with other systems. • Specified in ISO 7498. • Model has 7 layers. OSI Reference Model Prof. Pranoti R. Doke
  • 34. • Layers 1-4 relate to communications technology. • Layers 5-7 relate to user applications. 7-Layer OSI Model Layer 7 Layer 6 Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer Communications subnet boundary Prof. Pranoti R. Doke
  • 35. • Level at which applications access network services. – Represents services that directly support software applications for file transfers, database access, and electronic mail etc. Layer 7: Application Layer Prof. Pranoti R. Doke
  • 36. • Related to representation of transmitted data – Translates different data representations from the Application layer into uniform standard format • Providing services for secure efficient data transmission – e.g. data encryption, and data compression. Layer 6: Presentation Layer Prof. Pranoti R. Doke
  • 37. • Allows two applications on different computers to establish, use, and end a session. – e.g. file transfer, remote login • Establishes dialog control – Regulates which side transmits, plus when and how long it transmits. • Performs token management and synchronization. Layer 5: Session Layer Prof. Pranoti R. Doke
  • 38. • Manages transmission packets – Repackages long messages when necessary into small packets for transmission – Reassembles packets in correct order to get the original message. • Handles error recognition and recovery. – Transport layer at receiving acknowledges packet delivery. – Resends missing packets Layer 4: Transport Layer
  • 39. • Manages addressing/routing of data within the subnet – Addresses messages and translates logical addresses and names into physical addresses. – Determines the route from the source to the destination computer – Manages traffic problems, such as switching, routing, and controlling the congestion of data packets. • Routing can be: – Based on static tables – determined at start of each session – Individually determined for each packet, reflecting the current network load. Layer 3: Network Layer Prof. Pranoti R. Doke
  • 40. • Packages raw bits from the Physical layer into frames (logical, structured packets for data). • Provides reliable transmission of frames • It waits for an acknowledgment from the receiving computer. • Retransmits frames for which acknowledgement not received Layer 2: Data Link Layer Prof. Pranoti R. Doke
  • 41. • Transmits bits from one computer to another • Regulates the transmission of a stream of bits over a physical medium. • Defines how the cable is attached to the network adapter and what transmission technique is used to send data over the cable. Deals with issues like – The definition of 0 and 1, e.g. how many volts represents a 1, and how long a bit lasts? – Whether the channel is simplex or duplex? – How many pins a connector has, and what the function of each pin is? Layer 1: Physical Layer Prof. Pranoti R. Doke
  • 42. • Explicit Presentation and session layers missing in Internet Protocols • Data Link and Network Layers redesigned Internet Protocols vs OSI Application Presentation Session Transport Network Data Link Physical Application TCP IP Network Interface Hardware Prof. Pranoti R. Doke
  • 43. • In OSI model, each layer provide services to layer above, and ‘consumes’ services provided by layer below. • Active elements in a layer called entities. • Entities in same layer in different machines called peer entities. Services in the OSI Model Prof. Pranoti R. Doke
  • 44. • Layer N provides service to layer N+1 Layering Principles (N+1) Entity Service User (N) Entity Service Provider (N+1) Entity Service User (N) Entity Service Provider Layer N Service Access Point (SAP) Layer N protocol N+1 PDU Layer N+1 protocol SDU PDU - Protocol Data Unit SDU - Service Data Unit N PDU N PDU Prof. Pranoti R. Doke
  • 45. • Layers can offer connection-oriented or connectionless services. • Connection-oriented like telephone system. • Connectionless like postal system. • Each service has an associated Quality-of- service (e.g. reliable or unreliable). Connections Prof. Pranoti R. Doke
  • 46. • Reliable services never lose/corrupt data. • Reliable service costs more. • Typical application for reliable service is file transfer. • Typical application not needing reliable service is voice traffic. • Not all applications need connections. Reliability Prof. Pranoti R. Doke
  • 47. • Service = set of primitives provided by one layer to layer above. • Service defines what layer can do (but not how it does it). • Protocol = set of rules governing data communication between peer entities, i.e. format and meaning of frames/packets. • Service/protocol decoupling very important. Topics Prof. Pranoti R. Doke