SlideShare a Scribd company logo
1 of 23
TCP/IP Protocol
Mukesh N. Tekwani
Mumbai, India
mukeshtekwani@outlook.com
2
Objectives
 Connection-oriented and connectionless
services
 The TCP/IP layers
 Differences between OSI and TCP/IP models
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
3
Connection-Oriented Services
 Connection-oriented service modelled after
the telephone system
 To talk to someone, pick up a phone, dial the
number, talk and disconnect
 Similarly, in a network, the service user will
 Establish a connection
 Use the connection
 Release the connection
 The sender, receiver and the network may
conduct a negotiation about data transfer speed,
maximum message size, etc
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
4
Connection-Oriented Services
 Connection-oriented service is used when
reliability is important
 E.g., for file transfer, we want that all bits arrive
correctly and in the order they were sent
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
5
Connectionless Services
 Connectionless service modelled after the
postal system
 Each message (letter) carries the full destination
address
 Each message is routed through the system
independent of all others
 If two messages are sent to the same destination,
normally the first one to be sent should arrive first.
But it is possible that the second message arrives
first
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
6
TCP/IP Protocol Suite
 TCP / IP – Transmission Control Protocol /
Internet Protocol
 Developed prior to the OSI model
 Layers of TCP/IP do not match exactly with
those in the OSI model
 Used in the Internet
 Ability to connect multiple networks in a
seamless way was one of the major design
goals which led to development of TCP / IP
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
7
TCP/IP Protocol Suite
 TCP / IP – refers to a collection of data
communication protocols
 This name TCP/IP is misleading because
TCP and IP are only two of the many
protocols that compose the suite
 TCP / IP has its origins in the work done by
the US Department of Defense.
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
8
TCP / IP Layers
Application
Transport
Internet
Data Link
Physical
Mnemonic
All
Through
Internet
Data
Passes
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
9
TCP / IP Suite
 The TCP / IP suite does not define any
specific protocols at the data link and
physical layers
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
10
Application Layer
 The Application layer is equivalent to the
combined OSI Session, Presentation, and
Application layers
Application Layer = SPA
 All the functions handled by these 3 layers in
the OSI model are handled by the Application
layer in TCP / IP model
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
11
Application Layer
 This layer contains all the higher-level
protocols
 FTP – File Transfer Protocol – basic file transfer
between hosts (computers)
 SMTP – Simple Mail Transfer Protocol (for
email)
 HTTP – Hyper Text Transfer Protocol (for web
browsing)
 Data unit created at this layer is called a
message
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
12
Encapsulation of Data
 TCP/IP protocol suite encapsulates data units
at various layers of the model
 At the Application layer, the data unit created
is called a message.
 The Transport layer adds a header to form
either a segment with TCP.
 The Network (or Internet) layer adds another
header to form a datagram
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
13
Encapsulation of Data
 Datagram – A self-contained message unit
which contains sufficient information to allow
it to be routed from the source to the
destination
 The protocol used at the data link layer
encapsulates the datagram into a frame and
this is transmitted across the transmission
medium.
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
14
Transport Layer - UDP
 This layer is represented by two protocols –
TCP and UDP
 TCP – Transmission Control Protocol
 UDP – User Datagram Protocol
 UDP is simpler but is used when reliability
and security are less important than size and
speed – such as speech, video
 Since security and reliability are essential for
most applications, TCP is used more often
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
15
Transport Layer - TCP
 TCP is a reliable connection-oriented protocol
 Allows error-free transmission
 Incoming byte stream is fragmented into a
number of shorter messages and these are
passed on to the next layer
 At the receiving end the TCP reassembles
the messages into an output stream
 TCP also handles flow control – to control
data transfer rate
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
16
Transport Layer - TCP
 A connection must be established between
the sender and the receiver before
transmission begins
 TCP creates a circuit between sender and
receiver for the duration of the transmission
 TCP begins each transmission by alerting the
receiver that segments are on their way
(connection establishment).
 Each transmission is ended with connection
termination
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
17
Transport Layer - TCP
 Each segment created by TCP includes
 A sequencing number for re-ordering after receipt.
 An acknowledgement ID number
 Source address
 Destination address
 Checksum – for error detection
 Data
 And other fields
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
18
Internetwork or Network Layer
 Also referred to as Network Layer or Internetwork
Layer
 Internetwork Protocol (IP) is an unreliable and
connectionless protocol
 It offers a best–effort delivery service
 No error checking
 IP does its best to get a transmission through to its
