dino78
12-08-2001, 02:08 PM
I want to change my ip address on my cable connection, its not a static ip but windows keep yanking back the same ip. the provider says "windows fights very hard to regain the same ip address" and "theres a way in the registry to solve this" but they wont tell me where to look.
i only have 1 nic card and one puter using tcp/ip. when I 'release' the ip through winipcfg it always renews with the same ip. thanks for any help.
POBrien
12-08-2001, 11:02 PM
Windows doesn't fight to keep the current ip assigned. It's based on the LeaseTerminatesTime value data (see below).
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\VxD\DHCP\DhcpInfo00]
"DhcpIndex"=dword:00000000
"DhcpIPAddress"=hex:c0,a8,01,01
"DhcpSubnetMask"=hex:ff,ff,ff,00
"DhcpServer"=hex:c0,a8,01,fe
"DhcpDesiredIPAddress"=hex:c0,a8,01,01
"Lease"=hex:10,0e,00,00
"LeaseObtainedTime"=hex:73,6b,3e,29
"T1"=hex:7b,72,3e,29
"T2"=hex:c1,77,3e,29
"LeaseTerminatesTime"=hex:83,79,3e,29
"HardwareType"=hex:01
"HardwareAddress"=hex:00,60,97,93,48,c9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationSeed"=dword:ba606059
"AddressType"=dword:00000000
"OptionInfo"=hex:0f,0c,70,61,63,62,65,6c,6c,2e,6e,65,74,00,06, 04,c0,a8,01,fe,\
03,04,c0,a8,01,fe,ff,00
I don't know the value data that's needed to shorten the lease time.
The dhcp server marks the current ip as "taken" based on it's own lease time in it's own registry.
Until it's own lease time is up you'll continue to receive the same IP.
If you reboot your system and reconnect, you'll receive a different ip. (The dhcp server will need to re-record your Mac address (from your nic card). Hence a new ip will be assigned.
What's up? Why the concern of dumping your current IP? Someone trying to hack your system?
BertImmenschuh
12-08-2001, 11:43 PM
Could he be wanting to run a domain on a server that requires a static IP address?
dino78
12-09-2001, 01:34 AM
hi brien, yes hacking is the reason.
the last time i rebooted after releasing i got a new ip, but it wont work this time. my provider says its a 4 hour wait(maybe thats the time value?).
anyway im fine til i interact online, then a ton of ports get hit on my firewall. i'll go from 15 hits on my firewall to 500 hits, gets real annoying. thanks for the info, i'll check it out.
thanks again, dino
if you fall off your puter, get rite back on
POBrien
12-09-2001, 03:27 AM
Hey Dino,
I get hit all the time. I use Zone Alarm. I turned off the message pop window. Let em knock but they can't come in. :)
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.