[Dnsmasq-discuss] Same IP-Address for Wired and Wireless using /etc/ethers

FDi fld at r00t3d.com
Tue May 31 13:38:53 BST 2011


Hello *,

I noticed dnsmasq supports associating multiple hardware addresses to a
single IP-Address by a config line like this:

"dhcp-host=11:22:33:44:55:66,12:34:56:78:90:12,192.168.0.60"

However, if your using /etc/ethers and try to achieve the same, like
this:

/etc/ethers:
11:22:33:44:55:66    laptop
12:34:56:78:90:12    laptop

/etc/hosts:
192.168.0.60    laptop.home    laptop

You get:
dnsmasq-dhcp[7373]: ignoring /etc/ethers line 1, duplicate name or IP
address
dnsmasq-dhcp[7373]: ignoring /etc/ethers line 2, duplicate name or IP
address

Any ideas how to neatly solve this? I'd hate to have to add exceptions
for all my laptops to dnsmasq.conf. Having the adapters HW addresses in
multiple files is such a pain when upgradings things.



More information about the Dnsmasq-discuss mailing list