ID #1102

How can we ensure that an endpoint gets same IP every time it boots?

There are couple of ways to do such configuration.
One easy way is to increase IP lease time in /etc/dnsmasq.conf file as follows.

Look for dhcp-range option, and change last value "12h" to "infinite" e.g. change



Another way of binding MAC and ip is by adding 'dhcp-host' entry in dnsmasq.conf file

for example:


Once dnsmasq.conf file is updated, restart dnsmasq service using

service dnsmasq restart

Tags: -

Related entries:

You can comment this FAQ