SlideShare ist ein Scribd-Unternehmen logo
1 von 20
AD
N
TCP/IP
Transmission Control Protocol / Internet Protocol...
Communications Protocol
• All communications between devices require that the devices agree on the format
of the data. The set of rules defining a format is called a protocol. At the very least,
a communications protocol must define the following:
• rate of transmission (in baud or bps)
• whether transmission is to be synchronous or asynchronous
• whether data is to be transmitted in half-duplex or full-duplex mode
• In addition, protocols can include sophisticated techniques for detecting and
recovering from transmission errors and for encoding and decoding data.
TCP/IP
• The Internet protocol suite is the set of
communications protocols which is used
for the Internet and similar networks.
• Generally the most popular protocol stack
for wide area networks.
• It is occasionally known as the DoD model
due to the foundational influence of the
ARPANET.
• TCP/IP provides end-to-end connectivity
• Basically it contain 4 layers.
• Creates a reliable connection between
two computers. TCP is one of the main
protocols in TCP/IP networks. Whereas
the IP protocol deals only with packets,
TCP enables two hosts to establish a
connection and exchange streams of
data. TCP guarantees delivery of data
and also guarantees that packets will be
delivered in the same order in which
they were sent.
Transmission Control
Protocol (TCP)
INTERNET PROTOCOL
(IP)
• Provides addressing scheme.. IP specifies the
format of packets, also called datagrams, and
the addressing scheme. Most networks
combine IP with a higher-level protocol called
Transmission Control Protocol (TCP), which
establishes a virtual connection between a
destination and a source.
• IP by itself is something like the postal system. It
allows you to address a package and drop it in
the system, but there's no direct link between
you and the recipient. TCP/IP, on the other hand,
establishes a connection between two hosts so
that they can send messages back and forth for
a period of time.
• The current version of IP is IPv4. A new version,
called IPv6 or IPng, is under development.
TCP Header
• Before data is sent, the transmitting host
contacts the receiving host to set up a
connection-P n known as a virtual circuit. This
makes T-Connection-oriented. During the
handshake the two hosts agree upon the
amount of information to be sent before an
acknowledgment is needed (Windowing). TCP
takes the large blocks of data from the upper
layers and breaks them up into segments that it
numbers and sequences. TCP will the pass the
segments to the network layer, which will route
them through the Internetwork. The receiving
TCP can put the segments back into order. After
packets are sent, TCP waits for an
acknowledgment from the receiving end of the
virtual circuit. If no acknowledgment is received
then the sending host will retransmit the
segment
Main Function of TCP/IP...
TCP accepts data from applications and segments it into a desirable
size for transmission between itself and the remote devices. The
segment size is determined while TCP is negotiating the connection
between the two devices. Either device can dictate the segment size.
TCP maintains timers to identify when packets have taken too long to
get to their destination. When an acknowledgment is not received for
a packet and the timer expires, TCP will resend the packet to the
destination.
TCP/IP uses sequence numbers to ensure that all packets sent by an
application on one device are read in the correct order by an
application on another device. The packets might not be received at
the transport layer in the correct order, but TCP sequences them in
their original order before passing them to the application layer.
Any time two devices are communicating, the possibility exists that
one device can send data faster than the other can accept it. If this
happens, the receiving device puts the extra packets into a buffer to
be read at the first chance it gets. When this data overflow persists,
however, the buffer is eventually filled and packets begin to drop. TCP
performs some preventive maintenance called flow control to avoid
the problem.
Provides acknowledgment times
Segments application layer data stream
Enables sequence number checking
Provides buffer management
Main Function of TCP/IP..
TCP uses the concept of the three-way handshake to initiate a
connection between two devices.
• A TCP connection begins with a device sending a request to
synchronize sequence numbers (a SYN packet) and initiate a
connection.
• The other device receives the message and responds with a SYN
message and the sequence number increased by one.
• The first device responds by sending an acknowledgment
message (an ACK) to the second device, indicating that the device
received the sequence number it expected.
TCP uses a checksum to identify packets that have changed during
transport. If a device receives a packet with a bad checksum, it
drops the packet and does not send an acknowledgment for the
packet. So the sending device will resend the packet. Any time TCP
receives a duplicate packet it will drop the duplicate.
Any time a TCP device sends data to another device, it must wait for
the acknowledgment that this data was received, To increase the
bandwidth utilization, TCP can change the window size. Whatever
the window size is negotiated to be, acknowledgments will only be
sent after that many packets have been received at the receiving
device. TCP sets the window size dynamically during a connection,
allowing either device involved in the communication to slow down
the sending data rate based on the other devices capacity. This
process is known as sliding window because of TCP's ability to
Initiates connections with 3-way handshake
Performs acknowledgment windowing
Performs error and duplication checking
Layer
Name
Common
Components
OSI
Reference
Application
HTTP, SMTP, POP3
FTP, DNS
Application
Presentation
Session
Transport TCP, UDP Transport
Network
IP, ICMP Network
Physical
Ethernet, FDDI
Data Link
Physical
TCP-IPModel
Working..
APPLICATION LAYER
• This layer makes the Communication B/w
Program and Transport protocol.
• Protocols :-
HTTP,SMTP,FTP,SNMP,DNS,TELNET
• Application Layer talks to the transport
layer through a port . SMTP-25, HTTP-80,
FTP-20,21
APPLICATION
TRANSPORT
• The Transport Layer get data from
the Application Layer and Divided it
into several data packets.
• Both UDP and TCP will get the data
from the Application layer and add a
HEADER to it when transmitting
data. On this header there are
several control information, in a
particular the source port number.
• UDP header has 8bytes while TCP
header has 20 or 24 Bytes.
Working..
NETWORK LAYER
• The network layer is responsible for
packet forwarding including routing
through intermediate routers,
whereas the data link layer is
responsible for media access
control, flow control and error
checking.
• The network layer provides the
functional and procedural means of
transferring variable length data
sequences from a source to a
destination host via one or more
networks while maintaining the
quality of service functions.
Working..
TRANSPORT LAYER
Working..
PHYSICAL LAYER
• This layer is define by what type of
Physical Network your computer is
connected to. Almost always connected
to an Ethernet Network.
• TCP/IP is the set of protocol that deals
with layers 3 to 7 from OSI reference
model, while Ethernet is a set of
protocol that deals with layer 1 and 2
form OSI.
• Ethernet has three Layers
1. Logic Link control (LLC)
2. Media Access Control (MAC)
3. Physical
Logic Link Control (LLC)
•The Logic Link layer (LLC) is in charge of
adding information of which protocol on the
Internet layer delivered data to be
transmitted, so when receiving a frame from
the network this layer on the receiving
computer has to know to which protocol
from the Physical layer it should deliver data.
This Layer is Define by IEEE 808.2 Protocol.
Media Access Control (MAC)
• The Media Access Control layer (MAC) is in change of assembling
the frame that will be sent over the network.
• This Layer is in charge of adding the source MAC address and the
target MAC address – as we explained before.
• MAC address is the physical address of a network Card
• Frames That are targeted to another network will use the router
MAC address as the target address.
• This Layer is defined by IEEE 802.3 Protocol, if a cabled network is
being used, or by IEEE 802.11 Protocol, if a wireless network is Being
Used.
Physical Layer
• The Physical layer is in charge of converting the
frame Generated by the MAC layer into electricity
(if a cable network is used) or into
electromagnetic waves (if a wireless network is
being used).
• This layer is also defined by IEEE 802.3 Protocol, If
a Cable network is used, or by IEEE 802.11 Protocol,
if a Wireless network is used
Full Physical Layer..
Some Universal References..
• http://www.google.com
• http://www.Wikipedia.org
• http://computer.howstuffworks.com/osi1.htm
• http://www.hardwaresecrets.com/article/How-TCP-IP-Protocol-Works-Part-1/433
• http://netcert.tripod.com/ccna/internetworking/dod.html
By :-
NIKET.CH & VIKAS
PANDEY
E-mail :-
vikaspandey786@hotmail.com
niket786@hotmail.com
Website :-
http:/niket786.webs.com
Blog :-
innovtechno.blogspot.com
Slide Share :-
Facebook :-
http://www.fb.com/niket786
http:/www.fb.com/vikaspandey03

