System Administration Guide, Volume 3

DHCP Files

The following table lists files associated with Solaris DHCP.

Table 13-2 Files Used by DHCP Daemons and Commands

File Man Pages 

Description 

dhcptab(4)

Table of configuration information recorded as options with assigned values, which are then grouped into macros. The dhcptab file's location is determined by the data store you use for DHCP information.

dhcp_network(4)

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

dhcp(4)

Records DHCP daemon startup options and the location and type of data store used by DHCP service. The file is located in the /etc/default directory.

nsswitch.conf(4)

Specifies the location of name service databases and the order in which to search them when looking up 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(4)

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.

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 daemon's dhcpagent(1M) man page for information about the parameters.

dhcp_inittab(4)

Defines aspects of DHCP option codes, such as the data type, and assigns mnemonic labels. 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.