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

02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
myl_1116
 
Internet protocol concepts and overview
Internet protocol concepts and overviewInternet protocol concepts and overview
Internet protocol concepts and overview
AGhaKhan01
 
TCP IP
TCP IPTCP IP
TCP IP
hivasu
 

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

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
ssuserf7cd2b
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccna
robertoxe
 
Computer network (12)
Computer network (12)Computer network (12)
Computer network (12)
NYversity
 
Session 2 Tp 2
Session 2 Tp 2Session 2 Tp 2
Session 2 Tp 2
githe26200
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addresses
Amandeep Kaur
 

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

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
giselly40
 
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
vu2urc
 
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
Earley Information Science
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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 Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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...
 
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
 

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.