TCP Ip Model
TCP Ip Model
TCP/IPPROTOCOLSUITE
The layers in the TCP/IP protocol suite do not exactly
match those in the OSI model. The original TCP/IP
protocol suite was defined as having four layers: host-tonetwork, internet, transport, and application. However,
when TCP/IP is compared to OSI, we can say that the
TCP/IP protocol suite is made of five layers: physical,
data link, network, transport, and application.
Topics discussed in this section:
Physical and Data Link Layers
Network Layer
Transport Layer
Application Layer
Internetworking Protocol
(IP)
The Internetworking Protocol (IP) is the transmission
mechanism used by the TCP/IP protocols. It is an unreliable and
connectionless protocol-a best-effort delivery service.
The term best effort means that IP provides no error checking or
tracking. IP assumes the unreliability of the underlying layers
and does its best to get a transmission through to its destination,
but with no guarantees.
IP transports data in packets called datagrams, each of which is
transported separately.
Internetworking Protocol
(IP)
Datagrams can travel along different routes and can arrive out
of sequence or be duplicated. IP does not keep track of the
routes and has no facility for reordering datagrams once they
arrive at their destination.
The limited functionality of IP should not be considered a
weakness, however. IP provides bare-bones transmission
functions that free the user to add only those facilities
necessary for a given application and thereby allows for
maximum efficiency.
Address Resolution
Protocol
The Address Resolution Protocol (ARP) is
used to associate a logical address with a
physical address. On a typical physical
network, such as a LAN, each device on a
link is identified by a physical or station
address, usually imprinted on the network
interface card (NIC).
ARP is used to find the physical address of
the node when its Internet address is
known.
Reverse Address
Resolution Protocol
The Reverse Address Resolution
Protocol (RARP) allows a host to
discover its Internet address when it
knows only its physical address. It is
used when a computer is connected
to a network for the first time or
when a diskless computer is booted.
Transmission Control
Protocol
The Transmission Control Protocol
(TCP) provides full transport-layer
services to applications.
TCP is a reliable stream transport
protocol. The term stream, in this
context, means connection-oriented:
A connection must be established
between both ends of a transmission
before either can transmit data.
Transmission Control
Protocol
At the sending end of each transmission, TCP
divides a stream of data into smaller units called
segments.
Each segment includes a sequence number for
reordering after receipt, together with an
acknowledgment number for the segments
received.
Segments are carried across the internet inside of
IP datagrams. At the receiving end, TCP collects
each datagram as it comes in and reorders the
transmission based on sequence numbers.
Stream Control
Transmission Protocol
The Stream Control Transmission
Protocol (SCTP) provides support for
newer applications such as voice
over the Internet. It is a transport
layer protocol that combines the best
features of UDP and TCP.