Follow these steps to get the add-on installed on your system:
By doing so you should get to your HomeAssistant configuration page for addon digital archives and you should be asked to add https://github.com/f18m/ha-addons-repo
to the list. Hit "Add".
-
In the list of add-ons, search for "Francesco Montorsi addons" and then the "Dnsmasq-DHCP" add-on and click on that.
-
Click on the "INSTALL" button.
You need to make sure you don't have other DHCP servers running already in your network. You will also need all details about the network where the DHCP server should be running:
- the netmask
- the gateway IP address (your Internet router typically)
- the DNS server IP addresses (you may use e.g. Google DNS servers)
- an IP address range free to be used to provision addresses to DHCP dynamic clients
The Dnsmasq-DHCP addon configuration is documented in the 'Configuration' tab of the addon. Alternatively check out the comments inside the addon configuration file.
The DHCP server may be configured to provide a specific IP address to a specific client (using its MAC address as identifier). These are IP address reservations. Note that static IP addresses do not need to be inside the DHCP range; indeed quite often the static IP address reserved lies outside the DHCP range.
Sometimes the hostname provided by the DHCP client to the DHCP server is really awkward and non-informative, so Dnsmasq-DHCP allow users to override that by specifying a human-friendly name for a particular DHCP client (using its MAC address as identifier).