Connectivity:Overview
Understanding DHCP
Setting up TCP/IP on a network is essential if you wish to build an intranet. However, defining
an addressing system and setting up the correct address on each workstation and server is far
from trivial. Dynamic Host Configuration Protocol can be a great help.
By Howard Richards
W
ith the growth of the In
of time so an IP address that is not
Each DHCP scope is used for a differ
ternet, TCP/IP has now be
used for the duration of the lease is
ent TCP/IP network segment. On net
come a must have protocol
put back into the unallocated pool.
works with routers that support
for most computer networks. It pro
This helps recover TCP/IP ad
DHCP, extra information is added to
vides a single network protocol that is
dresses that are no longer used.
the request by the router to tell the
supported by almost every type of
server which network the request
computer system, a plethora of appli
What Do I Need?
came from. The DHCP server uses this
cations that use it, and it is well suited
information to pick an address from
to both large and small networks. It's
To use DHCP you need a DHCP
the correct scope. The server replies to
also essential if you wish to set up an
server (to allocate the addresses and
the client, allocating it the TCP/IP ad
intranet.
maintain a database) and DHCP cli
dress and settings required.
The downside of TCP/IP is that,
ents, which will be discussed later.
However, DHCP doesn't allocate
unlike protocols such as IPX, it needs
A DHCP server is included in Win
the address permanently. It tells the
addresses and configuration settings
dows NT Server 3.51 and 4.0. Although
client that it has leased the address
to be defined on each computer or pe
this article is concentrating on NT
to it for a specific time period, which
ripheral on the network. This can entail
Server, DHCP isn't a Microsoft stand
you as administrator can control. By
an immense amount of system admini
ard and is available from other ven
default DHCP is installed with a three
stration work.
dors for NT (such as MetaInfo), and on
day lease period. When the lease ex
DHCP stands for Dynamic Host
other platforms. For more information
pires, the client can ask the server to
Configuration Protocol, and is used to
see the DHCP FAQ, which is discussed
renew the lease. If the DHCP server
centrally allocate and manage TCP/IP
below.
doesn't hear from the client beyond the
configurations of client nodes. If
expiry of the lease period, it will put
you've got more than a handful of
How Does DHCP Work?
that address back in the pool ready to
computers to manage, then DHCP can
be re used.
help to save a great deal of time and
When a DHCP client is first
When the DHCP client obtains a
trouble in setting up and administer
switched on, it sends a broadcast
lease on an address, it knows how long
ing a TCP/IP network. DHCP offers
packet on the network with a DHCP
the lease period is. So it knows that it
the following features:
request. This is picked up by a DHCP
can use the address without reference
server, which allocates an IP address to
to the DHCP server until the lease ex
G
It allows you to define pools of
the PC, from one of the scopes (the
pires. When it does expire, it can re
TCP/IP addresses, which are then
pools of addresses) it has available.
quest a renewal. The implication of this
allocated to client PCs by the server.
These pools are called scopes in
DHCP terminology.
G
Not only are the TCP/IP addresses
The downside of TCP/IP is that, unlike
handed out, so are all the related
configuration settings like the sub
protocols such as IPX, it needs addresses
net mask, default router, DNS serv
er, that are required to make
and configuration settings to be defined
TCP/IP work correctly.
G
DHCP works across most TCP/IP
on each computer or peripheral on the
routers and allocates IPs according
to the subnet the request came from.
network. This can entail an immense
This means you won't need to re
configure a PC that is moved from
amount of system administration work.
one subnet to another.
G
Addresses can be leased for periods
Issue 87 (September 1997) page 11
File: C04102.1
PC Network Advisor
<< < GO > >>
New! The best sites for quality inkjet printer cartridges and the best sites for cheap inkjet cartridges