The pfsense DHCP server allows you to send configuration automatically to devices connected to your network. You have two ways to configure DHCP server in pfsense. To clarify, pfsense gives the ability to setup DHCP server in the web interface and on the console.

How to setup a DHCP Server in pfsense using web interface

Open a web browser, type the IP address of your pfsense firewall in the address bar, then press Enter.

Enter the username, password, and then select SIGN IN to connect to your pfsense firewall.

On the pfsense web page, click interfaces, and then select LAN (To configure the LAN interface).

Check enable interface.

Change IPv4 Configuration Type to Static IPv4.

In the static IPv4 Configuration section, add an IP address and a subnet mask.

IPv4 Address:
subnet mask: /24

Click on Save.

Click Apply Changes.

Go to Services, then select DHCP Server.

If you see the message “The DHCP Server requires a static IPv4 subnet large enough to serve addresses to clients. This system has no interfaces configured with a static IPv4 address”. Return to the interface, enable it, enter an IP address and a subnet mask.

In the general options section:

Check Enable DHCP Server on LAN interface

In range enter the IP address you want to be available on your DHCP Server.




If you need additional pools, then click on Add Pool.

When you are done, click on Save.

Click Apply changes.

To verify that the DHCP server is working, go to Status, then click DHCP Leases.

How to assign a consistent IP address to a DHCP client

Lots of situations can make you think about having a static IP address on your device. If you have a server on your network or any device you wish to access remotely, inevitably a static IP address must be configured to ensure accessibility after restarting the device.

Go to Services, then select DHCP Server.

On the Services DHCP page, scroll down to find the “DHCP Static Mappings for this Interface” section, and then click Add.

In MAC Address, enter the Mac address of the device to which you want to assign a static IP address.

In IP Address, enter the IP address you wish to use in the device. Something to note, the static IP address must be outside of the DHCP IP address range.

Enter a hostname in the hostname input box.

Give a description to help you remember the story behind the static IP address.

When you’re done, click Save.

Click Apply changes.

Video to show you how to configure DHCP server in pfsense

What To Read Next

If you like the content of this post or if it has been useful to you, please consider sharing it on your social media and follow me on Facebook and Twitter for more exclusive content.