[Dnsmasq-discuss] dnsmasq should support duplicate ip addresses in /etc/ethers or warn about them

Carlos Carvalho carlos at fisica.ufpr.br
Sun Jul 5 17:12:50 BST 2009

Felix Schwarz (felix.schwarz at oss.schwarz.eu) wrote on 5 July 2009 08:17:
 >Carlos Carvalho wrote:
 >> This can be done putting more than one mac address in the same dhcp-host
 >> line. It has the additional benefit of transitioning the same lease
 >> from one mac to the other.
 >Something like this?
 >--dhcp-host=<mac1>, --dhcp-host=<mac2>,

No, in the same dhcp-host declaration. See the last paragraph in the
dhcp-host entry of the manual.

 >However yesterday I spent some hours because I mistyped an IP address so that 
 >I had two lines with the same ip address. dnsmasq just used the last line 
 >which is where the trouble started for me. What would have helped me is a 
 >warning that stated that I have a duplicated line in /etc/ethers.

Yes, that'd be useful.

More information about the Dnsmasq-discuss mailing list