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: 192.168.10.1
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.

Range:

From 192.168.10.100

To 192.168.10.199

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

When you are done, click on Save.


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


Video to show you how to configure DHCP server in pfsense



What To Read Next


Don’t forget to subscribe to our newsletter to receive all updates and be eligible for our giveaway.