Re: Two DHCP setup in mix windows 2003 network.

From: Miha Pihler [MVP] (mihap-news_at_atlantis.si)
Date: 03/16/05


Date: Wed, 16 Mar 2005 08:17:53 +0100

Hi,

Yes this is correct and expected behavior if you shut down client computer
and DHCP server...

Again, lease of 7 days does not mean the client will hold to that IP address
for better or worse. What lease time does is it reserves IP address for the
client (for client's MAC address) in DHCP database. In those 7 days (or even
more since client can renew the lease) only this client will receive the IP
address that was reserved, but client must be able to contact the DHCP
server.

Imagine if the client was holding on to the IP address. Now I take my laptop
from company network with different IP subnet to my home or my client's
network. The client boots up and has IP address from my office network. This
could either cause conflicts if the client's network used same IP address
space (since another computer could be on the network that uses same IP
address) or it would by default prevent me to communicate with anything else
on the network since the client or my home network use different IP address
space. Now I would have to go and run "ipconfig /release and ipconfig
 /renew" to get the IP address that would work on my network (pretty
inconvenient).
When I return to office network and computer boots up it will contact DHCP
and it will assign the client same IP address that was e.g. least to it this
morning and it will continue to do this for next 7 days (or more).

Another thing that will lease do for a client is in case of DHCP failure it
will allow client to keep the IP address for lease period (e.g. 7 days) as
long as you don't shut down the client.
Client will try to renew the lease after 50% of lease time is up and it will
continue to try and renew the lease. If it can't connect to DHCP server it
will start DHCP discovery process (to see if there are any others DHCP
servers that it could use) after the lease is up (e.g. 7 days).

To avoid problems with single DHCP failure you should setup at least two
servers with DHCP service.

-- 
Mike
Microsoft MVP - Windows Security
"IT Boy" <ITBoy@discussions.microsoft.com> wrote in message 
news:CDBC907C-E432-410E-8A00-53C659B7CDF0@microsoft.com...
> Thank for explaining.
> I think, I had not make it clear,
> What I went to ask is does the client, still used that IP, (e.g. an 
> client,
> release and renew IP, then shutdown. Now shutdown the DHCP, Power back up 
> the
> client PC it IP will come to 169.x.x.x) Is this right ? Lease time on DHCP
> set to 7 Days.
>
> Thank again, I am just alot of not understanding...
>
> S.
>
> "Miha Pihler [MVP]" wrote:
>
>> Lease time does not mean how long client will hold that IP address. Lease
>> time means how long will IP be reserved on the DHCP server for that 
>> client
>> (for that MAC address). Within that lease period client will receive same 
>> IP
>> address from the DHCP server that issued IP address...
>>
>> Clients will also try to renew lease after 50% of lease time is up and 
>> will
>> try to renew till the lease is up. After the lease is up it will try to
>> discover any other DHCP servers on the network.
>>
>> -- 
>> Mike
>> Microsoft MVP - Windows Security
>>
>>
>> "IT Boy" <shingxx@Hotmail.com> wrote in message
>> news:ux4RnCXKFHA.3552@TK2MSFTNGP12.phx.gbl...
>> > Hi,
>> >
>> > I think I had got it working for unknown reason.
>> > I am using DHCP 1 range: 144.1.1.100 to 144.1.1.150
>> > Now DHCP 2 range: 144.1.8.100 to 144.1.8.150
>> > Now is working! stopping DHCP 1, client will obtain from DHCP 2.
>> > But before I had try on DHCP 2 range: 144.1.3.100 to 144.1.3.150 this 
>> > does
>> > not work. I will try again later.
>> >
>> > Other information:
>> > Default gateway: 144.1.0.254
>> > SM: 255.255.0.0
>> > IP of servers : 144.1.0.10 and 144.1.0.20
>> >
>> > So I think the two DHCPs is working now,
>> >
>> > But the other problem, now I face with is that clients could not keep 
>> > it
>> > lease of IP.
>> > With an 7 days lease, each time an client power down or reboot it renew 
>> > it
>> > lease!
>> >
>> > What should I look for now?
>> >
>> > Thank for your help...
>> >
>> > S.
>> >
>> > 


Relevant Pages

  • Re: dhclient in 6.0
    ... Not really, no, except when DHCP options appear to turn off IPv4LL, or ... I think it's pretty obvious you have a rogue client ... if there was a prior lease matching the ... Ironically, ISC DHCP was built from this mindset, from what I read. ...
    (freebsd-stable)
  • Re: Intermittent Remoting Event Callback Problem
    ... I need to know within 2-5 seconds if the "server" I'm talking to ... the client to pro-actively be aware of this particular service it's talking ... the SAO should be in use "forever". ... If the object is not used for a five-minute period, the lease ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Application Hang
    ... Back to DHCP, what about the client ipconfig without the DG ip address? ... When the old server crashed, it required a new motherboard and CPU. ... You should see at least,006 DNS servers, 003 Router. ...
    (microsoft.public.windows.server.networking)
  • Re: Windows Server 2003 DHCP server - Does not release IP Addresses
    ... on the SWITCH or the ROUTER. ... the clients will not know which server to go for DHCP REQUEST. ... And, if that Switch had some issues, how will the other DHCP server ... This error is usually received when the client booting up via PXE is ...
    (microsoft.public.windows.server.general)
  • Re: DHCP handles Naks one one vlan differently
    ... If the problem is on the network with the DHCP server, ... Frame 156 ... Your (client) IP address: 0.0.0.0 ...
    (comp.dcom.sys.cisco)

Loading