dhcp-users Digest, Vol 77, Issue 10

Rajeev Bansal rajeev.bansal at innobox.com
Sun Mar 15 12:47:30 UTC 2015


Thanks for your response, well I don't think short lease is a problem in this case. I tried to increase the lease and I found the Windows PC which have problem remain in problem, so definitely it is something else which is causing this. I am observing the problem explained in below link, however the solution doesn't work for me.

https://social.technet.microsoft.com/Forums/windowsserver/en-US/2a18bb78-211a-42e4-809a-8be4133149e6/dhcp-renewal-does-not-work-on-windows-7?forum=winserverNAP

  Well I have a specific requirement under which I have to assign a different IP address to the host which I will receive from a different interface and until I receive that IP address I want to assign a IP address in 192.168.1.0/24 subnet so that there will be some IP connectivity. 
Since I am not sure how long will it take to receive the IP address from different interface so I am giving a lease for 5 seconds so that the connected client keep querying for the dhcp lease renew, and once I will receive a new IP address over different interface I will restart my dhcp server with new pool and whenever a new request will come I will assign the new IP.

Thanks,
-Rajeev

On 15 Mar 2015 17:30, dhcp-users-request at lists.isc.org wrote: > > Send dhcp-users mailing list submissions to > dhcp-users at 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-request at lists.isc.org > > You can reach the person managing the list at > dhcp-users-owner at 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. dhcpd - 4.1-ESV-R3 (Rajeev Bansal) >    2. Re: dhcpd - 4.1-ESV-R3 (Simon Hobson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 14 Mar 2015 21:31:02 +0530 > From: Rajeev Bansal > To: dhcp-users at lists.isc.org > Subject: dhcpd - 4.1-ESV-R3 > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Hello Everyone, > >   I am using the dhcpd - 4.1-ESV-R3 in one of my embedded device, this > device assigns an IP lease for a short duration ( Just 5 seconds). I have > noticed the Linux clients works fine and keeps getting their dhcp lease > renew every 2 seconds. However some Windows 7 laptops doesn't acquire the > IP address correctly provided by the dhcp server, as a result of this, > whenever they have to renew the dhcp lease, they send the DHCP lease packet > with 0.0.0.0 IP, instead of assigned IP address also at that time I am not > able to ping the host to the device. This behavior is seen only on some > Windows 7 clients, others works perfectly fine. So I am curious to know if > there is some configuration change requires in my dhcpd.conf which can help > the misbehaving Windows client. > > My dhcpd configuration  : > > ddns-update-style interim; > ignore client-updates; > > subnet 192.168.1.0 netmask 255.255.255.0 { > >     authoritative; >     range 192.168.1.2 192.168.1.102; >     default-lease-time 5; >     max-lease-time 5; >     option routers 192.168.1.1; >     option ip-forwarding off; > >   option broadcast-address 192.168.1.255; >   option subnet-mask 255.255.255.0; >   option domain-name-servers 192.168.1.1; >   option netbios-name-servers 192.168.1.1; > > } > > A quick answer will be really helpful. > > Thanks, > -Rajeev > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Message: 2 > Date: Sun, 15 Mar 2015 09:12:26 +0000 > From: Simon Hobson > To: Users of ISC DHCP > Subject: Re: dhcpd - 4.1-ESV-R3 > Message-ID: <862D6965-F430-4D74-9704-F528BF270DB1 at thehobsons.co.uk> > Content-Type: text/plain; charset=us-ascii > > Rajeev Bansal wrote: > > >   I am using the dhcpd - 4.1-ESV-R3 in one of my embedded device, this device assigns an IP lease for a short duration ( Just 5 seconds). > > > > So I am curious to know if there is some configuration change requires in my dhcpd.conf which can help the misbehaving Windows client. > > Yes, set the lease time to a sane value. 5 seconds is not even close. > I would say the absolute minimum sane value would be several minutes - anything less and you are asking for trouble. > > Out of interest, why such a short value ? > > > > ------------------------------ > > _______________________________________________ > dhcp-users mailing list > dhcp-users at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > > End of dhcp-users Digest, Vol 77, Issue 10 > ******************************************


More information about the dhcp-users mailing list