add dhcp option to the dhcpd.conf file

Topic

HI all, can anyone advise to how I add a dhcp option to the dhcpd.conf file ?

I want to add option 138 to point to OV server for Stellar, IE

option 138 > x.x.x.x

Date
29.03.2019
answers
3
views
264
Author
Asked by jmansa

Answers

Here is a properly formated example of such a dhcpd.conf. Please note the way I'm using Option 60 to determine the "class of device" and associate a class and therefore the proper pool.

https://dokuwiki.alu4u.com/doku.php?id=stellar-lab-kvm-pfsense-debian#dhcp_konfiguration_isc-dhcp-server

Date
29.03.2019
Author
Asked by benny
Add Comment
Vote

# # Create custom option 138 #

option ovwma code 138 = ip-address;

subnet 192.168.10.0 netmask 255.255.255.0 { option routers 192.168.10.254; option subnet-mask 255.255.255.0; option broadcast-address 192.168.10.255; default-lease-time 6000; max-lease-time 72000; # Pool for Stellar AP pool { allow members of "STELLAR"; range 192.168.10.14 192.168.10.20; option ovwma 192.168.2.15; } }

Date
29.03.2019
Author
Asked by benny
Add Comment
Vote
Comments
<p>This platform doesn&#8217;t like me &#8230;</p>

The way you ask your question it looks like you are trying to add the option on a omniswitch to manage a stellar AP pool ? it it's the case please find in attach the dhcpd.conf you may use as a template (simply add option 138 ). if it's on another type of server please let use know the server type an we will help.

Date
29.03.2019
Author
Asked by klentil
Add Comment
Vote