Weitere ähnliche Inhalte

Was ist angesagt?

networking device router,switches & bridges
networking device router,switches & bridgesnetworking device router,switches & bridges
networking device router,switches & bridgeskeyur Nandaniya
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layerNaiyan Noor
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devicesRajesh Sadhukha
 
Guided and unguided media
Guided and unguided mediaGuided and unguided media
Guided and unguided mediaHassan Osama
 
transport layer
transport layer transport layer
transport layer usman19
 
Tcp vs udp difference and comparison diffen
Tcp vs udp   difference and comparison   diffenTcp vs udp   difference and comparison   diffen
Tcp vs udp difference and comparison diffenHarikiran Raju
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsPeter R. Egli
 
User Datagram protocol For Msc CS
User Datagram protocol For Msc CSUser Datagram protocol For Msc CS
User Datagram protocol For Msc CSThanveen
 
Resource reservation protocol
Resource reservation protocolResource reservation protocol
Resource reservation protocolAtakan ATAK
 
What is Ethernet
What is EthernetWhat is Ethernet
What is EthernetSimplilearn
 
TCP/IP Model
TCP/IP ModelTCP/IP Model
TCP/IP Modelfarhan516
 
Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerFaizan Shaikh
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCPVishal Tandel
 
Difference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP LayerDifference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP LayerNetwax Lab
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Dr. SELVAGANESAN S
 

