More than one MAC for DHCP-Reservations

dnsmasq supports more than one MAC per reservation, for example
dhcp-host=mac1,mac2,hostname,ip
This is sometime useful if a device connect to the network via LAN or WLAN
It would be perfect if the pi-hole-GUI also supports this feature.

It should already be possible to just create two entries with the same hostname and address and two different MACs. I don't really like the idea of assigning the same IP to two MAC addresses as you will then always have to ensure that only one interface is connected to the network at a given time.

My personal opinion is that each interface should have its own IP address. I would configure my network to e.g. hand out three different leases:

192.168.2.10 -> laptop.lan
192.168.2.11 -> laptop.wifi
192.168.2.12 -> laptop.vpn

However, I do not use static assignments at all, as everything in my network just uses host names.

1 Like