Welcome & beginners question regarding MAC address identification in DHCP lease

Started by Northguy, November 17, 2018, 12:57:37 PM

Previous topic - Next topic
Hi All,

First of all, I would like to say Hello! I built myself a PCengines APU2d4 box on which I installed OPNsense. Currently going through a strong learning curve, which is fine, but now puts me in a position where I am a bit puzzled  ;D

I configured OPNsense as DHCP server and would like to identify my devices in the DHCP leases table a bit more easily, based on a description. Most devices only show generic manufacturer info under the MAC address, but do not provide a Hostname or a more verbose description.

I tried creating a static mapping for the MAC address but am not necessarily looking for a static IP lease. Therefore I did not fill in the IP address in the edit box. According to the help it says "If no IPv4 address is given, one will be dynamically allocated from the pool", but if I follow this way, the MAC address is shown as ' static'  in the leases table without an IP. i.e.: I have created a static lease without a visible dynamic IP.

Is this a bug, or is there another way to create an easily identifiable indicator for the MAC addresses that have obtained a dynamic lease?

Looking forward to your suggestions..

Quote from: Northguy on November 17, 2018, 12:57:37 PM
According to the help it says "If no IPv4 address is given, one will be dynamically allocated from the pool", but if I follow this way, the MAC address is shown as ' static'  in the leases table without an IP. i.e.: I have created a static lease without a visible IP.

Is this a bug, or is there another way to create an easily identifiable indicator for the MAC addresses that have obtained a lease?

Looking forward to your suggestions..

I am in the same boat and would also appreciate some feedback from an expert.
OPNsense 24.7.2

@z0rk: Added it as an issue to the github. Maybe there it has more exposure to the developers.

https://github.com/opnsense/core/issues/2946

Maybe you can contribute there