SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

Networking devices
Networking devicesNetworking devices
Networking devices
rupinderj
 
Basic-networking-hardware
Basic-networking-hardwareBasic-networking-hardware
Basic-networking-hardware
Isus Isusay
 

La actualidad más candente (20)

Lecture 2 - Networking Devices.pdf
Lecture 2 - Networking Devices.pdfLecture 2 - Networking Devices.pdf
Lecture 2 - Networking Devices.pdf
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Networking devices
Networking devicesNetworking devices
Networking devices
 
Basic-networking-hardware
Basic-networking-hardwareBasic-networking-hardware
Basic-networking-hardware
 
Wide Area Network (WAN)
Wide Area Network (WAN)Wide Area Network (WAN)
Wide Area Network (WAN)
 
introduction about TCP/IP
introduction about TCP/IPintroduction about TCP/IP
introduction about TCP/IP
 
Computer network basic concepts
Computer network   basic conceptsComputer network   basic concepts
Computer network basic concepts
 
Networking Fundamentals
Networking FundamentalsNetworking Fundamentals
Networking Fundamentals
 
Networking Fundamentals
Networking FundamentalsNetworking Fundamentals
Networking Fundamentals
 
Networking Fundamentals
Networking  FundamentalsNetworking  Fundamentals
Networking Fundamentals
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Wireless networks ppt
Wireless networks pptWireless networks ppt
Wireless networks ppt
 
Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
 
Switching Concepts presentation
Switching Concepts presentationSwitching Concepts presentation
Switching Concepts presentation
 
Unit 1 introduction to computer networks
Unit 1  introduction to computer networksUnit 1  introduction to computer networks
Unit 1 introduction to computer networks
 
Mac layer
Mac  layerMac  layer
Mac layer
 
1 introduction-to-computer-networking
1 introduction-to-computer-networking1 introduction-to-computer-networking
1 introduction-to-computer-networking
 
Computer networks
Computer networks   Computer networks
Computer networks
 
transport layer
transport layer transport layer
transport layer
 
OSI and TCPIP Model
OSI and TCPIP ModelOSI and TCPIP Model
OSI and TCPIP Model
 

Destacado

C++11 concurrency
C++11 concurrencyC++11 concurrency
C++11 concurrency
xu liwei
 

Destacado (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
 

Similar a TCP/IP

aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdf
aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdfaaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdf
aaaaaaaaaaaaaaaaaaaaaaaaaWhat-Does-TCPIP-Do.pdf
nemibo1807
 

Similar a 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
 

Más de Niket Chandrawanshi

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 !!!
Niket Chandrawanshi
 
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)
Niket Chandrawanshi
 

Más de 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)
 

Último

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
AnaAcapella
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
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
 

Último (20)

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
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
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
 
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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

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