View Single Post
Old 17-05-2007, 10:53   #7
Toto
Inactive
 
Join Date: Dec 2004
Posts: 3,403
Toto has a bronzed appealToto has a bronzed appeal
Toto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appeal
Re: just noticed from my router I am getting very short IP leases according to my rou

Quote:
Originally Posted by zovat View Post
yep, the lease is assigned until you re-set the CM - if someone else gets it whilst your CM is down, then so be it.

However the odds are that you will get the same IP on reboot, as the default behaviour is to get the old address first before trying to get a new one from the pool.
Sorry that's slightly incorrect.

The lease to the modem is based on the PC or Router (client) MAC address, and the IP lease is assigned for a period of time. If at the end of the lease time there is no other request for the same IP address, then it is usually reassigned to the same client MAC address.

Resetting the CM will not guarantee a new IP address, the only way you can do that is to change your client MAC address, which is easy to do with most routers. There is a light chance you will get the same IP address if it is in the free pool, but the timing on that has to be correct.

For example, if you get a lease for IP 1.1.1.1 on monday, and the lease time is 96 hours, if you change the MAC address of the client during the lease time, such as the router or the Ethernet card, then you will get a different IP address as the 1.1.1.1 is still assigned to the old client MAC address until Friday.

---------- Post added at 11:53 ---------- Previous post was at 11:52 ----------

Quote:
Originally Posted by progers View Post
I leave my CM and router on 24/7 but lately, my ip address has been changing every Sunday???

Yup, VM are likely limiting IP address lease times to about a week, if you are on a nearly full uBR then your address will change regularly.
Toto is offline   Reply With Quote