IP address lease time

V

votoms

Hi All,

My client system obtains IP address from a DHCP server.
In this case my DHCP server is a DSL router. The ip
address lease time is set to forever (never expired). If
the DSL router is up and running, everthing is fine. But
if the DSL router is down or become unavaliable, when I
reboot the client unit, it will try to contact the router
to obtain a new ip address.

The client should keep using the original IP address
assigned by the router cause the lease time will never
expired. Do not understand why it keeps trying to contact
the DHCP server to obtain a ip address everthing time it
reboot.

Mircosoft XP professional is installed on the client
unit. My question is, how do I find out the lease time of
the IP address in XP. Is there a tool available or need
to locate a attribute in the registry?

I have another system with Windows XP home and do not
have this problem at all.

Thanks.
 
N

null

Hi All,

My client system obtains IP address from a DHCP server.
In this case my DHCP server is a DSL router. The ip
address lease time is set to forever (never expired). If
the DSL router is up and running, everthing is fine. But
if the DSL router is down or become unavaliable, when I
reboot the client unit, it will try to contact the router
to obtain a new ip address.

The client should keep using the original IP address
assigned by the router cause the lease time will never
expired. Do not understand why it keeps trying to contact
the DHCP server to obtain a ip address everthing time it
reboot.

Mircosoft XP professional is installed on the client
unit. My question is, how do I find out the lease time of
the IP address in XP. Is there a tool available or need
to locate a attribute in the registry?

I have another system with Windows XP home and do not
have this problem at all.

Thanks.

I can't answer your question as to why it tries to renew the lease when
rebooted, but if you want it to keep the IP address forever, why not
just assign the IP address to it manually?

--
-the small one

All postings carry no guarantee or warranty, expressed or implied.
Proceed at your own risk, and perform system and data backups prior to
making changes to your system, and on a regular basis, to protect your
system.
 
R

Ron Lowe

The client should keep using the original IP address
assigned by the router cause the lease time will never
expired. Do not understand why it keeps trying to contact
the DHCP server to obtain a ip address everthing time it
reboot.



Because it may have been moved to a totally different network
in the meantime, and it needs to discover if the existing lease
is still OK to use.

Or the DHCP administrator may have made changes to some
of the parameters pushed down by DHCP, and the client needs to grab them.

This is normal and correct DHCP client behaviour.
 
G

Guest

If your client is set to acquire an IP address through
DHCP, it will always send a DHCP request at boot. Doesnt
matter what the lease time is, when you turn off your
computer it forgets about any lease that it had. When
you reboot, your client's IP stack is blank so it sends a
new request to the DHCP server. Think about it...
otherwise if you turned you computer off, then moved to a
different network but your client still thought it had a
lease from the previous network, it would be very
frustrating. This way your computer is always looking
for a DHCP server at each boot, and if you move to
different networks you dont have to worry about what your
IP is set to.

The last response was right - if you dont want to worry
about the DHCP server being up or not then you need to
set a static IP.

/Seth
 
V

victor_lo

-----Original Message-----
Hi All,

My client system obtains IP address from a DHCP server.
In this case my DHCP server is a DSL router. The ip
address lease time is set to forever (never expired). If
the DSL router is up and running, everthing is fine. But
if the DSL router is down or become unavaliable, when I
reboot the client unit, it will try to contact the router
to obtain a new ip address.

The client should keep using the original IP address
assigned by the router cause the lease time will never
expired. Do not understand why it keeps trying to contact
the DHCP server to obtain a ip address everthing time it
reboot.

Mircosoft XP professional is installed on the client
unit. My question is, how do I find out the lease time of
the IP address in XP. Is there a tool available or need
to locate a attribute in the registry?

I have another system with Windows XP home and do not
have this problem at all.

Thanks.
.

ipconfig /all

displays all the information you need including lease
expiration. Also, check out the knowledge base 31405, it
describes everthing about the TCP/IP and NBT setting of a
adapter card in the registry.

FYI,

Victor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top