<p>When I do as you suggest, I get the message: not giving the name mike. To the dhcp lease of x.x.x.x because the name exists in /etc/hosts with address 10.10.10.1</p>
<p>As far as locking everything down by mac, the network is isolated and &#39;trusted&#39;.  I get a machine, I need to set it up and I get to keep it for a little while then I deliver it and don&#39;t see it again.  I just want a convenient name to refer to it while its here and a predictable ip based on the hostname I assign when I install.</p>

<p>Thanks</p>
<div class="gmail_quote">&gt; If i understand correctly, what you want to do is:<br>&gt; <br>&gt; &quot;Give the machine claiming name &#39;mike&#39; the 10.10.10.1 address&quot;<br>&gt; <br>&gt; You can just add in /etc/hosts :<br>
&gt; <br>&gt; 10.10.10.1    mike<br>&gt; <br>&gt; and restart the service...<br>&gt; <br>&gt; have a look: <a href="http://bit.ly/9D2JzU">http://bit.ly/9D2JzU</a> <a href="http://bit.ly/a7DJ1e">http://bit.ly/a7DJ1e</a><br>
&gt; <br>&gt; Though i strongly suggest you to make dnsmasq give ip addresses based on<br>&gt; macaddress (For security reasons...)<br>&gt; <br>&gt; <br>&gt; 2010/10/13 Mark Goldman &lt;<a href="mailto:bitshifter@gmail.com">bitshifter@gmail.com</a>&gt;<br>
&gt; <br>&gt;&gt; New user here, I spent several hours googling and came up empty handed.<br>&gt;&gt;<br>&gt;&gt; What I would like is for dnsmasq to hand out the ip address that is in<br>&gt;&gt; /etc/hosts for any host that claims that hostid.  I would like to avoid<br>
&gt;&gt; having a dhcp-host=name line for each host that is in /etc/hosts in addition<br>&gt;&gt; to having the information in /etc/hosts.<br>&gt;&gt;<br>&gt;&gt; If there is a better way to achieve this, I&#39;m game for that too.  I would<br>
&gt;&gt; like to have all this info localized.<br>&gt;&gt;<br>&gt;&gt; -mdg<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Dnsmasq-discuss mailing list<br>&gt;&gt; <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
&gt;&gt; <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>&gt;&gt;<br>&gt;&gt;<br></div>