My Community Dashboard

  • DHCP server with custom MAC address list

    Hello Forum,

    I was thinking and you might know an easy sollution for me.

    In the past I was using CentOS 7 with dnsmasq and a converter located here: https://github.com/bertalanimre/dnsmasq-centos7

    Basically I had a dnsmasq.source file with the MAC addresses and IP addresses and hostnames listed. Then I used the converter which created the necesarry files for dnsmasq to work. Then I jsut restarted the service and voiala. Only the MAC addresses that I've allowed were able to connect to the DHCP server.

    In ClearOS I know I have to set the Authoritative mode off to allow only designated MAC addresses to connect but doing it on the webconfig seems slow and hard to observe for a report for example. Is there any way I can use the mentioned converter with ClearOS or just where do I have to set the MAC addresses for dnsmasq by default? I prefer doing this on the CLI if there is no more convinient way doing it on the webconfig.

    Best Regards:
    Bert