DHCPv4 - kea - vendor class - LAN

Started by parsa, February 22, 2024, 03:57:56 PM

Previous topic - Next topic
Hi everyone,

I trust this message finds you well.

I am reaching out to seek guidance on a matter related to utilizing OPNsense as our firewall and testing the Kea DHCP service for a specific zone.

Given that ISC DHCP is no longer supported or maintained since 2022, we are exploring the potential of using Kea DHCP to fulfill our requirements.



In the process of testing Kea on a dedicated LAN created within OPNsense, I've encountered a challenge. Specifically, I am unable to find a section or place in the GUI to define client classes, which is crucial for obtaining IP assignments for clients within the Test LAN.

As assigning classes is essential for the proper functioning of Kea DHCP, I am seeking your assistance in locating or configuring this setting within OPNsense. Are there any recommendations, documentation, or steps you can provide to help me address this issue and successfully configure Kea DHCP for the Test LAN?



(Log from Services:

Warning

kea-dhcp4

WARN [kea-dhcp4.alloc-engine.0x8355afa00] ALLOC_ENGINE_V4_ALLOC_FAIL_CLASSES [hwtype=1 ******], cid=[*******], tid=0x88777ea: Failed to allocate an IPv4 address for client with classes: ALL, VENDOR_CLASS_MSFT 5.0, UNKNOWN

)



Your guidance and support in resolving this matter would be highly appreciated.

If there are any specific details or logs needed from my end to facilitate the process, please let me know, and I will promptly provide the required information.


Thank you for your time and attention to this inquiry. I look forward to hearing from you soon.

Best regards,
Parsa


It's me again.

To ensure that DHCP works properly and assigns IPs, one should define pools. (You define these in the subnet you want, and then specify a range of IPs that DHCP can assign to clients.)
Well, I didn't know this before, but now I do :)

(So, you don't really need to define vendor classes and such to have your DHCP server working. I hope I'm right...)

Hopefully, this information helps if you encounter the same problem!

Cheers