DHCP specific options - howto/wiki?

NethServer Version: 7.9
Module: DHCP Server
So.

Currently the DHCP interface do not comply to add custom options for the service. Automagically informations are withdraw from the PBX, the network interfaces, and so on.

Ok… But i’d love to create custom options, and i know the way (custom template) but not how to make it, at least in the correct way for DHCP.

Startin from option 66.
I’d love to have any experience and I’m available to sort of “wiki/howto” for implementing “the right way” for other users…

I think it’s simpler to follow these instructions to create a custom template fragment that adds options at the end of /etc/dnsmasq.conf:

Just add your options In /etc/e-smith/templates-custom/etc/dnsmasq.conf/91options like

dhcp-option=tag:br0,66,1.2.3.4
dhcp-option=tag:br0,150,1.2.3.4

br0 is the internal interface and options 66 and 150 are set to 1.2.3.4 in this example.

3 Likes