System Administration Guide: IP Services

DHCP Files

The following table lists files associated with Solaris DHCP.

Table 12–2 Files and Tables Used by DHCP Daemons and Commands

File/Table 

Description 

dhcptab

A generic term for the table of DHCP configuration information recorded as options with assigned values, which are then grouped into macros. The name of the dhcptab table and its location is determined by the data store you use for DHCP information.

DHCP network table 

Maps IP addresses to client IDs and configuration options. DHCP network tables are named according to the IP address of the network, such as 10.21.32.0. There is no file called dhcp_network. The name and location of DHCP network tables is determined by the data store you use for DHCP information.

dhcpsvc.conf

Records DHCP daemon startup options and the data store resource and location of the dhcptab and network tables. The file is located in the /etc/inet directory.

nsswitch.conf

Specifies the location of name service databases and the order in which to search them for various kinds of information. The nsswitch.conf file is consulted when you configure a DHCP server in order to obtain accurate configuration information. The file is located in the /etc directory.

resolv.conf

Contains information used by the DNS resolver. During DHCP server configuration, this file is consulted for information about the DNS domain and DNS server. The file is located in the /etc directory.

dhcp.interface

Indicates that DHCP is to be used on the client's network interface specified in the file name, such as dhcp.qe0. The dhcp.interface file might contain commands that are passed as options to the ifconfig interface dhcp start option command used to start DHCP on the client. The file is located in the /etc directory on Solaris DHCP client systems.

interface.dhc

Contains the configuration parameters obtained from DHCP for the given network interface. The client caches the current configuration information in /etc/dhcp/interface.dhc when the interface's IP address lease is dropped. The next time DHCP starts on the interface, the client requests to use the cached configuration if the lease has not expired. If the DHCP server denies the request, the client begins the standard DHCP lease negotiation process.

dhcpagent

Sets parameter values for the dhcpagent client daemon. The path to the file is /etc/default/dhcpagent. See the file itself or the dhcpagent(1M) man page for information about the parameters.

DHCP inittab

Defines aspects of DHCP option codes, such as the data type, and assigns mnemonic labels. See the dhcp_inittab man page for more information about the file syntax.

On the client, the information in the /etc/dhcp/inittab file is used by dhcpinfo to provide more meaningful information to human readers of the information. This file replaces the /etc/dhcp/dhcptags file. DHCP Option Information provides more information about this replacement. On the DHCP server system, this file is used by the DHCP daemon and management tools to obtain DHCP option information.