Files Used by the DHCP Service
The following table lists the files that are associated with DHCP.
Table 13-2 Files and Tables Used by DHCP Daemons and Commands
|
|
dhcptab |
Legacy Sun DHCP only: 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 that you use for DHCP information. For more
information, see the dhcptab(4) man page. |
DHCP network table |
Legacy Sun DHCP only: 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 that you use for DHCP
information. For more information, see the dhcp_network(4) man page. |
/etc/dhcp/eventhook |
Legacy Sun DHCP only: A
script or executable that the dhcpagent daemon can automatically run. For more information, see
the dhcpagent(1M) man page. |
/etc/inet/dhcpd4.conf/etc/inet/dhcpd6.conf |
ISC DHCP only: Contains configuration information for the ISC DHCP
server, dhcpd. For more information, see the dhcpd.conf(5) man page. |
/etc/inet/dhcpsvc.conf |
Legacy Sun DHCP only:
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. For
more information, see the dhcpsvc.conf(4) man page. |
/etc/dhcp/interface.dhc/etc/dhcp/interface.dh6 |
Contains the configuration parameters that are obtained
from DHCP for the given network interface. For DHCPv4 the filename ends with
dhc. For DHCPv6, the filename ends with dh6. 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. |
/etc/default/dhcpagent |
Sets parameter values for the dhcpagent client daemon. See the /etc/default/dhcpagent
file or the dhcpagent(1M) man page for information about the parameters. |
/etc/dhcp/inittab /etc/dhcp/inittab6 |
Legacy Sun DHCP
only: 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. The /etc/dhcp/inittab6 is used by the DHCPv6 clients. On the client, the
information in the /etc/dhcp/inittab file is used by the dhcpinfo command 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. |
/var/db/isc-dhcp/dhcp4.leases/var/db/isc-dhcp/dhcp4.leases- /var/db/isc-dhcp/dhcp6.leases /var/db/isc-dhcp/dhcp6.leases- |
ISC DHCP only: Lists leases for DHCPv4 and DHCPv6
servers. Files with “-” at end of the file name are previous copies. |
|