Was ist angesagt? (20)

networking device router,switches & bridges
networking device router,switches & bridgesnetworking device router,switches & bridges
networking device router,switches & bridges
 
osi vs tcp/ip
osi vs tcp/iposi vs tcp/ip
osi vs tcp/ip
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
 
aloha
alohaaloha
aloha
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devices
 
Guided and unguided media
Guided and unguided mediaGuided and unguided media
Guided and unguided media
 
transport layer
transport layer transport layer
transport layer
 
Tcp vs udp difference and comparison diffen
Tcp vs udp   difference and comparison   diffenTcp vs udp   difference and comparison   diffen
Tcp vs udp difference and comparison diffen
 
Understanding TCP/IP
Understanding TCP/IPUnderstanding TCP/IP
Understanding TCP/IP
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE Protocols
 
User Datagram protocol For Msc CS
User Datagram protocol For Msc CSUser Datagram protocol For Msc CS
User Datagram protocol For Msc CS
 
Resource reservation protocol
Resource reservation protocolResource reservation protocol
Resource reservation protocol
 
What is Ethernet
What is EthernetWhat is Ethernet
What is Ethernet
 
TCP/IP Model
TCP/IP ModelTCP/IP Model
TCP/IP Model
 
Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication header
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCP
 
Difference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP LayerDifference between OSI Layer & TCP/IP Layer
Difference between OSI Layer & TCP/IP Layer
 
Tcp/Ip Model
Tcp/Ip ModelTcp/Ip Model
Tcp/Ip Model
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer
 

Andere mochten auch

Modern c++ (C++ 11/14)
Modern c++ (C++ 11/14)Modern c++ (C++ 11/14)
Modern c++ (C++ 11/14)Geeks Anonymes
 
C++17 introduction - Meetup @EtixLabs
C++17 introduction - Meetup @EtixLabsC++17 introduction - Meetup @EtixLabs
C++17 introduction - Meetup @EtixLabsStephane Gleizes
 
Web I - 05 - HTTP Protocol
Web I - 05 - HTTP ProtocolWeb I - 05 - HTTP Protocol
Web I - 05 - HTTP ProtocolRandy Connolly
 
C++11 concurrency
C++11 concurrencyC++11 concurrency
C++11 concurrencyxu liwei
 
"Http protocol and other stuff" by Bipin Upadhyay
"Http protocol and other stuff" by Bipin Upadhyay"Http protocol and other stuff" by Bipin Upadhyay
"Http protocol and other stuff" by Bipin UpadhyayBipin Upadhyay
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol BasicChuong Mai
 
C++17 - the upcoming revolution (Code::Dive 2015)/
C++17 - the upcoming revolution (Code::Dive 2015)/C++17 - the upcoming revolution (Code::Dive 2015)/
C++17 - the upcoming revolution (Code::Dive 2015)/Sławomir Zborowski
 
