SlideShare a Scribd company logo
1 of 40
TCP/IP
TCP/IP
 Transmission Control
Protocol/Internet Protocol (TCP/IP)
 Developed by the Defence
Advanced Research Projects
Agency (DARPA).
 Advanced Research Projects
Agency (ARPA). 1969
 Now the de facto standard for
internetwork communications
TCP/IP
PROCESS/
APPLICATION
TRANSPORT
INTERNET
NETWORK
ACCESS
UPPER LAYER
LOWER LAYER
TCP/IP AND OSI LAYER
PROCESS/
APPLICATION
TRANSPORT
INTERNET
NETWORK
ACCESS
Presentation
Session
Transport
Network
Data Link
Application
Physical
TCP/IP
PROCESS/
APPLICATION
TRANSPORT
INTERNET
NETWORK
ACCESS
TELNET FTP LPD SNMP TFTP SMTP NFS
XWINDOWS
TCP UDP
ICMP ARP RARP
IP
ETHERNET FAST ETHERNET TOKEN RING
FDDI
APPLICATION LAYER
 Telnet
 File transfer Protocol (FTP)
 Trivial File Transfer Protocol (TFTP)
 Network File Sharing (NFS)
 Line Printer Daemon (LPD)
 X Window
 Simple Network Management Protocol (SNMP)
 Domain Name Service (DNS)
 Dynamic Host Configuration Protocol (DHCP)
 BootP (Bootstrap Protocol)
FTP APPLICATION
Telnet application
SNMP MANAGEMENT
SERVICE
TRANSPORT LAYER
 Ensure that segment divered will be
acknowledged to the sender
 Provide for retransmission of any segment
that are not acknowledged
 Put segment back into their correct
sequence at the destination
 Provide congestion avoidance and control
TRANSPORT LAYER
 Transmission Control Protocol (TCP)
- Connection-Oriented
 User Datagram Protocol (UDP)
- Connection-less
Transmission Control Protocol
(TCP)
 TCP is a connection-oriented transport
layer protocol that provides data
transmission
 connection is established between both
ends before the transfer of information
can begin
Transmission Control Protocol
(TCP)
Flow Control…
PROCESS/
APPLICATION
TRANSPORT
Establishing a Connection with a
Peer System
Transmission Control Protocol
(TCP)
 FLOW CONTROL
Transmission Control Protocol
(TCP)
 Three way hand shake
Transmission Control Protocol
(TCP)
Transmission Control Protocol
(TCP)
Windowing
Transmission Control Protocol
(TCP)
TCP Sequence and
Acknowledgment
Transmission Control Protocol
(TCP)
TCP SEGMENT FORMAT
Transmission Control Protocol
(TCP)
 Source port – Number of the port that sends data
 Destination port – Number of the port that receives data
 Sequence number – Number used to ensure the data arrives
in the correct order
 Acknowledgment number – Next expected TCP octet
 HLEN – Number of 32-bit words in the header
 Reserved – Set to zero
 Code bits – Control functions, such as setup and termination of
a session
 Window – Number of octets that the sender will accept
 Checksum – Calculated checksum of the header and data fields
 Urgent pointer – Indicates the end of the urgent data
 Option – One option currently defined, maximum TCP segment
size
 Data – Upper-layer protocol data
 The following protocols use TCP:
- FTP
- HTTP
- SMTP
- Telnet
- ICMP
Transmission Control Protocol
(TCP)
USER DATAGRAM
PROTOCOL (UDP)
 UDP is a simple protocol that exchanges datagrams
without guaranteed delivery
 UDP does not use windows or ACKs
 UDP is designed for applications that do not need to put
sequences of segments together
USER DATAGRAM
PROTOCOL (UDP)
UDP SEGMENT
USER DATAGRAM
PROTOCOL (UDP)
 Source port – Number of the port that sends
data
 Destination port – Number of the port that
receives data
 Length – Number of bytes in header and data
 Checksum – Calculated checksum of the header
and data fields
 Data – Upper-layer protocol data
USER DATAGRAM
PROTOCOL (UDP)
 The following protocols use
UDP:
- TFTP
- SNMP
- DHCP
- DNS
TRANSPORT LAYER
INTERNET LAYER
 IP (Internet Protocol)
 ARP/RARP (Address Resolution Protocol)/
(Reverse Address Resolution Protocol)
 ICMP (Internet Control Message Protocol )
ICMP (Internet Control
Message Protocol )
ICMP (Internet Control
Message Protocol )
IP (Internet Protocol)
 IP Public
 IP Private
IP (Internet Protocol)
IP Public
IP (Internet Protocol)
 IP Private
Class A 10.0.0 – 10.255.255.255
Class B 172.16.0.0 – 172.31.255.255
Class C 192.168.0.0 – 192.168.255.255
ARP/RARP
 ARP (Address Resolution Protocol)
 RARP (Address Resolution Protocol)
NETWORK ACCESS LAYER
 FDDI
 ETHERNET
 FAST ETHERNET
 FRAME RELAY
