Page 1 of 1

Is there a way to use DHCP tags for multiple VLANS?

Posted: Thu Apr 11, 2019 3:10 pm
by tamorgen
Right now, on my network, my main VLAN for wired and wireless connections get their DHCP leases from Amahi. Since hda-ctl automatically reconfigures amahi-dhcp.conf if any changes are made, there doesn't seem to be a way to alter the dhcp-range line to include vlan tags, so I can add another DHCP VLAN for IoT devices. My router is capable of tagging devices to different VLANs, so currently I have to set all my IoT devices to use the router's DHCP. Unfortunately, this means these devices can't take advantage of Amahi's hostname.domain entries.

With dnsmasq, multiple tagged vlans should be possible, I can tag one for wireless, one for wired, one for IoT devices.

Is this simply not possible with Amahi's locked down configs?

Re: Is there a way to use DHCP tags for multiple VLANS?

Posted: Thu Apr 11, 2019 6:07 pm
by bigfoot65
You can add .conf files to /etc/dnsmasq.d directory and Amahi won't mess with them. Just have to restart dnsmasq after adding them.

For example, we do this for the amahi-netboot App on Fedora 27.