Configuring the DHCP relay
This recipe describes how to configure pfSense to relay DHCP request between broadcast domains. This serves as an alternative to pfSense acting as a DHCP server.
Getting ready
pfSense can only be configured as a DHCP relay if the DHCP server has been disabled on all interfaces. If necessary, disable the DHCP server first. To disable the DHCP server, do the following:
- Navigate to
Services
|DHCP Server
. - Click on the tab for the interface on which the DHCP server is enabled (for example, LAN).
- Uncheck the
Enable DHCP Server
on the interface checkbox. - Click on the
Save
button. - Repeat Steps 2 through 4 for each interface on which the DHCP server is enabled.
How to do it...
- Navigate to
Services
|DHCP Relay
. - Check the
Enable DHCP relay
on interface checkbox:
- Select the interface on which the DHCP relay will be applied. Hold down the Ctrl key while clicking on an interface in the list box to select multiple interfaces.
- If you want to append the circuit ID and agent ID to DHCP requests...