TCP Ip Protocol Suite - 281
TCP Ip Protocol Suite - 281
The TCP/IP protocol suite was developed prior to the OSI model.
Therefore, 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-to-network,
However, when TCP/IP is compared to OSI, we can say that the host-to-network layer
The internet layer is equivalent to the network layer, and the application layer is
roughly doing the job of the session, presentation, and application layers with the
transport layer in TCP/IP taking care of part of the duties of the session layer.
So in this book, we assume that the TCP/IP protocol suite is made of five layers: physi-
The first four layers provide physical standards, network interfaces, internetworking,
and transport functions that correspond to the first four layers of the OSI model.
The three topmost layers in the OSI model, however, are represented in TCP/IP by a
interdependent.
Whereas the OSI model specifies which functions belong to each of its layers, the
layers of the TCP/IP protocol suite contain relatively independent protocols that can
The term hierarchical means that each upper-level protocol is supported by one or
At the transport layer, TCP/IP defines three protocols: Transmission Control Protocol
(TCP), User Datagram Protocol (UDP), and Stream Control Transmission Protocol
(SCTP).
At the network layer, the main protocol defined by TCP/IP is the Internetworking
Protocol (IP); there are also some other protocols that support data movement in this
layer.
At the physical and data link layers, TCP/IP does not define any specific protocol. It
network.
Network Layer
At the network layer (or, more accurately, the internetwork layer), TCP/IP supports
IP, in turn, uses four supporting protocols: ARP, RARP, ICMP, and IGMP.
The Internetworking Protocol (IP) is the transmission mechanism used by the TCP/IP
protocols.
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
separately.
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
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.
The Address Resolution Protocol (ARP) is used to associate a logical address with a
physical address.
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.
The Reverse Address Resolution Protocol (RARP) allows a host to discover its Internet
It is used when a computer is connected to a network for the first time or when a
The Internet Control Message Protocol (ICMP) is a mechanism used by hosts and
The Internet Group Message Protocol (IGMP) is used to facilitate the simultaneous
Traditionally the transport layer was represented in TCP/IP by two protocols: TCP and
UDP.
IP is a host-to-host protocol, meaning that it can deliver a packet from one physical
device to another.
UDP and TCP are transport level protocols responsible for delivery of a message from
A new transport layer protocol, SCTP, has been devised to meet the needs of some
newer applications
The User Datagram Protocol (UDP) is the simpler of the two standard TCP/IP transport
protocols.
control, and length information to the data from the upper layer.
applications.
established between both ends of a transmission before either can transmit data.
At the sending end of each transmission, TCP divides a stream of data into smaller
an acknowledgment number for the segments received. Segments are carried across
At the receiving end, TCP collects each datagram as it comes in and reorders the
The Stream Control Transmission Protocol (SCTP) provides support for newer
It is a transport layer protocol that combines the best features of UDP and TCP
Application Layer
Four levels of addresses are used in an internet employing the TCP/IP protocols:
physical (link) addresses, logical (IP) addresses, port addresses, and specific addresses
Each address is related to a specific layer in the TCP/IP architecture, as shown in Figure
2.18
The physical address, also known as the link address, is the address of a node as
The physical addresses have authority over the network (LAN or WAN).
The size and format of these addresses vary depending on the network.
For example, Ethernet uses a 6-byte (48-bit) physical address that is imprinted on the
LocalTalk (Apple), however, has a 1-byte dynamic address that changes each time the
Logical Addresses
Logical addresses are necessary for universal communications that are independent of
A universal addressing system is needed in which each host can be identified uniquely,
A logical address in the Internet is currently a 32-bit address that can uniquely define a
No two publicly addressed and visible hosts on the Internet can have the same IP
Port Addresses
The IP address and the physical address are necessary for a quantity of data to travel
However, arrival at the destination host is not the final objective of data
A system that sends nothing but data from one computer to another is not complete.
Today, computers are devices that can run multiple processes at the same time.
another process.
At the same time, computer A communicates with computer B by using the File
For these processes to receive data simultaneously, we need a method to label the
different processes.
In other words, they need addresses. In the TCP/IP architecture, the label assigned to
Specific Addresses
Some applications have user-friendly addresses that are designed for that specific
address.
Examples include the e-mail address (for example, [email protected]) and the
The first defines the recipient of an e-mail ;the second is used to find a document on
These addresses, however, get changed to the corresponding port and logical