Page 1 of 1

adding a dhcp option

Posted: 17 Apr 2018 07:03
by stunshot
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

Re: adding a dhcp option

Posted: 18 Apr 2018 03:06
by silvio
here is a working dhcpd.conf.

Code: Select all

server-identifier dhcp.local;
 
subnet 192.168.20.0 netmask 255.255.255.0
{
        dynamic-dhcp range 192.168.20.50 192.168.20.99
        {
                option subnet-mask 255.255.255.0;
                option routers 192.168.20.1;
                option domain-name-servers 192.168.100.108;
                option dhcp-lease-time 30000;
                option 60 HAP.;
                option 138 192.168.20.100;
              }
}
regards
Silvio

Re: adding a dhcp option

Posted: 19 Apr 2018 05:48
by stunshot
Cheers Silvio, all working as expected..