Networking - TCP/IP stack introduction and IPv6
Networking - TCP/IP stack introduction and IPv6Networking - TCP/IP stack introduction and IPv6
Networking - TCP/IP stack introduction and IPv6Rodolfo Kohn
 
Elements of C++11
Elements of C++11Elements of C++11
Elements of C++11Uilian Ries
 
Database connectivity to sql server asp.net
Database connectivity to sql server asp.netDatabase connectivity to sql server asp.net
Database connectivity to sql server asp.netHemant Sankhla
 
C++11 Idioms @ Silicon Valley Code Camp 2012
C++11 Idioms @ Silicon Valley Code Camp 2012 C++11 Idioms @ Silicon Valley Code Camp 2012
C++11 Idioms @ Silicon Valley Code Camp 2012 Sumant Tambe
 
C++ 11 Style : A Touch of Class
C++ 11 Style : A Touch of ClassC++ 11 Style : A Touch of Class
C++ 11 Style : A Touch of ClassYogendra Rampuria
 
C# Tutorial MSM_Murach chapter-17-slides
C# Tutorial MSM_Murach chapter-17-slidesC# Tutorial MSM_Murach chapter-17-slides
C# Tutorial MSM_Murach chapter-17-slidesSami Mut
 
C++11 smart pointers
C++11 smart pointersC++11 smart pointers
C++11 smart pointerschchwy Chang
 
Cpp17 and Beyond
Cpp17 and BeyondCpp17 and Beyond
Cpp17 and BeyondComicSansMS
 

Andere mochten auch (20)

Modern c++ (C++ 11/14)
Modern c++ (C++ 11/14)Modern c++ (C++ 11/14)
Modern c++ (C++ 11/14)
 
C++17 introduction - Meetup @EtixLabs
C++17 introduction - Meetup @EtixLabsC++17 introduction - Meetup @EtixLabs
C++17 introduction - Meetup @EtixLabs
 
Web I - 05 - HTTP Protocol
Web I - 05 - HTTP ProtocolWeb I - 05 - HTTP Protocol
Web I - 05 - HTTP Protocol
 
Bjarne essencegn13
Bjarne essencegn13Bjarne essencegn13
Bjarne essencegn13
 
C++11
C++11C++11
C++11
 
C++11
C++11C++11
C++11
 
C++11 concurrency
C++11 concurrencyC++11 concurrency
C++11 concurrency
 
"Http protocol and other stuff" by Bipin Upadhyay
"Http protocol and other stuff" by Bipin Upadhyay"Http protocol and other stuff" by Bipin Upadhyay
"Http protocol and other stuff" by Bipin Upadhyay
 
C++11 & C++14
C++11 & C++14C++11 & C++14
C++11 & C++14
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
 
C++17 - the upcoming revolution (Code::Dive 2015)/
C++17 - the upcoming revolution (Code::Dive 2015)/C++17 - the upcoming revolution (Code::Dive 2015)/
C++17 - the upcoming revolution (Code::Dive 2015)/
 
Networking - TCP/IP stack introduction and IPv6
Networking - TCP/IP stack introduction and IPv6Networking - TCP/IP stack introduction and IPv6
Networking - TCP/IP stack introduction and IPv6
 
Elements of C++11
Elements of C++11Elements of C++11
Elements of C++11
 
Database connectivity to sql server asp.net
Database connectivity to sql server asp.netDatabase connectivity to sql server asp.net
Database connectivity to sql server asp.net
 
C++11 Idioms @ Silicon Valley Code Camp 2012
C++11 Idioms @ Silicon Valley Code Camp 2012 C++11 Idioms @ Silicon Valley Code Camp 2012
C++11 Idioms @ Silicon Valley Code Camp 2012
 
C++14 Overview
C++14 OverviewC++14 Overview
C++14 Overview
 
C++ 11 Style : A Touch of Class
C++ 11 Style : A Touch of ClassC++ 11 Style : A Touch of Class
C++ 11 Style : A Touch of Class
 
C# Tutorial MSM_Murach chapter-17-slides
C# Tutorial MSM_Murach chapter-17-slidesC# Tutorial MSM_Murach chapter-17-slides
C# Tutorial MSM_Murach chapter-17-slides
 
