Forums

Resolved
0 votes
Hello Community.
I'm moving from a windows DHCP server to clearOS and the one thing I'm having an issue with is duplicating the option 66 we had for SIP phone configurations on a server off site.
On the windows side, the Option66 line was http://xxxxx.com/xxxxx/xxx.xml
Obviously, that is not a TFTP server, so I'm unsure how to make that work in ClearOS DHCP.

Would someone be willing to point me in the right direction?
Thank you!
-Briggs
Thursday, May 10 2018, 06:14 PM
Share this post:
Responses (3)
  • Accepted Answer

    Friday, May 11 2018, 01:07 PM - #Permalink
    Resolved
    0 votes
    Not necessarily totally safe! I think it will be okand not show if you use a separate file from /etc/dnsmasq.d/dhcp.conf, but if you used /etc/dnsmasq.d/dhcp.conf I'd expect it to try to show up in the webconfig in the TFTP section and would show with an error as it only accepts an IP address. The webconfig generally reads the underlying files directly and just displays values it sees there. I would expect it to parse the /etc/dnsmasq.d/dhcp.conf file and show an option 66 entry as TFTP. Note this is all guesswork based on experience rather than an ability to read the webconfig code.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 11 2018, 12:15 PM - #Permalink
    Resolved
    0 votes
    Nick,
    Thanks a lot for the info. Is it safe to assume any changes like this that I make via dnsmasq will NOT show up in the gui?
    Just thinking about those who might have to access this system after me.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 10 2018, 08:41 PM - #Permalink
    Resolved
    0 votes
    Hello and welcome to ClearOS.

    DHCP in ClearOS is handled by dnsmasq. Google "dnsmasq option 66". It is best to add any manual options to a new file called anything you want in /etc/dnsmasq.d/ then reload dnsmasq with a:
    systemctl restart dnsmasq.service


    My concern is that setting it will interfere with the ClearOS webconfig, so, at a minimum, do not set the option by editing /etc/dnsmasq.d/dhcp.conf
    The reply is currently minimized Show
Your Reply