Technical data

Configuring the DHCP Client
8.4 Configuring the DHCP Client
Table 8–5 DHCP Signal Commands
Command Description
DHCPSIGHUP
Causes the ASCII configuration files to be read again and then
translates the TCPIP$DHCP_DEBUG and TCPIP$DHCP_LOG_LEVEL
logicals.
DHCPSIGTERM
Causes an orderly shutdown of DHCP client. Use this command
cautiously, as active lease and timer information is lost when you
signal the DHCP client to shutdown. As a consequence, when you
again start up the DHCP client, the system could be running with an
expired lease.
DHCPSIGUSR1
Causes diagnostic state information to be written to the TCPIP$DHCP_
CLIENT_RUN.LOG file.
8.5 TCP/IP Management Commands
You can use TCP/IP management commands to:
Temporarily put an interface under DHCP control
Permanently put an interface under DHCP control
8.5.1 Temporarily Configuring Interfaces
The TCP/IP command SET INTERFACE temporarily puts an interface under
DHCP control. It does not make any change to the TCPIP$CONFIGURATION
data base.
The format of the command is:
SET INTERFACE ifname/DHCP [/[NO]PRIMARY]
In this format, ifname is the name of the interface; for example, SE0.
You must enter the SET NOINTERFACE command on the interface before
entering a SET INTERFACE/DHCP.
After you enter this command, the interface receives a new IP address from the
DHCP server, but the information stored in the TCPIP$CONFIGURATION.DAT
file is unchanged. For example, if you issue the TCP/IP command SHOW
CONFIGURATION INTERFACE for the interface you see the IP address you
had set up for the interface before you temporarily configured the interface. In
addition, when you stop and restart TCP/IP Services, the interface will have the
previously assigned IP address.
If you want the interface to be permanently under DHCP control, you must either
run the TCPIP$CONFIG.COM command procedure to put the interface under
DHCP control or enter the SET CONFIGURATION INTERFACE ifname/DHCP
command. Compaq recommends that you run the TCPIP$CONFIG.COM
command procedure.
8.5.2 Permanently Configuring Interfaces
The TCP/IP command SET CONFIGURATION INTERFACE /DHCP configures
an interface to be under DHCP control by adding or changing an entry in the
TCPIP$CONFIGURATION database. After entering this command, every time
TCPIP$STARTUP.COM is run the DHCP client is invoked to configure the
interface.
8–16 Configuring the DHCP Client