Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not able to permanently obtain IP address using DHCP

Status
Not open for further replies.

Jeremii

Technical User
Jan 20, 2005
4
CA
Win2K Pro station. If I configure a static IP...no problem. If I switch to Obtain an IP address after having a Static IP...no problem. After I reboot the machine 1 or 2 times and then try to obtain an IP, I get the message "The following error occurre when renewing adapter Local Area Connection: Unexpected network failure or insufficient access".

I've tried logging on as Network Admin and as the local Admin with no success. Only way to get it to "work" is to set up the static IP again and then switch it to DHCP. Any ideas?
 
Your DHCP Server is responsible. He will allocate for you other IP address at each connection if yours IP address is already given to another computer or time for that allocation was expired. Let your computer automatically configured DHCP and configure yours DNS correctly. So, no more say, maybe I cannot really understand your problem. What is your target with that IP ? Plase announce me
 
DHCP will give the same IP address to the same client in most cases.
Are there any reservations in DHCP?

Unexpected network failure or insufficient access or access is denied

Symptoms: when trying to use ipconfig /release or renew, you may receive the following message "The following error occurred when releasing adapter Local Area Connection: Unexpected network failure or insufficient access or access is denied"

Cause: You don't have permission to release or renew the IP.

may have the solution: Give the WinsockFix a try

you need admin rights to renew an ip address from the cmd line.

Aftertaf
if its not broken, fix it anyway - with luck you might break it and have an excuse
 
We have a reserved range (192.168.0.1 to 192.168.0.99) for statics. 100-255 is for DHCP. I've been releasing/renewing as administrator and have run the WinSock fix too. No dice. If you can clarify what you mean by "what is my target of that IP".

Thanks all for your suggestions and feedback.
 
Hey bcastner, we were thinking that too. There is only 1 authorized DHCP server in our domain. We don't have any routers being used, just some switches but they are configured to pass through and are DHCP clients themselves.

I ran the netsh command and it only saw our authorized DHCP server. None of the PC's affected have been moved between subnets. We only have 1 as we are a smaller company.

What I was wondering though is we have a wireless ISP. Could the DHCP request packets go outside our local subnet and try to get one from them? Or could it "confuse" the clients? No clients have been assigned an external address yet but perhaps this is interfering in some way?
 
They should not go outside you subnet, albeit they are a broadcast.

You are going to have to fiddle a bit. The first "fiddle" I would write is the following .cmd file, that I would include in the logon script:

;***** use dhcp, you stupid workstation
;
; Dynamic Host Configuration Protocol lease is renewed:
ipconfig /release all
ipconfig /renew

;Address Resolution Protocol (ARP) cache is flushed:
arp -d *

; Reload of the NetBIOS name cache:
nbtstat -R

; NetBIOS name update is sent:
nbtstat -RR

;Domain Name System (DNS) cache is flushed:
ipconfig /flushdns

;DNS name registration:
ipconfig /registerdns

; end of use DHCP, you stupid workstation .cmd file
 
lol

Aftertaf
if its not broken, fix it anyway - with luck you might break it and have an excuse

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top