C++11 smart pointers
C++11 smart pointersC++11 smart pointers
C++11 smart pointers
 
Cpp17 and Beyond
Cpp17 and BeyondCpp17 and Beyond
Cpp17 and Beyond
 

Ähnlich wie TCP/IP

presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationsAnyapuPranav
 
Lecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxLecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxRonoh Kennedy
 
Transport Layer [Autosaved]
Transport Layer [Autosaved]Transport Layer [Autosaved]
Transport Layer [Autosaved]Ram Dutt Shukla
 
Unit 4 tansport layer in the internat
Unit 4 tansport layer in the internatUnit 4 tansport layer in the internat
Unit 4 tansport layer in the internatKritika Purohit
 
Protocol architecture TCP IP
Protocol architecture TCP IPProtocol architecture TCP IP
Protocol architecture TCP IPToufiqueAhmed13
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake Alok Tripathi
 
Computer network coe351- part2- final
Computer network coe351- part2- finalComputer network coe351- part2- final
Computer network coe351- part2- finalTaymoor Nazmy
 
aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdf
aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdfaaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdf
aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdfnemibo1807
 
CISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network FundamentalCISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network FundamentalKarthikeyan Dhayalan
 
tcp-ippresentation-150614172243-lva1-app6892.pptx
tcp-ippresentation-150614172243-lva1-app6892.pptxtcp-ippresentation-150614172243-lva1-app6892.pptx
tcp-ippresentation-150614172243-lva1-app6892.pptxAlphaKoiSylvester
 

Ähnlich wie TCP/IP (20)

presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
 
計概
計概計概
計概
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Lecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxLecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptx
 
TCP /IP
TCP /IPTCP /IP
TCP /IP
 
Mod4
Mod4Mod4
Mod4
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Transport Layer [Autosaved]
Transport Layer [Autosaved]Transport Layer [Autosaved]
Transport Layer [Autosaved]
 
Unit 4 tansport layer in the internat
Unit 4 tansport layer in the internatUnit 4 tansport layer in the internat
Unit 4 tansport layer in the internat
 
TCP Vs UDP
TCP Vs UDP TCP Vs UDP
TCP Vs UDP
 
Protocol architecture TCP IP
Protocol architecture TCP IPProtocol architecture TCP IP
Protocol architecture TCP IP
 
Transport layer.pptx
Transport layer.pptxTransport layer.pptx
Transport layer.pptx
 
Module 1 slides
Module 1 slidesModule 1 slides
Module 1 slides
 
Tcp3 wayhandshakeprocess
Tcp3 wayhandshakeprocessTcp3 wayhandshakeprocess
Tcp3 wayhandshakeprocess
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake
 
TCP/IP & UDP
TCP/IP & UDPTCP/IP & UDP
TCP/IP & UDP
 
Computer network coe351- part2- final
Computer network coe351- part2- finalComputer network coe351- part2- final
Computer network coe351- part2- final
 
aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdf
aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdfaaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdf
aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdf
 
CISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network FundamentalCISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network Fundamental
 
tcp-ippresentation-150614172243-lva1-app6892.pptx
tcp-ippresentation-150614172243-lva1-app6892.pptxtcp-ippresentation-150614172243-lva1-app6892.pptx
tcp-ippresentation-150614172243-lva1-app6892.pptx
 

Mehr von Niket Chandrawanshi

Mehr von Niket Chandrawanshi (10)

How MQTT work ?
How MQTT work ?How MQTT work ?
How MQTT work ?
 
Programming in Arduino (Part 2)
Programming in Arduino  (Part 2)Programming in Arduino  (Part 2)
Programming in Arduino (Part 2)
 
Programming in Arduino (Part 1)
Programming in Arduino (Part 1)Programming in Arduino (Part 1)
Programming in Arduino (Part 1)
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
37 things you should Do before Die !!!
37 things you should Do before Die !!!37 things you should Do before Die !!!
37 things you should Do before Die !!!
 
Microsoft student partners fy14 reruitment
Microsoft student partners fy14 reruitmentMicrosoft student partners fy14 reruitment
Microsoft student partners fy14 reruitment
 
