SlideShare uma empresa Scribd logo
1 de 55
TCP/IP Transmission Control Protocol / Internet Protocol
TCP/IP & OSI ,[object Object],[object Object]
But First ...
Ethernet - A Real Data-Link Layer ,[object Object],[object Object],[object Object]
Ethernet ,[object Object],[object Object],[object Object],[object Object],[object Object]
CSMA/CD   C arrier  S ense  M ultiple  A ccess with C ollision  D etection ,[object Object],[object Object],[object Object]
An Ethernet Frame ,[object Object],[object Object],8 bytes 6 6 2 0-1500 4 Preamble Destination Address Source Address Len CRC DATA
Ethernet Addressing ,[object Object],[object Object]
Back to  TCP/IP
Internet Protocol The IP in TCP/IP ,[object Object],[object Object],[object Object]
IP Datagrams ,[object Object],[object Object],[object Object],An IP packet  is called a  datagram
IP Addresses ,[object Object],[object Object],Rensselaer
IP Addresses ,[object Object],[object Object]
IP Addresses ,[object Object],[object Object],[object Object],[object Object],[object Object],IPv4  (version 4)
The  four   for mats of IP Addresses Class A B C D 0 NetID 10 110 NetID 1110 Multicast Address HostID NetID HostID HostID 8 bits 8 bits 8 bits 8 bits
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Network and Host IDs ,[object Object],[object Object],[object Object]
IP Addresses ,[object Object],[object Object],[object Object],[object Object],CS has a class B network
Host and Network Addresses ,[object Object],[object Object],[object Object]
IP Broadcast and Network Addresses ,[object Object],[object Object],[object Object]
Subnet Addresses ,[object Object],[object Object],10 NetID SubnetID HostID
Subnetting router Subnet 1 128.213.1.x Subnet 2 128.213.2.x Subnet 3 128.213.3.x
Subnetting ,[object Object],[object Object],[object Object]
Mapping IP Addresses  to Hardware Addresses ,[object Object],[object Object],[object Object],[object Object]
Reverse Address Resolution ,[object Object],[object Object],[object Object]
ARP ,[object Object],[object Object],[object Object],Arp Arp!
ARP (cont.) ,[object Object],[object Object]
ARP conversation HEY - Everyone please listen!  Will  128.213.1.5  please send me his/her Ethernet address? not me Hi Green! I’m 128.213.1.5, and my Ethernet address is  87:A2:15:35:02:C3
RARP conversation HEY - Everyone please listen!  My Ethernet address is  22:BC:66:17:01:75. Does anyone know my IP address ? Hi Green! Your IP address is  128.213.1.17 . not me
Services provided by IP ,[object Object],[object Object],[object Object],[object Object],[object Object]
IP Datagram 1 byte 1 byte 1 byte 1 byte VERS HL Fragment Offset Fragment Length Service Datagram ID FLAG TTL Protocol Header Checksum Source Address Destination Address Options (if any) Data
IP Datagram Fragmentation ,[object Object],[object Object],[object Object]
IP Flow Control & Error Detection ,[object Object],[object Object]
ICMP Internet Control Message Protocol ,[object Object],[object Object],[object Object]
ICMP Message Types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IP/BYE-BYE ,[object Object],[object Object]
Transport Layer & TCP/IP ,[object Object],[object Object],[object Object]
Process Layer Transport Layer Network Layer Data-Link Layer ICMP, ARP  & RARP TCP UDP IP 802.3 Process Process
UDP User Datagram Protocol ,[object Object],[object Object],[object Object],[object Object]
Ports ,[object Object],[object Object],[object Object],Ports spelled backwards is  strop ... Coincidence? (I think not!)
Ports Host A Host B Process Process Process Process Process Process
UDP ,[object Object],[object Object],[object Object],[object Object],UDP Datagram Format The term  datagram  is also used to describe the unit of transfer of UDP! Source Port Destination Port Length Checksum Data
TCP Transmission Control Protocol ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Connection-Oriented ,[object Object],[object Object],[object Object]
Reliable ,[object Object],[object Object],Reliable does not mean that things don't go wrong, it means that we find out when things go wrong.
Byte Stream ,[object Object],[object Object],Somebody needs to do this since IP is delivering all the data, it's just that the application layer doesn't need to do this!
Buffering ,[object Object],[object Object]
Full Duplex ,[object Object],[object Object]
TCP Ports ,[object Object],[object Object]
TCP Segments ,[object Object],[object Object],[object Object],[object Object]
TCP Segment Format  1 byte 1 byte 1 byte 1 byte Destination Port Options (if any) Data Source Port Sequence Number Request Number offset Reser. Control Window Checksum Urgent Pointer
Addressing in TCP/IP ,[object Object],[object Object],[object Object],[object Object],NOTE: TCP/IP is a  protocol suite  that includes IP, TCP and UDP.
TCP vs. UDP ,[object Object],[object Object],[object Object],[object Object]
TCP/IP Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hmmmmm. TCP or UDP ? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Mais conteúdo relacionado