destination but with no guarantees
 Noise can cause bit errors during transmission
 Datagrams maybe discarded due to timeout errors
 Example of best-effort delivery service is: post-office
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
19
Internetwork or Network Layer
 IP transports data in packets called datagrams
 Each datagram is transported separately
 Datagrams can be of variable lengths (upto 64 KB)
 Datagrams may travel along different routes and may
arrive out of sequence
 IP does not keep track of the routes
 IP does not have the facility to reorder datagrams
once they arrive
 A datagram contains a header and data
 The header contains a number of fields including
source and destination address
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
20
Comparison of OSI and TCP/IP Models
 The OSI model makes a clear distinction
between services, interfaces and protocols
 Each layer performs some service for the layer
above it
 A layer’s interface tells the processes above it
how to access it. It specifies what the parameters
are and what results to expect (somewhat like a
function declaration)
 The protocols used in a layer are used to get the
job done.
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
21
Comparison of OSI and TCP/IP Models
 The OSI model has 7 layers while the TCP/
IP model has 5 layers
 Both have network, transport, and application
layers, but the other layers are different
 OSI model supports both connectionless and
connection-oriented communication
 TCP/IP supports only connectionless
communication
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
22
References
 “Computer Networks”,
 Tanenbaum A (PHI)
 “Data Communications and Networking”,
 Forouzan B (TMH)
 “Local Area Networks”,
 Keiser (TMH)
November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)
23November 9, 2019
Mukesh N. Tekwani
(mukeshtekwani@outlook.com)

More Related Content

What's hot

What's hot (20)

Ethernet
EthernetEthernet
Ethernet
 
Token ring
Token ringToken ring
Token ring
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Chapter 2 - Network Models
Chapter 2 - Network ModelsChapter 2 - Network Models
Chapter 2 - Network Models
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
 
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
 
Physical layer ppt
Physical layer pptPhysical layer ppt
Physical layer ppt
 
CCCNA R&S-02-The TCP-IP and OSI Networking Models
CCCNA R&S-02-The TCP-IP and OSI Networking ModelsCCCNA R&S-02-The TCP-IP and OSI Networking Models
CCCNA R&S-02-The TCP-IP and OSI Networking Models
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
OSI MODEL - A PROJECT
OSI MODEL - A PROJECTOSI MODEL - A PROJECT
OSI MODEL - A PROJECT
 
transport layer
transport layertransport layer
transport layer
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Computer network unit 1 notes
Computer network unit  1 notesComputer network unit  1 notes
Computer network unit 1 notes
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
DCCN Unit 1.pdf
DCCN Unit 1.pdfDCCN Unit 1.pdf
DCCN Unit 1.pdf
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
 
Framing in data link layer
Framing in data link layerFraming in data link layer
Framing in data link layer
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 

Similar to TCP-IP Reference Model

OSI Model of Networking-09-Nov-2019
OSI Model of Networking-09-Nov-2019OSI Model of Networking-09-Nov-2019
OSI Model of Networking-09-Nov-2019Mukesh Tekwani
 
Slides for protocol layering and network applications
Slides for protocol layering and network applicationsSlides for protocol layering and network applications
Slides for protocol layering and network applicationsjajinekkanti
 
Network security on Cisco routers and switches
Network security on Cisco routers and switchesNetwork security on Cisco routers and switches
Network security on Cisco routers and switchesAlexandros Britzolakis
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxgadisaAdamu
 
OSI model (7 LAYER )
OSI model (7 LAYER )OSI model (7 LAYER )
OSI model (7 LAYER )AAKASH S
 
3G Wireless Access, Abstract
3G Wireless Access, Abstract3G Wireless Access, Abstract
3G Wireless Access, AbstractVictoria Burke
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdfCSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdfBoostHub
 
Unit 3 Assignment 1 Osi Model
Unit 3 Assignment 1 Osi ModelUnit 3 Assignment 1 Osi Model
Unit 3 Assignment 1 Osi ModelJacqueline Thomas
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pptx
CSC1202_3_The_OSI_Reference_Model_-_V2.pptxCSC1202_3_The_OSI_Reference_Model_-_V2.pptx
CSC1202_3_The_OSI_Reference_Model_-_V2.pptxMuhammad Sohail
 
OSI reference Model
OSI reference ModelOSI reference Model
OSI reference ModelJohnson Ubah
 
computer network NCC l4dc assingment
computer network NCC l4dc assingment computer network NCC l4dc assingment
computer network NCC l4dc assingment David Parker
 
Networking-basics
Networking-basicsNetworking-basics
Networking-basicsRaj Alam
 

Similar to TCP-IP Reference Model (20)

OSI Model of Networking-09-Nov-2019
OSI Model of Networking-09-Nov-2019OSI Model of Networking-09-Nov-2019
OSI Model of Networking-09-Nov-2019
 
