dhcpd issue static lease on first request
Christ Schlacta
aarcane at aarcane.org
Tue Oct 26 00:48:16 UTC 2010
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
Sent from my iPhone
On Oct 25, 2010, at 17:40, Tom Martinson
<thomas.s.martinson at gmail.com> wrote:
> 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?
>
> Tom
>
> On 10/25/2010 08:38 PM, Christ Schlacta wrote:
>>
>> 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.
>>
>> Sent from my iPhone
>>
>> On Oct 25, 2010, at 17:26, Tom Martinson <thomas.s.martinson at gmail.com
>> > wrote:
>>
>>> 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.
>>>
>>> host hgw2 {
>>> hardware ethernet 00:26:18:e6:0e:a3;
>>> fixed-address 172.30.3.20;
>>> }
>>>
>>>
>>> Tom
>>>
>>> On 10/25/2010 07:50 PM, Christ Schlacta wrote:
>>>>
>>>> Could you explain how or at least link to the relavent config
>>>> entries please?
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Oct 25, 2010, at 15:52, Tom Martinson <thomas.s.martinson at gmail.com
>>>> > wrote:
>>>>
>>>>> Yes it is.
>>>>>
>>>>> On 10/25/2010 06:49 PM, Christ Schlacta wrote:
>>>>>>
>>>>>> 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
>>>>>> dhcp-users at lists.isc.org
>>>>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>>>>>
>>>>>
>>>>
>>>>> _______________________________________________
>>>>> dhcp-users mailing list
>>>>> dhcp-users at lists.isc.org
>>>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>>>
>>>> _______________________________________________
>>>> dhcp-users mailing list
>>>> dhcp-users at lists.isc.org
>>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>>
>>
>>> _______________________________________________
>>> dhcp-users mailing list
>>> dhcp-users at lists.isc.org
>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20101025/305fad6c/attachment.html>
More information about the dhcp-users
mailing list