DHCP

We've seen how an IP address can be bound to an Ethernet interface, and we'll go into the details of how it's done in the Chapter 23, “Configuring Basic Networking Services.” One interesting twist, though, is DHCP: Dynamic Host Configuration Protocol, which assigns IP addresses to Ethernet interfaces on an as-needed basis.

When you configure an interface to be configured by DHCP, it sends out a request at boot time to the designated DHCP server. This request, which is really a RARP query (analogous to ARP, but operating in reverse) carries the MAC address of the interface in question to the DHCP server, which responds with an IP address (and other network settings, such as the netmask) that it knows is available. The booting host then assigns ...

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.