Sorry...my last reply was incomplete<div><br></div><div><div class="line alt2"><table><tbody><tr><td class="content"><b><code class="spaces"></code><code class="plain">host ns2 {</code></b></td></tr></tbody></table></div><div class="line alt1">
<table><tbody><tr><td class="number"><font face="monospace"><b><br></b></font></td><td class="content"><b><code class="spaces"> </code><code class="plain">next-server <a href="http://ns2.your-domain.com">ns2.your-domain.com</a>;</code></b></td>
</tr></tbody></table></div><div class="line alt2"><table><tbody><tr><td class="number"><font face="monospace"><b><br></b></font></td><td class="content"><b><code class="spaces"> </code><code class="plain">hardware ethernet 00:02:c3:d0:e5:83;</code></b></td>
</tr></tbody></table></div><div class="line alt1"><table><tbody><tr><td class="number"><font face="monospace"><b><br></b></font></td><td class="content"><b><code class="spaces"> </code><code class="plain">fixed-address 40.175.42.254;</code></b></td>
</tr></tbody></table></div><div class="line alt2"><table><tbody><tr><td class="number"><font face="monospace"><b><br></b></font></td><td class="content"><b><code class="spaces"> </code><code class="plain">}</code></b></td>
</tr></tbody></table>Here is the exact text to add a static route to your dhcp.conf. If you are using some type of GUI interface to make these changes you will want to consult your documentation. However, all settings for dhcp are in dhcp.conf. The lease given out to a specific machine will only contain what you tell it to in the conf file on the server.</div>
<div class="line alt2"><br></div><div class="line alt2">Hope this helped</div><div class="line alt2">Ed</div><div class="line alt2"><br></div><br><div class="gmail_quote">On Wed, May 2, 2012 at 12:19 PM, Edward DeLargy <span dir="ltr"><<a href="mailto:eddelargy@gmail.com" target="_blank">eddelargy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All of your options are in the dhcp.conf file. Look at the top of the file under 'option router' for default gateway router. For static routed dhcp you would add an option in the body of the file <div>
i.e.: #eds machine {</div>
<div> option ethernet <your mac></div><div class="HOEnZb"><div class="h5"><div><br></div><div> <br><br><div class="gmail_quote">On Wed, May 2, 2012 at 12:04 PM, Simon Hobson <span dir="ltr"><<a href="mailto:dhcp1@thehobsons.co.uk" target="_blank">dhcp1@thehobsons.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">shweta jogi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I know that static assignment is not stored in /var/db/dhcpd/dhcp.leases. So<br>
from where can I found record of fixed address?? It is not in reserved list.<br>
</blockquote>
<br>
The server doesn't keep any track of them at all. They are in the config file and read at startup, beyond that they never exist outside of the in-memory tables. Assignments created via OMAPI will be different - I assume they will be in the leases file (but not as a regular lease).<br>
<br>
The thing to remember is that a fixed-address assignment does not go through the normal lease process. The server just hands it out whenever that matching client asks for an address - it doesn't keep a record of having done that.<span><font color="#888888"><br>
<br>
-- <br>
Simon Hobson<br>
<br>
Visit <a href="http://www.magpiesnestpublishing.co.uk/" target="_blank">http://www.<u></u>magpiesnestpublishing.co.uk/</a> for books by acclaimed<br>
author Gladys Hobson. Novels - poetry - short stories - ideal as<br>
Christmas stocking fillers. Some available as e-books.<br>
______________________________<u></u>_________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/<u></u>listinfo/dhcp-users</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>