Slides for protocol layering and network applications
Slides for protocol layering and network applicationsSlides for protocol layering and network applications
Slides for protocol layering and network applications
 
Network security on Cisco routers and switches
Network security on Cisco routers and switchesNetwork security on Cisco routers and switches
Network security on Cisco routers and switches
 
layering.ppt
layering.pptlayering.ppt
layering.ppt
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptx
 
OSI TCP.pptx
OSI TCP.pptxOSI TCP.pptx
OSI TCP.pptx
 
OSI model (7 LAYER )
OSI model (7 LAYER )OSI model (7 LAYER )
OSI model (7 LAYER )
 
3G Wireless Access, Abstract
3G Wireless Access, Abstract3G Wireless Access, Abstract
3G Wireless Access, Abstract
 
Computer networking
Computer networkingComputer networking
Computer networking
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdfCSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
 
CCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukarCCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukar
 
CCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukarCCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukar
 
Unit 3 Assignment 1 Osi Model
Unit 3 Assignment 1 Osi ModelUnit 3 Assignment 1 Osi Model
Unit 3 Assignment 1 Osi Model
 
7 layer OSI model
7 layer OSI model7 layer OSI model
7 layer OSI model
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pptx
CSC1202_3_The_OSI_Reference_Model_-_V2.pptxCSC1202_3_The_OSI_Reference_Model_-_V2.pptx
CSC1202_3_The_OSI_Reference_Model_-_V2.pptx
 
OSI reference Model
OSI reference ModelOSI reference Model
OSI reference Model
 
computer network NCC l4dc assingment
computer network NCC l4dc assingment computer network NCC l4dc assingment
computer network NCC l4dc assingment
 
Networking-basics
Networking-basicsNetworking-basics
Networking-basics
 
Internet1
Internet1Internet1
Internet1
 

More from Mukesh Tekwani

ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - PhysicsMukesh Tekwani
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion Mukesh Tekwani
 
Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Mukesh Tekwani
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversionMukesh Tekwani
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion Mukesh Tekwani
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversionMukesh Tekwani
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Mukesh Tekwani
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prismMukesh Tekwani
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surfaceMukesh Tekwani
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomMukesh Tekwani
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesMukesh Tekwani
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEMukesh Tekwani
 
TISS Computing Skills - Course 1 (B. Voc)
TISS Computing Skills - Course 1 (B. Voc)TISS Computing Skills - Course 1 (B. Voc)
TISS Computing Skills - Course 1 (B. Voc)Mukesh Tekwani
 

More from Mukesh Tekwani (20)

Circular motion
Circular motionCircular motion
Circular motion
 
Gravitation
GravitationGravitation
Gravitation
 
ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - Physics
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion
 
Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Hexadecimal to decimal conversion
Hexadecimal to decimal conversion
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversion
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion
 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversion
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prism
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surface
 
Spherical mirrors
Spherical mirrorsSpherical mirrors
Spherical mirrors
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atom
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lenses
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
 
Cyber Laws
Cyber LawsCyber Laws
Cyber Laws
 
XML
XMLXML
XML
 
Social media
Social mediaSocial media
Social media
 
TISS Computing Skills - Course 1 (B. Voc)
TISS Computing Skills - Course 1 (B. Voc)TISS Computing Skills - Course 1 (B. Voc)
TISS Computing Skills - Course 1 (B. Voc)
 

Recently uploaded

Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一Fs
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 

