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.

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.

If you do need to modify the default behavior of dhclient, the following line should be added to /etc/rc.conf below the ifconfig line where the DHCP interface is configured:

dhcp_flags="flags"
					

where flags is a list of options for dhclient. Table 33.1 shows the valid options that can be used.

Table 33.1. Valid Options for dhclient
Option Action
-d This will force dhclient to stay in the foreground rather than move to the background after it ...

Get FreeBSD® 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.