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?

Computer networks unit iv
Computer networks    unit ivComputer networks    unit iv
Computer networks unit ivJAIGANESH SEKAR
 
Basic concepts of computer Networking
Basic concepts of computer NetworkingBasic concepts of computer Networking
Basic concepts of computer NetworkingHj Habib
 
1 Introduction To Premises Cabling System
1 Introduction To Premises Cabling System1 Introduction To Premises Cabling System
1 Introduction To Premises Cabling SystemMrirfan
 
WIRELESS ATM BY SAIKIRAN PANJALA
WIRELESS ATM BY SAIKIRAN PANJALAWIRELESS ATM BY SAIKIRAN PANJALA
WIRELESS ATM BY SAIKIRAN PANJALASaikiran Panjala
 
Transmission media
Transmission mediaTransmission media
Transmission mediakinish kumar
 
Tipos de conexiones a internet
Tipos de conexiones a internetTipos de conexiones a internet
Tipos de conexiones a internetAlex Apaza
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer networkmiteshppt
 
Local area network
Local area networkLocal area network
Local area networkSEDYK
 
introduction to Networking
introduction to Networkingintroduction to Networking
introduction to Networkingiicecollege
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocolsbarodia_1437
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Alan Mark
 

Was ist angesagt? (20)

Computer networks unit iv
Computer networks    unit ivComputer networks    unit iv
Computer networks unit iv
 
Ethernet
EthernetEthernet
Ethernet
 
Point to-point protocol (ppp)
Point to-point protocol (ppp)Point to-point protocol (ppp)
Point to-point protocol (ppp)
 
Frame relay
Frame relayFrame relay
Frame relay
 
Basic concepts of computer Networking
Basic concepts of computer NetworkingBasic concepts of computer Networking
Basic concepts of computer Networking
 
1 Introduction To Premises Cabling System
1 Introduction To Premises Cabling System1 Introduction To Premises Cabling System
1 Introduction To Premises Cabling System
 
WIRELESS ATM BY SAIKIRAN PANJALA
WIRELESS ATM BY SAIKIRAN PANJALAWIRELESS ATM BY SAIKIRAN PANJALA
WIRELESS ATM BY SAIKIRAN PANJALA
 
Transmission media
Transmission mediaTransmission media
Transmission media
 
csma ca
 csma ca csma ca
csma ca
 
Sonet
SonetSonet
Sonet
 
Tipos de conexiones a internet
Tipos de conexiones a internetTipos de conexiones a internet
Tipos de conexiones a internet
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
 
Local area network
Local area networkLocal area network
Local area network
 
introduction to Networking
introduction to Networkingintroduction to Networking
introduction to Networking
 
smds
smdssmds
smds
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
 
Introduction to Application layer
Introduction to Application layerIntroduction to Application layer
Introduction to Application layer
 
TCP/IP Presentation
TCP/IP PresentationTCP/IP Presentation
TCP/IP Presentation
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)
 

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
 

Ä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
 
Tcp/Ip Model
Tcp/Ip ModelTcp/Ip Model
Tcp/Ip Model
 
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 Model
Tcp IP ModelTcp IP Model
Tcp IP Model
 
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
 

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

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 

Kürzlich hochgeladen (20)

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

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