<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Greetings,<div><br></div><div>I have a setup in which the DHCP range is 192.168.2.128 to 192.168.2.250, and I manually give some devices an IP in range 192.168.2.1 to 192.168.2.127, using the dhcp-host line. So that I can use the u32 traffic classifier to split traffic streams.</div><div>It looks working well. Is there some story about why the static address should be in the DHCP range?</div><div><br></div><div><br></div><div><br></div><div>¡ª¡ªÎåÔÂ</div><div><br><div><hr id="stopSpelling">Date: Mon, 15 Dec 2014 14:07:46 -0500<br>From: aweber@comcast.net<br>To: dnsmasq-discuss@lists.thekelleys.org.uk<br>Subject: Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?<br><br>
  
    
  
  
    <b>ex:<br>
      dhcp-host=00:0c:29:ea:0d:a3,192.168.1.199</b><br>
    <br>
    (so dhcp-host=<MAC_ADDRESS>,<STATIC_IP> )<br>
    <br>
    That MAC address will always be given the same, explicit IP Address
    (which should be in the DHCP Range that dnsmasq is responsible for).<br>
    <br>
    -AJ<br>
    <br>
    <br>
    <div class="ecxmoz-cite-prefix">On 12/15/2014 1:37 PM, Chris Green
      wrote:<br>
    </div>
    <blockquote cite="mid:20141215183742.GA4710@chris">
      <pre>As per the subject, if I want to give a host a specific IP address
using dnsmasq as DHCP server what's the neatest/easiest way to do it? 

</pre>
    </blockquote>
    <br>
  

<br>_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</div></div><div class="vimiumReset vimiumHUD" style="right: 150px; opacity: 0; display: none;"></div>                                         </div></body>
</html>