Mais procurados (20)

02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
 
TCP/IP Protocols
TCP/IP ProtocolsTCP/IP Protocols
TCP/IP Protocols
 
Overview of TCP IP
Overview of TCP IPOverview of TCP IP
Overview of TCP IP
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol Architeture
 
FEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP IntroductionFEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP Introduction
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Internet protocol concepts and overview
Internet protocol concepts and overviewInternet protocol concepts and overview
Internet protocol concepts and overview
 
Tcp ip tutorial
Tcp ip tutorialTcp ip tutorial
Tcp ip tutorial
 
TCP IP
TCP IPTCP IP
TCP IP
 
Ch02 TCP/IP Concepts Review
Ch02 TCP/IP Concepts ReviewCh02 TCP/IP Concepts Review
Ch02 TCP/IP Concepts Review
 
TCP/IP Introduction
TCP/IP Introduction TCP/IP Introduction
TCP/IP Introduction
 
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
 
TCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet ProtocolTCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet Protocol
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
TCP-IP PROTOCOL
TCP-IP PROTOCOLTCP-IP PROTOCOL
TCP-IP PROTOCOL
 
TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.TCP/IP Training Basic Concepts.
TCP/IP Training Basic Concepts.
 
Network infrastructure - TCP/IP
Network infrastructure - TCP/IPNetwork infrastructure - TCP/IP
Network infrastructure - TCP/IP
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 

Semelhante a TCPIP

Semelhante a TCPIP (20)

Lecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignmentsLecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignments
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slides
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
 
lecture-2-tcp-ip.ppt
lecture-2-tcp-ip.pptlecture-2-tcp-ip.ppt
lecture-2-tcp-ip.ppt
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
 
C14-TCPIP.ppt
C14-TCPIP.pptC14-TCPIP.ppt
C14-TCPIP.ppt
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccna
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccna
 
Ccna1v3 Mod09
Ccna1v3 Mod09Ccna1v3 Mod09
Ccna1v3 Mod09
 
Computer network (12)
Computer network (12)Computer network (12)
Computer network (12)
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
 
TCP Model
TCP ModelTCP Model
TCP Model
 
Linux Internals - Interview essentials 2.0
Linux Internals - Interview essentials 2.0Linux Internals - Interview essentials 2.0
Linux Internals - Interview essentials 2.0
 
Hardware9
Hardware9Hardware9
Hardware9
 
Session 2 Tp 2
Session 2 Tp 2Session 2 Tp 2
Session 2 Tp 2
 
IP Address
IP AddressIP Address
IP Address
 
Introduction to networking
Introduction to networkingIntroduction to networking
Introduction to networking
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addresses
 
Clase 1 Direccionamiento IPv4.pdf
Clase 1 Direccionamiento IPv4.pdfClase 1 Direccionamiento IPv4.pdf
Clase 1 Direccionamiento IPv4.pdf
 

Último

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

TCPIP

  • 1. TCP/IP Transmission Control Protocol / Internet Protocol
  • 2.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Back to TCP/IP
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. The four for mats of IP Addresses Class A B C D 0 NetID 10 110 NetID 1110 Multicast Address HostID NetID HostID HostID 8 bits 8 bits 8 bits 8 bits
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. Subnetting router Subnet 1 128.213.1.x Subnet 2 128.213.2.x Subnet 3 128.213.3.x
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28. ARP conversation HEY - Everyone please listen! Will 128.213.1.5 please send me his/her Ethernet address? not me Hi Green! I’m 128.213.1.5, and my Ethernet address is 87:A2:15:35:02:C3
  • 29. RARP conversation HEY - Everyone please listen! My Ethernet address is 22:BC:66:17:01:75. Does anyone know my IP address ? Hi Green! Your IP address is 128.213.1.17 . not me
  • 30.
  • 31. IP Datagram 1 byte 1 byte 1 byte 1 byte VERS HL Fragment Offset Fragment Length Service Datagram ID FLAG TTL Protocol Header Checksum Source Address Destination Address Options (if any) Data
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38. Process Layer Transport Layer Network Layer Data-Link Layer ICMP, ARP & RARP TCP UDP IP 802.3 Process Process
  • 39.
  • 40.
  • 41. Ports Host A Host B Process Process Process Process Process Process
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51. TCP Segment Format 1 byte 1 byte 1 byte 1 byte Destination Port Options (if any) Data Source Port Sequence Number Request Number offset Reser. Control Window Checksum Urgent Pointer
  • 52.
  • 53.
  • 54.
  • 55.