dhcpd issue static lease on first request

Tom Martinson thomas.s.martinson at gmail.com
Tue Oct 26 00:40:31 UTC 2010


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 
> <mailto: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 <mailto: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  <mailto:dhcp-users at lists.isc.org>
>>>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>>>>    
>>>> _______________________________________________
>>>> dhcp-users mailing list
>>>> dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org>
>>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>>
>>>
>>> _______________________________________________
>>> dhcp-users mailing list
>>> dhcp-users at lists.isc.org  <mailto:dhcp-users at lists.isc.org>
>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org <mailto: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/c44b8a15/attachment.html>


More information about the dhcp-users mailing list