Discussion Locked

About ICS and DHCP

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have shared internet with ICS in LAN. I have configured the clients to get IP automatically. It is supposed to get 169.254 IPs but the client uses APIPA. When I use ipconfig /release and /renew command. The error message appears that says DHCP Server unreachable. In LAN other clients can get 192.168.0 IPs. Mentioned client is Pro 2000. I want to disable APIPA. I would like to learn how to do it.If you have further suggestions I would like to hear all.

2 replies

by vypre

Hi Hturgut,

From you mail I could not see if you had a DHCP server on your LAN, if so then you have got a connection problem on the client machine (either hardware or software).

Not sure how well the APIPA works, but below is the instruction on how to disable it.

Disabling APIPA
--------------------
In rare situations, you might want to disable APIPA, which you do by modifying client Registry. Run regedt32.exe and go to HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet\Services\Tcpip\ Parameters\Interfaces. Select the adapter for which you want to disable APIPA. Add the value IPAutoconfigurationEnabled of data type REG_DWORD and set it to 0 to disable it, as Screen 2 shows. This entry isn't present by default because the OS enables APIPA and assumes a value of 1. You need to add this value only if you want to disable APIPA. If you have multiple adapters and you want to disable APIPA for all of them, simply add the entry IPAutoconfigurationEnabled at the HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\ Tcpip\Parameters level and set it to 0.

by petemcc

Hi, I'm more familiar with NAT but I think this applies to ICS.
Your client should have "obtain IP address automatically" checked in TCP/IP properties and look to the ICS machine (192.168.0.1) for DNS.
The ICS machine acts as a mini dhcp server and assigns a 192.168.0.xx address to the client or you can assign your own from that range. Make sure you have IP connectivity between the win2k client and the ICS machine.
APIPA assigns a 169.254.x.x address.You can disable APIPA by assigning an IP address to the to the client.
For how to disable APIPA in the registry and additional information see: http://support.microsoft.com/
support/kb/articles/Q220/8/74.ASP.
Good Luck,
Pete

This discussion is closed to new replies.