[ previous ] [ next ] [ threads ]
 
 From:  Klaus Stock <ks at stock dash consulting dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] option 150 in DHCP
 Date:  Wed, 26 Sep 2012 17:18:59 +0200
Hi,

> Is it possible to configure option 150 in the DHCP server? We need this to
> provision CISCO phones..

sadly, there appears to be no support for option 150. Option 66 may be
configured by adding <next-server>xx.xx.xx.xx</next-server> to a the
config file.

Hm. Wait.

The config file contains a comment outside the interface part of the
dhcpd config:

<dhcpd>
 <lan>
  <enable/>
  <range>
   <from>192.168.1.100</from>
   <to>192.168.1.199</to>
  </range>
  <!-- <winsserver>xxx.xxx.xxx.xxx</winsserver> <defaultleasetime></defaultleasetime>
<maxleasetime></maxleasetime> <gateway>xxx.xxx.xxx.xxx</gateway> <domain></domain>
<dnsserver></dnsserver> <next-server></next-server> <filename></filename> <staticmap>
<mac>xx:xx:xx:xx:xx:xx</mac> <ipaddr>xxx.xxx.xxx.xxx</ipaddr> <descr></descr> </staticmap> -->
 </lan> 
 <!-- <opt[n]> ... </opt[n]> -->
</dhcpd>

Maybe it would work to add <opt150>x.x.x.x</opt150>?

I have no idea...but it as I takes only a minute or two to try it out,
you might give it a chance?

Good luck!

 - Klaus