Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: DHCP leases issue (Bill Shirley)
   2. Re: DHCP leases issue (Niall O'Reilly)
   3. Re: DHCP leases issue (Surya Teja)


----------------------------------------------------------------------

Message: 1
Date: Fri, 6 Sep 2019 15:03:41 -0400
From: Bill Shirley <b...@c3po.polymerindustries.biz>
To: dhcp-users@lists.isc.org
Subject: Re: DHCP leases issue
Message-ID:
        <ca43cf98-7019-aefb-404d-eeab88f86...@c3po.polymerindustries.biz>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Note: two minutes (120 seconds) is a very short lease time.

Are you sure you're looking at the correct lease file?? Your grep says you have 
*no**
**leases* on 192.168.3.x.

Your log entries via looks strange.? I would think it should contain the 
interface name:
DHCPDISCOVER from 40:4e:36:d2:bf:9d via wifi
DHCPDISCOVER from b4:18:d1:69:02:f9 (Bobs-iPhone) via wifi

Bill

On 9/6/2019 6:25 AM, Surya Teja wrote:
> Hi
> I have configured the dhcp on my local?environment? with the configuration as
> =================================
> subnet 192.168.3.0 netmask 255.255.255.0 {
> ? ? ? ? pool {
> ? ? ? ? ? ? ? ? range 192.168.3.3 192.168.3.143;
> ? ? ? ? }
> ? ? ? ? ? ? ? ? default-lease-time 120;
> ? ? ? ? ? ? ? ? max-lease-time 120;
> ? ? ? ? ? ? ? ? option domain-name "example.com <http://example.com>";
> ? ? ? ? ? ? ? ? option routers 192.168.3.1;
> ? ? ? ? ? ? ? ? option subnet-mask 255.255.255.0;
> ? ? ? ? }
> But no client is able to get the IP and in the logs I can see:
> DHCPDISCOVER from 84:EF:18:6A:89:DE via 192.168.3.11 <http://192.168.3.11>: 
> network 192.168.3.0/24 <http://192.168.3.0/24>:*no 
> free leases*
> DHCPDISCOVER from 00:FF:4A:81:D5:A5 via 192.168.3.16 <http://192.168.3.16>: 
> network 192.168.3.0/24 <http://192.168.3.0/24>: 
> *no free leases*
> But it is not possible and none of the client get the lease from the 
> specified network. I cross checked in the lease file also
> [root@dhcpserver]# cat dhcpd.leases | grep 192.168.3 -A 10 -B 10
> [root@dhcpserver]#
> It doesn't shows any entry
>
> Any help is appreciated thanks in advance
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@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/20190906/67982e88/attachment-0001.html>

------------------------------

Message: 2
Date: Sat, 07 Sep 2019 00:35:17 +0100
From: "Niall O'Reilly" <niall.orei...@ucd.ie>
To: "Users of ISC DHCP" <dhcp-users@lists.isc.org>
Subject: Re: DHCP leases issue
Message-ID: <c2fc5282-39b6-4c8c-bf57-48c3b3634...@ucd.ie>
Content-Type: text/plain; charset=utf-8; format=flowed;
        markup=markdown

On 6 Sep 2019, at 20:03, Bill Shirley wrote:

> Your log entries via looks strange.? I would think it should contain 
> the interface name:

For on-link clients, yes. For remote clients, the relay address is shown 
instead of the interface name.

Niall O'Reilly


------------------------------

Message: 3
Date: Sat, 7 Sep 2019 09:17:42 +0530
From: Surya Teja <suryateja...@gmail.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DHCP leases issue
Message-ID:
        <ca+0ac3ylx_l3vuo03hnokijfyzrzhgbpcbjigqjh6nyubsp...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Bill,

Thanks for reply as suggested i have increased lease time to one hour and I
observerd one more scenario when the client moves from one subnet to
another subnet ( lease time say 1hr). The client got IP from the second
subnet scope but the previous IP in the 1st subnet is still in hold and in
the lease file. It still recorded an active entry. How can the dhcp server
reclaims those unused IP's? Do we have any configuration statement making
dhcp to cross check all the active IP's of that scope before saying no free
leases.
The first IP is getting into free state after completing its 1 hour lease
duration till that time it is active mode only.

Thanks in advance.

On Sat, 7 Sep 2019, 00:33 Bill Shirley, <b...@c3po.polymerindustries.biz>
wrote:

> Note: two minutes (120 seconds) is a very short lease time.
>
> Are you sure you're looking at the correct lease file?  Your grep says you
> have *no*
> *leases* on 192.168.3.x.
>
> Your log entries via looks strange.  I would think it should contain the
> interface name:
> DHCPDISCOVER from 40:4e:36:d2:bf:9d via wifi
> DHCPDISCOVER from b4:18:d1:69:02:f9 (Bobs-iPhone) via wifi
>
> Bill
>
> On 9/6/2019 6:25 AM, Surya Teja wrote:
>
> Hi
> I have configured the dhcp on my local environment  with the configuration
> as
> =================================
> subnet 192.168.3.0 netmask 255.255.255.0 {
>         pool {
>                 range 192.168.3.3 192.168.3.143;
>         }
>                 default-lease-time 120;
>                 max-lease-time 120;
>                 option domain-name "example.com";
>                 option routers 192.168.3.1;
>                 option subnet-mask 255.255.255.0;
>         }
> But no client is able to get the IP and in the logs I can see:
> DHCPDISCOVER from 84:EF:18:6A:89:DE via 192.168.3.11: network
> 192.168.3.0/24:* no free leases*
> DHCPDISCOVER from 00:FF:4A:81:D5:A5 via 192.168.3.16: network
> 192.168.3.0/24: *no free leases*
> But it is not possible and none of the client get the lease from the
> specified network. I cross checked in the lease file also
> [root@dhcpserver]# cat dhcpd.leases | grep 192.168.3 -A 10 -B 10
> [root@dhcpserver]#
> It doesn't shows any entry
>
> Any help is appreciated thanks in advance
>
> _______________________________________________
> dhcp-users mailing 
> listdhcp-us...@lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@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/20190907/16e8462b/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 131, Issue 5
******************************************

Reply via email to