SlideShare ist ein Scribd-Unternehmen logo
1 von 48
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
19 Network Layer Protocols
19 Network Layer Protocols19 Network Layer Protocols
19 Network Layer Protocols
 
TCP/IP and UDP protocols
TCP/IP and UDP protocolsTCP/IP and UDP protocols
TCP/IP and UDP protocols
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IP
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
 
Osi model
Osi modelOsi model
Osi model
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Tcp/ip model and protocol
Tcp/ip model and protocolTcp/ip model and protocol
Tcp/ip model and protocol
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.ppt
 
TCP/IP MODEL
TCP/IP MODEL TCP/IP MODEL
TCP/IP MODEL
 
Networking Devices
Networking DevicesNetworking Devices
Networking Devices
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Understanding TCP/IP
Understanding TCP/IPUnderstanding TCP/IP
Understanding TCP/IP
 
File Transfer Protocol - FTP
File Transfer Protocol - FTPFile Transfer Protocol - FTP
File Transfer Protocol - FTP
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 

Ähnlich wie Unit 2 cnd_22634_pranoti doke

Ähnlich wie 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
 

Mehr von 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
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
Pranoti Doke
 

Mehr von 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
 

KĂźrzlich hochgeladen

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 

KĂźrzlich hochgeladen (20)

Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 

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