I know there are several ways to solve this challenge, but wanted to eliminate one, if I need to, as I am not quite sure yet if this is not possible.
Using a USG router as my layer 3, I have a Cisco SG-500 (L2 only), and various LAN devices, wired and wireless. I am currently using 3 different VLANs, 2 of which are my primary and what I am referring to here.
I have 1 VLAN that is my pihole subnet and another that are devices that I don't want to use pihole with (for now).
I know that dnsmasq can handout multiple subnet DHCP and handle it's DNS, but I have only seen references to it being able to do this by way of multiple interfaces (as with a VM).
Is there a way to handle this the same way, but instead with a single NIC, using VLAN tags for the different subnets? TBH, this may not be the best way to handle what I am trying to do. I could have my PiHole handle DHCP for it's own subnet/VLAN and keep my existing linux sever as my other subnet/VLAN dhcp and DNS. However, what I want to do is to have both DNS servers know the hosts that are on each of the other subnets. I could do this easily with the USG if I made it my DHCP server, but I like to keep it off there as I change my router often for testing and such and having this service isolated is much easier.
Using a USG router as my layer 3, I have a Cisco SG-500 (L2 only), and various LAN devices, wired and wireless. I am currently using 3 different VLANs, 2 of which are my primary and what I am referring to here.
I have 1 VLAN that is my pihole subnet and another that are devices that I don't want to use pihole with (for now).
I know that dnsmasq can handout multiple subnet DHCP and handle it's DNS, but I have only seen references to it being able to do this by way of multiple interfaces (as with a VM).
Is there a way to handle this the same way, but instead with a single NIC, using VLAN tags for the different subnets? TBH, this may not be the best way to handle what I am trying to do. I could have my PiHole handle DHCP for it's own subnet/VLAN and keep my existing linux sever as my other subnet/VLAN dhcp and DNS. However, what I want to do is to have both DNS servers know the hosts that are on each of the other subnets. I could do this easily with the USG if I made it my DHCP server, but I like to keep it off there as I change my router often for testing and such and having this service isolated is much easier.