Would you like to learn how to install a DHCP server on Opnsense?In this tutorial, we are going to show you all the steps required to perform the DHCP server configuration on an Opnsense server in 5 minutes or less.
• OPNsense 19.7
Equipment list
The following section presents the list of equipment used to create this tutorial.
As an Amazon Associate, I earn from qualifying purchases.
OPNsense – Related Tutorial:
On this page, we offer quick access to a list of tutorials related to OPNsense.
OPNsense – DHCP Server Installation
Open a browser software, enter the IP address of your Opnsense firewall and access web interface.
In our example, the following URL was entered in the Browser:
• https://192.168.10.11
The opnsense web interface should be presented.
On the prompt screen, enter the OPNsense Default Password login information.
• Username: root
• Password: Password set during OPNsense the installation
After a successful login, you will be sent to the OPNSense Dashboard.
Access the Opnsense Services menu, access the DHCPv4 sub-menu and select the desired network interface.
In our example, we selected the LAN interface.
On the DHCP Server screen, perform the following configuration:
• Enable – Yes
• Range from: 192.168.10.100
• Range to: 192.168.10.199
In our example, the DHCP server will offer IP addresses from 192.168.10.100 to 192.168.10.199.
Locate the DNS servers area and perform the DNS configuration.
Optionally, you may do additional DHCP server configurations.
In our example, the DHCP server will offer DNS servers 8.8.8.8 and 8.8.4.4.
Click on the Save button to start the DHCP service.
Access the Opnsense System menu, access the Diagnostics sub-menu and select the Services option
In our example, the OPNsense DHCP service is up and running.
Congratulations! You have finished the DHCP server installation on OPNsense.