TCP-IP Reference Model

  • 1. TCP/IP Protocol Mukesh N. Tekwani Mumbai, India mukeshtekwani@outlook.com
  • 2. 2 Objectives  Connection-oriented and connectionless services  The TCP/IP layers  Differences between OSI and TCP/IP models November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 3. 3 Connection-Oriented Services  Connection-oriented service modelled after the telephone system  To talk to someone, pick up a phone, dial the number, talk and disconnect  Similarly, in a network, the service user will  Establish a connection  Use the connection  Release the connection  The sender, receiver and the network may conduct a negotiation about data transfer speed, maximum message size, etc November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 4. 4 Connection-Oriented Services  Connection-oriented service is used when reliability is important  E.g., for file transfer, we want that all bits arrive correctly and in the order they were sent November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 5. 5 Connectionless Services  Connectionless service modelled after the postal system  Each message (letter) carries the full destination address  Each message is routed through the system independent of all others  If two messages are sent to the same destination, normally the first one to be sent should arrive first. But it is possible that the second message arrives first November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 6. 6 TCP/IP Protocol Suite  TCP / IP – Transmission Control Protocol / Internet Protocol  Developed prior to the OSI model  Layers of TCP/IP do not match exactly with those in the OSI model  Used in the Internet  Ability to connect multiple networks in a seamless way was one of the major design goals which led to development of TCP / IP November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 7. 7 TCP/IP Protocol Suite  TCP / IP – refers to a collection of data communication protocols  This name TCP/IP is misleading because TCP and IP are only two of the many protocols that compose the suite  TCP / IP has its origins in the work done by the US Department of Defense. November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 8. 8 TCP / IP Layers Application Transport Internet Data Link Physical Mnemonic All Through Internet Data Passes November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 9. 9 TCP / IP Suite  The TCP / IP suite does not define any specific protocols at the data link and physical layers November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 10. 10 Application Layer  The Application layer is equivalent to the combined OSI Session, Presentation, and Application layers Application Layer = SPA  All the functions handled by these 3 layers in the OSI model are handled by the Application layer in TCP / IP model November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 11. 11 Application Layer  This layer contains all the higher-level protocols  FTP – File Transfer Protocol – basic file transfer between hosts (computers)  SMTP – Simple Mail Transfer Protocol (for email)  HTTP – Hyper Text Transfer Protocol (for web browsing)  Data unit created at this layer is called a message November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 12. 12 Encapsulation of Data  TCP/IP protocol suite encapsulates data units at various layers of the model  At the Application layer, the data unit created is called a message.  The Transport layer adds a header to form either a segment with TCP.  The Network (or Internet) layer adds another header to form a datagram November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 13. 13 Encapsulation of Data  Datagram – A self-contained message unit which contains sufficient information to allow it to be routed from the source to the destination  The protocol used at the data link layer encapsulates the datagram into a frame and this is transmitted across the transmission medium. November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 14. 14 Transport Layer - UDP  This layer is represented by two protocols – TCP and UDP  TCP – Transmission Control Protocol  UDP – User Datagram Protocol  UDP is simpler but is used when reliability and security are less important than size and speed – such as speech, video  Since security and reliability are essential for most applications, TCP is used more often November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 15. 15 Transport Layer - TCP  TCP is a reliable connection-oriented protocol  Allows error-free transmission  Incoming byte stream is fragmented into a number of shorter messages and these are passed on to the next layer  At the receiving end the TCP reassembles the messages into an output stream  TCP also handles flow control – to control data transfer rate November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 16. 16 Transport Layer - TCP  A connection must be established between the sender and the receiver before transmission begins  TCP creates a circuit between sender and receiver for the duration of the transmission  TCP begins each transmission by alerting the receiver that segments are on their way (connection establishment).  Each transmission is ended with connection termination November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 17. 17 Transport Layer - TCP  Each segment created by TCP includes  A sequencing number for re-ordering after receipt.  An acknowledgement ID number  Source address  Destination address  Checksum – for error detection  Data  And other fields November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 18. 18 Internetwork or Network Layer  Also referred to as Network Layer or Internetwork Layer  Internetwork Protocol (IP) is an unreliable and connectionless protocol  It offers a best–effort delivery service  No error checking  IP does its best to get a transmission through to its destination but with no guarantees  Noise can cause bit errors during transmission  Datagrams maybe discarded due to timeout errors  Example of best-effort delivery service is: post-office November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 19. 19 Internetwork or Network Layer  IP transports data in packets called datagrams  Each datagram is transported separately  Datagrams can be of variable lengths (upto 64 KB)  Datagrams may travel along different routes and may arrive out of sequence  IP does not keep track of the routes  IP does not have the facility to reorder datagrams once they arrive  A datagram contains a header and data  The header contains a number of fields including source and destination address November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 20. 20 Comparison of OSI and TCP/IP Models  The OSI model makes a clear distinction between services, interfaces and protocols  Each layer performs some service for the layer above it  A layer’s interface tells the processes above it how to access it. It specifies what the parameters are and what results to expect (somewhat like a function declaration)  The protocols used in a layer are used to get the job done. November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 21. 21 Comparison of OSI and TCP/IP Models  The OSI model has 7 layers while the TCP/ IP model has 5 layers  Both have network, transport, and application layers, but the other layers are different  OSI model supports both connectionless and connection-oriented communication  TCP/IP supports only connectionless communication November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 22. 22 References  “Computer Networks”,  Tanenbaum A (PHI)  “Data Communications and Networking”,  Forouzan B (TMH)  “Local Area Networks”,  Keiser (TMH) November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)
  • 23. 23November 9, 2019 Mukesh N. Tekwani (mukeshtekwani@outlook.com)