The dhclient Program

The dhclient program is the client portion of DHCP. It is run automatically at each system boot if you have any network interfaces that are configured to use DHCP.

Command-Line Options for dhclient

If you need to modify the default behavior of dhclient, you can do so by supplying flags to it with an option in /etc/rc.conf. This option should appear below the ifconfig line where the DHCP interface is configured:

dhcp_flags="flags"

Here, flags is a list of options for dhclient, which are passed to the program as though it were being invoked at the command line. Table 35.1 shows the valid options that can be used.

Table 35.1. Valid Options for dhclient
OptionAction
-dThis option will force dhclient to stay in the foreground rather ...

Get FreeBSD6 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.