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

tamorgen
Posts: 53
Joined: Wed Jul 17, 2013 1:48 pm

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

Postby tamorgen » Thu Apr 11, 2019 3:10 pm

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Thu Apr 11, 2019 6:07 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 23 guests