192.168.30.0/24
255.255.255.0
1111111.11111111.1111111.11000000
1= network ID
0= HOST
NO IP
RANGE
NETWORK ID BROADCAST
0 1-62 0 63
1 65-126 64 127
2 129-190 128 191
3 192-254 192 255
Network 1
Network 2
/24
/26
255.255.255.192
192.168.20.0/24
KEBUTUHAN 5 NETWORK
1. 1. 1. 0. 0.0.0.0
128.64.32.16.8.4.2.0
/27
255.255.255.224
NO IP
RANGE
NETWORK ID BROADCAST
0 1-30 0 31
1 33-62 32 63
2 65-94 64 95
3 97-126 96 127
4 129-158 128 159
5 161-190 160 191
6 193-222 192 223
7 225-254 224 255

More Related Content

What's hot

What is TCP/IP
What is TCP/IPWhat is TCP/IP
What is TCP/IP
farhan516
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
Mohd Arif
 

What's hot (20)

Tcp ip tutorial
Tcp ip tutorialTcp ip tutorial
Tcp ip tutorial
 
What is TCP/IP
What is TCP/IPWhat is TCP/IP
What is TCP/IP
 
FEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP IntroductionFEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP Introduction
 
Ch02 TCP/IP Concepts Review
Ch02 TCP/IP Concepts ReviewCh02 TCP/IP Concepts Review
Ch02 TCP/IP Concepts Review
 
Protocol architecture TCP IP
Protocol architecture TCP IPProtocol architecture TCP IP
Protocol architecture TCP IP
 
eTwinning - TCP/IP: Internet layer
eTwinning - TCP/IP: Internet layereTwinning - TCP/IP: Internet layer
eTwinning - TCP/IP: Internet layer
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IP
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IP
 
TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP Model
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
 
TCP/IP Presentation
TCP/IP PresentationTCP/IP Presentation
TCP/IP Presentation
 
TCP/IP Introduction
TCP/IP Introduction TCP/IP Introduction
TCP/IP Introduction
 

Viewers also liked (8)

World wide web
World wide webWorld wide web
World wide web
 
Design for File Transfer Protocol
Design for File Transfer ProtocolDesign for File Transfer Protocol
Design for File Transfer Protocol
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
TCPIP
TCPIPTCPIP
TCPIP
 
File transfer protocol (ftp)
File transfer protocol (ftp)File transfer protocol (ftp)
File transfer protocol (ftp)
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
Osi model vs TCP/IP
Osi model vs TCP/IPOsi model vs TCP/IP
Osi model vs TCP/IP
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar to TCP IP

Transporting voice by using IP
Transporting voice by using IPTransporting voice by using IP
Transporting voice by using IP
Muhammad Jahangir
 
Chapter 01 - Overview
Chapter 01 - OverviewChapter 01 - Overview
Chapter 01 - Overview
phanleson
 
Solar windsportrequirements
Solar windsportrequirementsSolar windsportrequirements
Solar windsportrequirements
nasac
 

Similar to TCP IP (20)

TCP Model
TCP ModelTCP Model
TCP Model
 
Transport Layer Port or TCP/IP & UDP Port
Transport Layer Port or TCP/IP & UDP PortTransport Layer Port or TCP/IP & UDP Port
Transport Layer Port or TCP/IP & UDP Port
 
QSpiders - Upper layer-protocols
QSpiders - Upper layer-protocolsQSpiders - Upper layer-protocols
QSpiders - Upper layer-protocols
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Transporting voice by using IP
Transporting voice by using IPTransporting voice by using IP
Transporting voice by using IP
 
Mod4
Mod4Mod4
Mod4
 
CCNA Interview.pdf
CCNA Interview.pdfCCNA Interview.pdf
CCNA Interview.pdf
 
Chapter04 -- network protocols
Chapter04  -- network protocolsChapter04  -- network protocols
Chapter04 -- network protocols
 
Normas y Estándares
Normas y EstándaresNormas y Estándares
Normas y Estándares
 
Chapter 01 - Overview
Chapter 01 - OverviewChapter 01 - Overview
Chapter 01 - Overview
 
Wireshark Basics
Wireshark BasicsWireshark Basics
Wireshark Basics
 
Network
NetworkNetwork
Network
 
Sem 1 Ch 11
Sem 1 Ch 11Sem 1 Ch 11
Sem 1 Ch 11
 
CCNA Routing and Switching Lesson 03 - TCP & IP - Eric Vanderburg
CCNA Routing and Switching Lesson 03 - TCP & IP - Eric VanderburgCCNA Routing and Switching Lesson 03 - TCP & IP - Eric Vanderburg
CCNA Routing and Switching Lesson 03 - TCP & IP - Eric Vanderburg
 
1.1.2 - Concept of Network and TCP_IP Model (2).pptx
1.1.2 - Concept of Network and TCP_IP Model (2).pptx1.1.2 - Concept of Network and TCP_IP Model (2).pptx
1.1.2 - Concept of Network and TCP_IP Model (2).pptx
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Solar windsportrequirements
Solar windsportrequirementsSolar windsportrequirements
Solar windsportrequirements
 
Lecture 04
Lecture 04Lecture 04
Lecture 04
 
IP Utilites
IP UtilitesIP Utilites
IP Utilites
 

Recently uploaded

AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
ellan12
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 

Recently uploaded (20)

AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
 
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 

TCP IP