Kernel Configuration for DHCP

In order to configure FreeBSD as a client on a DHCP network, you will need to have the Berkeley Packet Filter device installed in the kernel. This is installed by default in the GENERIC kernel, so unless you built a custom kernel and removed it, you shouldn't have to do anything.

To verify that the Berkeley Packet Filter device is installed in the kernel, look for the following line in your kernel configuration file:

device bpf

If this line exists in your kernel configuration file, there is nothing you need to do here. If the line does not exist, you will need to add it and then rebuild your kernel. Complete instructions on kernel building can be found in Chapter 17, “Kernel Configuration.”

Caution

There is a slight ...

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.