Felix Schwarz ([email protected]) 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>,1.2.3.4 --dhcp-host=<mac2>,1.2.3.4
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.
