OPNsense Forum

English Forums => General Discussion => Topic started by: skyjam on January 04, 2021, 12:05:17 pm

Title: DHCP server vendor class settings
Post by: skyjam on January 04, 2021, 12:05:17 pm
Hi there,

I'm looking for information on how to define vendor class settings to be set for DHCP server on LAN.

It looks like it is not possible using the web Interface.
Any manual modifications to dhcpd.conf seeem to be overwritten automatically...

Maybe adding the possibility in the web interface to define an include file for dhcpd.conf?
Code: [Select]
include "/mypath/myfile.conf";
Title: Re: DHCP server vendor class settings
Post by: meisterj on March 04, 2021, 02:18:36 pm
Hi,

same problem here, i need to define vednor class entrys (in my case for voip clients), but do not know where? Is there a way to modify (and keep Settings) in /var/dhcpd//etc/dhcpd.conf?
Title: DHCP server vendor class settings
Post by: Greelan on March 04, 2021, 02:32:50 pm
Try:

Code: [Select]
/usr/local/etc/inc/plugins.inc.d/dhcpd.inc
Of course, won’t survive an update, but it is something
Title: Re: DHCP server vendor class settings
Post by: Greelan on March 04, 2021, 02:54:42 pm
Actually, can the Additional Options for the DHCP server in the GUI not be used for your purpose?
Title: Re: DHCP server vendor class settings
Post by: parsa on February 22, 2024, 05:29:31 pm
To ensure that KEA-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