Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 2.16 KB

DOCS.md

File metadata and controls

51 lines (31 loc) · 2.16 KB

Home Assistant Add-on: Dnsmasq-DHCP

Installation

Follow these steps to get the add-on installed on your system:

  1. Add Francesco Montorsi HA addons store by clicking here: Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

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".

  1. In the list of add-ons, search for "Francesco Montorsi addons" and then the "Dnsmasq-DHCP" add-on and click on that.

  2. Click on the "INSTALL" button.

How to use

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

Configuration

The Dnsmasq-DHCP addon configuration is documented in the 'Configuration' tab of the addon. Alternatively check out the comments inside the addon configuration file.

Concepts

Static IP addresses

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.

Friendly Names

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).

Links