<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffcc">
I am not sure I follow your problem.<br>
<br>
As long as you keep your leases file, one MAC should always get the
same IP, except if it has been given out since last time that MAC
was seen. The only reason it would be given out again is if you run
out of IPs.<br>
<br>
So if:<br>
- you always retain the leases file<br>
- have enough IPs that it will never be necessary to reuse IPs<br>
then the default behaviour (mandated by RFC) is to always give the
same IP to a MAC.<br>
<br>
I assume you see the problem? What does it look like when it
happens? Any specific way to make it happen?<br>
<br>
The leases file is added to every time something happens to a lease
- and at some interval a new file is written with the current
content of the in-memory tables. So the last entry in the leases
file is the valid one.<br>
<br>
<br>
On 26/10/10 2:48, Christ Schlacta wrote:
<blockquote
cite="mid:E88FC479-8F20-464C-B9D8-209FF8B1DC6D@aarcane.org"
type="cite">
<div>I looked into the leases. Mine seems to have built up alot of
drift. Anyway, I did considder that. I was hoping there was
some built in mechanism to accomplish the same effect before I
pursued that<br>
<br>
Sent from my iPhone</div>
<div><br>
On Oct 25, 2010, at 17:40, Tom Martinson <<a
moz-do-not-send="true"
href="mailto:thomas.s.martinson@gmail.com">thomas.s.martinson@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<font size="-1">how about setting your lease time to something
really
really long? Or writing a script that will check the
dhcp.leases file
and then make an entry for you?<br>
<br>
Tom<br>
</font><br>
On 10/25/2010 08:38 PM, Christ Schlacta wrote:
<blockquote
cite="mid:48B36837-00C8-455A-871F-C6D5906BC649@aarcane.org"
type="cite">
<div>That's how I started but a I've gotten more hosts it
gets a bit
demanding trying to catch each new nic mac and set an ip.
I'd like to
somehow automate the process of ensuring that every nic
gets the first
ip for forever. <br>
<br>
Sent from my iPhone</div>
<div><br>
On Oct 25, 2010, at 17:26, Tom Martinson <<a
moz-do-not-send="true"
href="mailto:thomas.s.martinson@gmail.com">thomas.s.martinson@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div><small>Well, there are a couple of ways to do it.
The way
that I do it
might not work for you, but after I define my subnets,
I put an entry
in like this.<br>
<br>
host hgw2 {<br>
hardware ethernet 00:26:18:e6:0e:a3;<br>
fixed-address 172.30.3.20;<br>
}<br>
<br>
<br>
Tom<br>
</small><br>
On 10/25/2010 07:50 PM, Christ Schlacta wrote:
<blockquote
cite="mid:941F502D-524D-440A-A8DC-5C27D715DE0E@aarcane.org"
type="cite">
<div>Could you explain how or at least link to the
relavent
config
entries please?<br>
<br>
Sent from my iPhone</div>
<div><br>
On Oct 25, 2010, at 15:52, Tom Martinson <<a
moz-do-not-send="true"
href="mailto:thomas.s.martinson@gmail.com">thomas.s.martinson@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div><font size="-1">Yes it is. </font><br>
<br>
On 10/25/2010 06:49 PM, Christ Schlacta wrote:
<blockquote
cite="mid:AANLkTik+x93ahYN4HHrd8aRtnyD1ADifEzHDvYnsdRon@mail.gmail.com"
type="cite">
<pre wrap="">is it possible to have dhcpd issue a static lease to a client on it's
first connection, such that later when the same MAC address tries to
connect again later, the same IP address is issued again and the same
DNS entries are updated?
_______________________________________________
dhcp-users mailing list
<a moz-do-not-send="true" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a moz-do-not-send="true" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>dhcp-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a></span><br>
<span><a moz-do-not-send="true"
href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></span></div>
</blockquote>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
dhcp-users mailing list
<a moz-do-not-send="true" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a moz-do-not-send="true" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
</blockquote>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>dhcp-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a></span><br>
<span><a moz-do-not-send="true"
href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></span></div>
</blockquote>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
dhcp-users mailing list
<a moz-do-not-send="true" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a moz-do-not-send="true" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
</blockquote>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>dhcp-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a></span><br>
<span><a moz-do-not-send="true"
href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></span></div>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
</pre>
</body>
</html>