Windows Azure Overview
Windows Azure OverviewWindows Azure Overview
Windows Azure Overview
 
Html5 Basic Structure
Html5 Basic StructureHtml5 Basic Structure
Html5 Basic Structure
 
VLC Visible light communication (leaders of li fi)
VLC Visible light communication (leaders of li fi)VLC Visible light communication (leaders of li fi)
VLC Visible light communication (leaders of li fi)
 

Kürzlich hochgeladen

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Kürzlich hochgeladen (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

TCP/IP

  • 2. TCP/IP Transmission Control Protocol / Internet Protocol...
  • 3. Communications Protocol • All communications between devices require that the devices agree on the format of the data. The set of rules defining a format is called a protocol. At the very least, a communications protocol must define the following: • rate of transmission (in baud or bps) • whether transmission is to be synchronous or asynchronous • whether data is to be transmitted in half-duplex or full-duplex mode • In addition, protocols can include sophisticated techniques for detecting and recovering from transmission errors and for encoding and decoding data.
  • 4. TCP/IP • The Internet protocol suite is the set of communications protocols which is used for the Internet and similar networks. • Generally the most popular protocol stack for wide area networks. • It is occasionally known as the DoD model due to the foundational influence of the ARPANET. • TCP/IP provides end-to-end connectivity • Basically it contain 4 layers.
  • 5. • Creates a reliable connection between two computers. TCP is one of the main protocols in TCP/IP networks. Whereas the IP protocol deals only with packets, TCP enables two hosts to establish a connection and exchange streams of data. TCP guarantees delivery of data and also guarantees that packets will be delivered in the same order in which they were sent. Transmission Control Protocol (TCP) INTERNET PROTOCOL (IP) • Provides addressing scheme.. IP specifies the format of packets, also called datagrams, and the addressing scheme. Most networks combine IP with a higher-level protocol called Transmission Control Protocol (TCP), which establishes a virtual connection between a destination and a source. • IP by itself is something like the postal system. It allows you to address a package and drop it in the system, but there's no direct link between you and the recipient. TCP/IP, on the other hand, establishes a connection between two hosts so that they can send messages back and forth for a period of time. • The current version of IP is IPv4. A new version, called IPv6 or IPng, is under development.
  • 6. TCP Header • Before data is sent, the transmitting host contacts the receiving host to set up a connection-P n known as a virtual circuit. This makes T-Connection-oriented. During the handshake the two hosts agree upon the amount of information to be sent before an acknowledgment is needed (Windowing). TCP takes the large blocks of data from the upper layers and breaks them up into segments that it numbers and sequences. TCP will the pass the segments to the network layer, which will route them through the Internetwork. The receiving TCP can put the segments back into order. After packets are sent, TCP waits for an acknowledgment from the receiving end of the virtual circuit. If no acknowledgment is received then the sending host will retransmit the segment
  • 7. Main Function of TCP/IP... TCP accepts data from applications and segments it into a desirable size for transmission between itself and the remote devices. The segment size is determined while TCP is negotiating the connection between the two devices. Either device can dictate the segment size. TCP maintains timers to identify when packets have taken too long to get to their destination. When an acknowledgment is not received for a packet and the timer expires, TCP will resend the packet to the destination. TCP/IP uses sequence numbers to ensure that all packets sent by an application on one device are read in the correct order by an application on another device. The packets might not be received at the transport layer in the correct order, but TCP sequences them in their original order before passing them to the application layer. Any time two devices are communicating, the possibility exists that one device can send data faster than the other can accept it. If this happens, the receiving device puts the extra packets into a buffer to be read at the first chance it gets. When this data overflow persists, however, the buffer is eventually filled and packets begin to drop. TCP performs some preventive maintenance called flow control to avoid the problem. Provides acknowledgment times Segments application layer data stream Enables sequence number checking Provides buffer management
  • 8. Main Function of TCP/IP.. TCP uses the concept of the three-way handshake to initiate a connection between two devices. • A TCP connection begins with a device sending a request to synchronize sequence numbers (a SYN packet) and initiate a connection. • The other device receives the message and responds with a SYN message and the sequence number increased by one. • The first device responds by sending an acknowledgment message (an ACK) to the second device, indicating that the device received the sequence number it expected. TCP uses a checksum to identify packets that have changed during transport. If a device receives a packet with a bad checksum, it drops the packet and does not send an acknowledgment for the packet. So the sending device will resend the packet. Any time TCP receives a duplicate packet it will drop the duplicate. Any time a TCP device sends data to another device, it must wait for the acknowledgment that this data was received, To increase the bandwidth utilization, TCP can change the window size. Whatever the window size is negotiated to be, acknowledgments will only be sent after that many packets have been received at the receiving device. TCP sets the window size dynamically during a connection, allowing either device involved in the communication to slow down the sending data rate based on the other devices capacity. This process is known as sliding window because of TCP's ability to Initiates connections with 3-way handshake Performs acknowledgment windowing Performs error and duplication checking
  • 9. Layer Name Common Components OSI Reference Application HTTP, SMTP, POP3 FTP, DNS Application Presentation Session Transport TCP, UDP Transport Network IP, ICMP Network Physical Ethernet, FDDI Data Link Physical TCP-IPModel
  • 10. Working.. APPLICATION LAYER • This layer makes the Communication B/w Program and Transport protocol. • Protocols :- HTTP,SMTP,FTP,SNMP,DNS,TELNET • Application Layer talks to the transport layer through a port . SMTP-25, HTTP-80, FTP-20,21 APPLICATION TRANSPORT
  • 11. • The Transport Layer get data from the Application Layer and Divided it into several data packets. • Both UDP and TCP will get the data from the Application layer and add a HEADER to it when transmitting data. On this header there are several control information, in a particular the source port number. • UDP header has 8bytes while TCP header has 20 or 24 Bytes. Working.. NETWORK LAYER
  • 12. • The network layer is responsible for packet forwarding including routing through intermediate routers, whereas the data link layer is responsible for media access control, flow control and error checking. • The network layer provides the functional and procedural means of transferring variable length data sequences from a source to a destination host via one or more networks while maintaining the quality of service functions. Working.. TRANSPORT LAYER
  • 13. Working.. PHYSICAL LAYER • This layer is define by what type of Physical Network your computer is connected to. Almost always connected to an Ethernet Network. • TCP/IP is the set of protocol that deals with layers 3 to 7 from OSI reference model, while Ethernet is a set of protocol that deals with layer 1 and 2 form OSI. • Ethernet has three Layers 1. Logic Link control (LLC) 2. Media Access Control (MAC) 3. Physical
  • 14. Logic Link Control (LLC) •The Logic Link layer (LLC) is in charge of adding information of which protocol on the Internet layer delivered data to be transmitted, so when receiving a frame from the network this layer on the receiving computer has to know to which protocol from the Physical layer it should deliver data. This Layer is Define by IEEE 808.2 Protocol.
  • 15. Media Access Control (MAC) • The Media Access Control layer (MAC) is in change of assembling the frame that will be sent over the network. • This Layer is in charge of adding the source MAC address and the target MAC address – as we explained before. • MAC address is the physical address of a network Card • Frames That are targeted to another network will use the router MAC address as the target address. • This Layer is defined by IEEE 802.3 Protocol, if a cabled network is being used, or by IEEE 802.11 Protocol, if a wireless network is Being Used.
  • 16. Physical Layer • The Physical layer is in charge of converting the frame Generated by the MAC layer into electricity (if a cable network is used) or into electromagnetic waves (if a wireless network is being used). • This layer is also defined by IEEE 802.3 Protocol, If a Cable network is used, or by IEEE 802.11 Protocol, if a Wireless network is used
  • 18.
  • 19. Some Universal References.. • http://www.google.com • http://www.Wikipedia.org • http://computer.howstuffworks.com/osi1.htm • http://www.hardwaresecrets.com/article/How-TCP-IP-Protocol-Works-Part-1/433 • http://netcert.tripod.com/ccna/internetworking/dod.html
  • 20. By :- NIKET.CH & VIKAS PANDEY E-mail :- vikaspandey786@hotmail.com niket786@hotmail.com Website :- http:/niket786.webs.com Blog :- innovtechno.blogspot.com Slide Share :- Facebook :- http://www.fb.com/niket786 http:/www.fb.com/vikaspandey03