Connectivity:Overview
Understanding TCP/IP
TCP/IP, the ubiquitous network protocol, is actually a four layer suite of protocols and is
well worth gaining an understanding of, if only to ensure that you set it up in the most
efficient way on your network.
By Julian Moss
E
veryone knows that TCP/IP is a
things like routing and reliability.
some control fields. There follows the
network
protocol
used
on
The benefit that the layered proto
data, and then a trailer which is simply
LANs, WANs and the Internet,
col stack gives you is that, if you invent
a 32 bit cyclic redundancy check
but not everyone who uses it under
a new network application or a new
(CRC) field. The data portion of an
stands how it works. It's possible to use
type of hardware, you only need to
Ethernet frame must be at least 38
TCP/IP with little more than a knowl
create a protocol for that application or
bytes long, so filler bytes are inserted if
edge of how to configure the protocol
that hardware: you don't have to re
necessary.
stack, but a better understanding will
write the whole stack.
All this means that frames are at
give you a clearer picture of what is
least 64 bytes long, even if they carry
going on in your network and why the
Link Layer
only one byte of user data: a significant
protocol needs to be set up in a particu
overhead in some types of application.
lar way.
TCP/IP is a four layer protocol, as
Frames also have a maximum size.
The aim of this multi part article is
illustrated in Figure 1. The lowest level,
Less headers, the maximum size for an
to explain the key concepts behind
the link layer, is implemented within
Ethernet frame is 1492 bytes, which is
TCP/IP.
the network adapter and its device
the
maximum
transmission
unit
TCP/IP stands for Transmission
driver. Like all the TCP/IP protocols,
(MTU) for Ethernet. All link layer pro
Control Protocol/Internet Protocol. If
it is defined by standards. The stand
tocols have an MTU. It is one hardware
this leads you to think that it is not just
ards for generic Ethernet type net
characteristic that the higher level pro
one protocol, you're right. In fact, it is
works are defined by the IEEE 802
tocol needs to be aware of, because
not just two protocols, either. TCP/IP
Committee: for example, IEEE 802.3
larger blocks of data must be frag
is a suite of protocols. We'll cover the
for Ethernet networks, or IEEE 802.5
mented into chunks that fit within the
most important ones in the course of
for Token Ring networks.
MTU and then reassembled on arrival
this article.
Other link layer protocols that
at their destination.
could be used include Serial Line IP
Layered Protocol
(SLIP)
or
Point to Point
Protocol
Network Layer
(PPP), which are used when connect
Like
most
network
protocols,
ing to a network over an asynchronous
The next layer up from the link layer
TCP/IP is a layered protocol. Each
dial up link.
is called the network layer. The most
layer builds upon the layer below it,
Since Ethernet is the most common
important protocol at this level is IP,
adding new functionality. The lowest
type of network, we will look at it in a
the Internet Protocol. Its job is to send
level protocol is concerned purely with
bit more detail. The Ethernet protocol
packets or datagrams a term which
the business of sending and receiving
is designed for carrying blocks of data
basically means blocks of data from
data any data using specific network
called frames. A frame consists of a
one point to another. It uses the link
hardware. At the top are protocols de
header containing 48 bit hardware
layer protocol to achieve this.
signed specifically for tasks like trans
destination and source addresses
Both the network layer and the link
ferring files or delivering email. In
(which
identify
specific
network
layer are concerned with getting data
between are levels concerned with
adapters), a 2 byte length field, and
from point A to point B. However,
whilst the network layer works in the
world of TCP/IP, the link layer has to
deal with the real world. Everything it
A router examines every packet, and
does is geared towards the network
hardware it uses.
compares the destination address with a
An IP address is a soft address. It
is a bit like calling your office block
table of addresses that it holds in memory.
Pan Galactic House instead of its
real address, 2326 Western Boulevard.
The former is no use to the postman
Issue 87 (September 1997) page 3
File: C04100.1
PC Network Advisor
<< < GO > >>
New! The best sites for quality inkjet printer cartridges and the best sites for cheap inkjet cartridges