what&#39;s the dnsmasq dhcp log output?... <div><br></div><div>try: </div><div><br></div><div>log-dhcp<br><br><div class="gmail_quote">2010/10/13 Mark Goldman <span dir="ltr">&lt;<a href="mailto:bitshifter@gmail.com">bitshifter@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>Negative.  The only line that contains ignore is commented out. </p>
<p>#dhcp-ignore=#known<br>
</p><div><div></div><div class="h5">
<div class="gmail_quote">&gt; On Wed, Oct 13, 2010 at 4:12 PM, Mark Goldman &lt;<a href="mailto:bitshifter@gmail.com" target="_blank">bitshifter@gmail.com</a>&gt; wrote:<br>&gt; <br>&gt;&gt; Additionally, if I add the line dhcp-host=mike to my dnsmasq.conf the ip<br>

&gt;&gt; address is assigned as expected.  I forgot to put that in the last e-mail.<br>&gt;&gt; &gt; When I do as you suggest, I get the message: not giving the name mike. To<br>&gt;&gt; &gt; the dhcp lease of x.x.x.x because the name exists in /etc/hosts with<br>

&gt;&gt; address<br>&gt;&gt; &gt; 10.10.10.1<br>&gt;&gt;<br>&gt; <br>&gt; Just to double-check, you aren&#39;t using dhcp-ignore-names are you?  I think<br>&gt; the exact behavior you describe would result from<br>&gt; <br>

&gt; dhcp-ignore-names=#known<br>&gt; <br>&gt; since the man page says<br>&gt; <br>&gt; When a host matches any dhcp-host directive (or one implied by /etc/ethers)<br>&gt; then the special tag &quot;known&quot; is set.<br>

&gt; <br>&gt; <br>&gt; <br>&gt;&gt; &gt;<br>&gt;&gt; &gt; As far as locking everything down by mac, the network is isolated and<br>&gt;&gt; &gt; &#39;trusted&#39;. I get a machine, I need to set it up and I get to keep it for<br>

&gt;&gt; a<br>&gt;&gt; &gt; little while then I deliver it and don&#39;t see it again. I just want a<br>&gt;&gt; &gt; convenient name to refer to it while its here and a predictable ip based<br>&gt;&gt; on<br>&gt;&gt; &gt; the hostname I assign when I install.<br>

&gt;&gt; &gt;<br>&gt;&gt; &gt; Thanks<br>&gt;&gt; &gt;&gt; If i understand correctly, what you want to do is:<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; &quot;Give the machine claiming name &#39;mike&#39; the 10.10.10.1 address&quot;<br>

&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; You can just add in /etc/hosts :<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; 10.10.10.1 mike<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; and restart the service...<br>&gt;&gt; &gt;&gt;<br>

&gt;&gt; &gt;&gt; have a look: <a href="http://bit.ly/9D2JzU" target="_blank">http://bit.ly/9D2JzU</a> <a href="http://bit.ly/a7DJ1e" target="_blank">http://bit.ly/a7DJ1e</a><br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Though i strongly suggest you to make dnsmasq give ip addresses based on<br>

&gt;&gt; &gt;&gt; macaddress (For security reasons...)<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; 2010/10/13 Mark Goldman &lt;<a href="mailto:bitshifter@gmail.com" target="_blank">bitshifter@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; New user here, I spent several hours googling and came up empty handed.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; What I would like is for dnsmasq to hand out the ip address that is in<br>&gt;&gt; &gt;&gt;&gt; /etc/hosts for any host that claims that hostid. I would like to avoid<br>

&gt;&gt; &gt;&gt;&gt; having a dhcp-host=name line for each host that is in /etc/hosts in<br>&gt;&gt; &gt; addition<br>&gt;&gt; &gt;&gt;&gt; to having the information in /etc/hosts.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; If there is a better way to achieve this, I&#39;m game for that too. I<br>

&gt;&gt; would<br>&gt;&gt; &gt;&gt;&gt; like to have all this info localized.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; -mdg<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>

&gt;&gt; &gt;&gt;&gt; Dnsmasq-discuss mailing list<br>&gt;&gt; &gt;&gt;&gt; <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>&gt;&gt; &gt;&gt;&gt; <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>

&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;<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" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>

&gt;&gt; <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>&gt;&gt;<br>&gt;&gt;<br></div>
</div></div><br>_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
<br></blockquote></div><br></div>