Configuring static DHCP mappings
This recipe describes how to add a static (IPv4) DHCP mapping in pfSense. A static mapping ensures that a client always receives the same IP address from the DHCP server.
Getting ready
In order to create a static DHCP mapping, you must have at least one interface on which the DHCP server is enabled. (You can only create static DHCP mappings on interfaces using the DHCP server).
How to do it...
There are two ways of creating a static DHCP mapping.
- Navigate to
Services
|DHCP
and click on theLAN
tab, if it isn’t selected already. - Scroll to the bottom of the page. Beneath the
Save
button, there should be a section labeledDHCP Static Mappings for this Interface
. Click on theAdd
button beneath this section:
- You are now in the
Edit Static Mapping
page. Enter a MAC address in theMAC Address
edit box:
- In the
IP Address
edit box, enter an IP address that is outside of the range of dynamically assigned IP addresses for this interface. - In the
Hostname
edit box, enter the host...