[Guide] Static IP Addresses in pfSense (Static DHCP)

0. Overview

This guide will get you started on assigning static IP addresses for your hosts.

1. Why set a static IP?

This should be obvious, but in case it isn’t, static IP address assignments keep your servers and services from changing IP addresses. This allows your networked resources to remain at the IP addresses where you expect them, and is also required for certain types of firewall rules, like port forwarding. Setting this in your pfSense firewall also simplifies management, versus setting the IP client side. This can save a lot time when setting up multiple hosts with static IP assignments.


1. Steps

1. In pfSense, navigate to to “Status / DHCP Leases” to view the list of DHCP clients.

2. Locate the host you’d like to assign a static IP address to. Click the first “plus” button (the hollow one) in the “Actions” column to add a new static DHCP mapping.


image

3. The MAC address is pre-populated.

4. Enter an IP address.

:warning: Please Note, the IP address must be outside the DHCP range. The default range is 192.168.1.100 to 192.168.1.199. For the default DHCP setting, we can use an IP address in an unused range, such as 192.168.1.200. Adjust this to fit your needs.

5. The Hostname should be pre-populated, but may not be. If it is not, enter a hostname for the device.

6. Enter a Description.

Steps 1.3-1.6:

image

7. Scroll down and click the “Save” button to save the changes.

image

8. Click the “Apply Changes” button to apply the changes.


You may need to restart the PC or host to update the host IP address. Verify the IP address on your host device after rebooting.


Congrats, you have successfully reserved an IP address for a host in your firewall settings.

1 Like