System Administration Guide, Volume 3

DHCP Client Startup

The dhcpagent daemon obtains configuration information that is needed by other processes involved in booting the system. For this reason, dhcpagent is started early in the boot process by the system startup scripts; booting is suspended until the network configuration information is obtained.

The presence of the file /etc/dhcp.interface (for example, /etc/dhcp.hme0 on a Sun Enterprise UltraTM machine) indicates to the startup scripts that DHCP is to be used on the specified interface. Upon finding a dhcp.interface file, the startup scripts start the dhcpagent.

After starting up, dhcpagent waits until it receives instructions to configure a network interface. The startup scripts issue the ifconfig interface dhcp startcommand, which instructs dhcpagent to start DHCP as described in "How DHCP Works". If commands are contained within the dhcp.interface file, they are appended to the dhcp start option of ifconfig. See theifconfig(1M) man page for more information about options used with dhcp.