Professional Documents
Culture Documents
An Overview:
•TCP/IP was developed by the Department of Defense prior to
the introduction of the 7 layer OSI model. It is the de facto global
standard for the Internet. The Internet (earlier known as
ARPANet) was a part of a military project of the of Advanced
Research Projects Agency (ARPA) and the communication model
based thereon is known as ARPA model.
•ARPA was developed in USA before the OSI model was
developed in Europe by ISO.
•Whereas the OSI model specifies exactly what function(s) each
layer has to perform, TCP/IP comprises several relatively
independent protocols that can be combined in several ways.
•Although TCP/IP and OSI were developed at different times by
different bodies, they form the basis for data communications
having different types and of different complexities.
•It is not mandatory to use all the layers in the TCP/IP model, for
example, some application level protocols operate directly on top
of IP. TCP/IP does not include the bottom network interface layer,
but it depends on the same for access to the medium.
OSI vs TCP/IP
OSI being the reference model, all network models are compared with the
seven layers of OSI model for their functionality.
The TCP/IP model uses 5 layers to perform the functions of the 7-layer OSI
model.
• The network access layer is functionally equal to a combination of OSI
physical and data link layers (1 and 2).
• The Internet layer performs the same functions as the OSI network layer
(3).
Things get a bit more complicated at the host-to-host layer of the TCP/IP
model. If the host-to-host protocol is TCP, the matching functionality is
found in the OSI transport and session layers (4 and 5). Using UDP equates
to the functions of only the transport layer of the OSI model.
• The TCP/IP process layer, when used with TCP, provides the functions of
the OSI model’s presentation and application layers (6 and 7).
• When the TCP/IP transport layer protocol is UDP, the process layer’s
functions are equivalent to OSI session, presentation, and application
layers (5, 6, and 7).
OSI vs TCP/IP:COMPARISON
OSI TCP/IP
APPLICATION
• Window size is 16 bits and provides flow control. The checksum field is
used for error control, while the urgent pointer field, in association with
URG flag, can insert a block of ‘urgent’ data at the beginning of a segment.
TCP WINDOW PRINCIPLE:
The UDP header is shown in figure 18. It has only four fields.
• The source port is an optional one. When it is
used, it indicates the port address of the
sending process. When not used, a value of
zero is inserted for this field. The destination
port indicates the process to which the data is
to be delivered. The ‘length’ is the length in
bytes of the used datagram, including the
header. The checksum is an optional 16 bit
field, used for validation purposes.
IP
Internetworking layer in TCP/IP has some very important
protocols which are:
Internet protocol (IP),
Internet Control Message Protocol (ICMP),
Address Resolution protocol (ARP) and
Dynamic Host Configuration Protocol (DHCP).
The physical or link address is the lowest level address. It is the address
of a station or node specified in its frame by LAN or WAN. Depending
on the type of the network, the size and the format of the address
vary. Ethernet uses a 6 byte address which is embedded in its NIC.
2 LOGICAL:
Logical address corresponds to the network layer in the TCP/IP
model. The physical address may vary – depending on the type of
the network. Logical address overcomes this difficulty by
recognizing a host irrespective of the physical address type. At
present, a 32 bit logical address can uniquely recognize a host
connected to the internet. No two IP addresses can be same so
that two different hosts can be differentiated and recognized with
their logical addresses.
3 PORT:
A computer may run several processes at the same time. It may
communicate with a second computer via a file transfer protocol,
message handling services or TELNET. Thus these processes residing on
a computer must have individual separate addresses for them to
receive data from other computers simultaneously. This is taken care
of by port addresses. A port address is 2 bytes in length. Thus it is the
port address on a computer which helps in exact data/message
delivery meant for a particular process once it has reached its
destination host.
4 SPECIFIC:
Specific addresses are user friendly addresses like e-mail address
or an URL (Universal Resource Locator). An e-mail address locates
a particular recipient in any part of the world while an URL helps
in locating some document/writing/information available from
the World Wide Web.