What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Duplicate dhcp-host IP address Error

cdikland

Regular Contributor
For my Asus Ac68U running Merlin FW 378.52_2, I created a dhcp-hostsfile via:

echo "dhcp-hostsfile=/jffs/etc/dnsmasq/static_leases" >> /jffs/configs/dnsmasq.conf.add

Into which I added

echo "18:B4:30:02:5D:FC,Nest-Thermostat,192.168.1.200,infinite" >> /jffs/etc/dnsmasq/static_leases
echo "EC:1A:59:68:5D:19,Hallway-Motion,192.168.1.201,72m" >> /jffs/etc/dnsmasq/static_leases
echo "08:86:3b:6e:0f:0d,CatRm-Motion,192.168.1.202,72m" >> /jffs/etc/dnsmasq/static_leases
echo "ec:1a:59:68:d8:19,LR-Corner-Lamp,192.168.1.203,72m" >> /jffs/etc/dnsmasq/static_leases


When I reboot the router the system log shows the following error for each entry

Dec 31 19:00:38 dnsmasq[673]: duplicate dhcp-host IP address 192.168.1.200 at line 1 of /jffs/etc/dnsmasq/static_leases
Dec 31 19:00:38 dnsmasq[673]: duplicate dhcp-host IP address 192.168.1.201 at line 2 of /jffs/etc/dnsmasq/static_leases
Dec 31 19:00:38 dnsmasq[673]: duplicate dhcp-host IP address 192.168.1.202 at line 3 of /jffs/etc/dnsmasq/static_leases
Dec 31 19:00:38 dnsmasq[673]: duplicate dhcp-host IP address 192.168.1.203 at line 4 of /jffs/etc/dnsmasq/static_leases


Anyone have any idea why or what I may be doing wrong.
 
Hmm, not sure. However have you tired creating DHCP reservation. This way whenever they come online they will have same address and stay that way.
 
Hmm, not sure. However have you tired creating DHCP reservation. This way whenever they come online they will have same address and stay that way.
Actual each of the above is also within the DHCP reservation list as well.
 
If you are adding clients via a hosts file, delete the manual assignments in the router gui.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top