System Administration Guide: IP Services
Previous Next

Files Used by the DHCP Service

The following table lists files associated with Solaris DHCP.

Table 18-2 Files and Tables Used by DHCP Daemons and Commands

File or Table Name

Description

Man Page

dhcptab

A generic term for the table of DHCP configuration information that is 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.

dhcptab(4)

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 that is called dhcp_network. The name and location of DHCP network tables is determined by the data store you use for DHCP information.

dhcp_network(4)

dhcpsvc.conf

Stores startup options for the DHCP daemon and data store information. This file must not be edited manually. Use the dhcpconfig command to change startup options.

dhcpsvc.conf(4)

nsswitch.conf

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

nsswitch.conf(4)

resolv.conf

Contains information used to resolve DNS queries. 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.

resolv.conf(4)

dhcp.interface

Indicates that DHCP is to be used on the client's network interface that is specified in the dhcp.interface file name. For example, the existence of a file named dhcp.qe0 indicates that DHCP is to be used on the qe0 interface. The dhcp.interface file might contain commands that are passed as options to the ifconfig command, which is used to start DHCP on the client. The file is located in the /etc directory on Solaris DHCP client systems.

No specific man page, see dhcp(5)

interface.dhc

Contains the configuration parameters that are 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. For example, if DHCP is used on the qe0 interface, the dhcpagent caches the configuration information in /etc/dhcp/qe0.dhc. 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 process for DHCP lease negotiation.

No specific man page, see dhcpagent(1M)

dhcpagent

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

dhcpagent(1M)

DHCP inittab

Defines aspects of DHCP option codes, such as the data type, and assigns mnemonic labels. See the dhcp_inittab(4) 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. On the DHCP server system, this file is used by the DHCP daemon and management tools to obtain DHCP option information.

The /etc/dhcp/inittab file replaces the /etc/dhcp/dhcptags file that was used in previous releases. DHCP Option Information provides more information about this replacement.

dhcp_inittab(4)

Previous Next