OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: pbolduc on April 21, 2017, 10:32:46 pm

Title: [RESOLVED] Problem with DHCP Server
Post by: pbolduc on April 21, 2017, 10:32:46 pm
I'm not sure what I might be doing wrong.
I have enabled the DHCP server and it works.
However, if I select Deny Unknown Clients checkbox and input my network card MAC address under MAC Address control ->Enter a list of partial MAC addresses to allow it. Then save my changes the DHCP server refuses to issue an IP to my computer. Any suggestions?

Here is the version information I am running:
OPNsense 17.1.4-i386
FreeBSD 11.0-RELEASE-p8
OpenSSL 1.0.2k 26 Jan 2017

Thanks in advance,
Paul
Title: Re: Problem with DHCP Server
Post by: pbolduc on April 22, 2017, 01:53:28 am
I'm not too sure what MAC address control is used for, but upon a closer inspection a little further down on that same page there was a DHCP Static Mappings for this interface. If I add my MAC Address to this location instead then it registers with the DHCP server and I am assigned an IP address from the DHCP Pool.

*** Updated ***
Okay there appears to be a bug with the way DHCP reservations are handled. It requires the MAC address to be inputted in both the " MAC Address Control"  as well as in the "DHCP Static Mappings for this interface." section. Ultimately you should only need to register the MAC address under DHCP Static Mappings instead of having two separate locations. It just makes it more difficult to maintain.