Self, never mind. That's not going to work out for at least a couple reasons, the biggest being that you can't stop *all* of the system, other than pihole, from using the 2nd interface and the 2 hosts have different rules in the firewall. Go back to the Docker image instead.

At least I found out how to do what I was asking for so it's not a total waste of time. The "solution" is to add the following section to /etc/systemd/network/eth1.network

[DHCPv6]
Hostname=pihole
DUIDType=uuid
DUIDRawData=00:02:00:00:ab:11:e5:57:e9:1f:92:75:89:50


On 10/3/22 10:26, Steve wrote:
For years now I have been assigning both v4 and v6 addresses to my hosts this way

dhcp-host=dmz,F0:4D:A2:2E:AB:C4,server-d,       192.168.2.2
dhcp-host=dmz,00:11:0A:5F:F7:FE,pihole,         192.168.2.3

and

dhcp-host=id:00:02:00:00:AB:11:51:D7:96:BA:E4:CE:13:F5, server-d, [fdfc:5b34:b12::2] dhcp-host=id:00:02:00:00:ab:11:e5:57:e9:1f:92:75:89:50, pihole, [fdfc:5b34:b12::3]

The hardware that Pi-hole was running on has died and I've installed the Pi-hole package on the server-d hardware and added a NIC so I can have separate addresses for the package. The v4 assignments work as expected.

The problem, of course, is that server-d has only the single DUID, as shown above, and I seemingly have no way to assign the [fdfc:5b34:b12::3] address to the new NIC. I've searched high and low for either a way to assign a separate DUID to the new NIC or for a different way (other than DUID) to identify the NICs. I've found many posts, going back over 5 years, on vaguely-related topics but nothing to address my need specifically.

If there is a way to accomplish my need/want I hope the answer is forthcoming here.

Thanks for your time.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

--
--------------------------------------------------------------------
Steve Schaeffer      When all is said and done...
sch...@msn.com       there will have been a lot more said than done.
--------------------------------------------------------------------

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to