DHCP support
Dynamic Host Configuration Protocol
5-1
iMG/RG Software Reference Manual (System Administration)
5. System Administration
5.1
Dynamic Host Configuration Protocol
The
Dynamic Host Configuration Protocol
(DHCP) is defined in RFC 1541 and provides a mechanism for pass-
ing configuration information to hosts on a TCP/IP network.
DHCP is based on the
Bootstrap Protocol
(BOOTP) defined in RFC 1542, but adds automatic allocation of
reusable network addresses and additional configuration options.
DHCP is based on a client–server model, where the server is the host that allocates network addresses and ini-
tialization parameters, and the client is the host that requests these parameters from the server.
There are a number of parameters that a DHCP server can supply to clients in addition to assigning IP
addresses. They can supply addresses of DNS server, WINS Server, Cookie server etc.… Also, they can supply
the gateway address for the LAN.
DHCP supports three mechanisms for IP address allocation
•
In the
automatic allocation
mechanism, DHCP assigns a permanent IP address to a host.
•
In the
dynamic allocation
mechanism, DHCP assigns an IP address to a host for a limited period of time, or
until the host explicitly relinquishes the address.
•
In the
manual allocation
mechanism, the network administrator assigns a host’s IP address, and DHCP is
used simply to convey the assigned address to the host. A particular network will use one or more of these
mechanisms, depending on the policies of the network administrator.
Dynamic allocation
is the only one of the three mechanisms that allows automatic reuse of an address that is
no longer needed by the host to which it was assigned.
Dynamic allocation
is particularly useful for assigning an
address to a host that will be connected to the network only temporarily, or for sharing a limited pool of IP
addresses among a group of hosts that do not need permanent IP addresses.
Dynamic allocation
may also be a good choice for assigning an IP address to a new host being permanently con-
nected to a network where IP addresses are sufficiently scarce that it is important to reclaim them when old
hosts are retired.
5.1.1
DHCP support
The gateway devices are able to act both as DHCP server and as DHCP client.
Typically, DHCP server features are activated on the internal network to assign IP address to hosts connected
to the internal interfaces. The DHCP client function, instead, is used on the external interface to get IP
addresses from the ISP.