최고의 답변자
How to disable autoconfiguration IPv4 ?

질문
-
Ethernet adapter Local AreaConnection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection #
2
Physical Address. . . . . . . . . : 00-50-56-B3-22-34
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 82.179.190.12(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.128
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 127.0.0.1
Primary WINS Server . . . . . . . : 127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled---------
The problem is that my static IP is constantly replacing with "autoconfiguration". Ipconfig output says "Autoconfiguration Enabled . . . . : Yes"
Question: How do I disable, turn off the "Autoconfiguration" ?
ps. IP address is statically configured.
2010년 11월 23일 화요일 오후 12:56
답변
-
Hello,
the Autoconfiguration belongs to APIPA which is only used if a DHCP server is not available(if enabled) or NO fixed ip address is configured, which you did.
So what problem do you have if it is enabled? Anyway, check this option:
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly.
Disable APIPA on All but One Network Adapter
- Use Registry Editor to create the following registry key, where <var>adapter name</var> is the name of the Dynamic Host Configuration Protocol (DHCP) configured adapter where you want to disable APIPA:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\Interfaces\<var>adapter name</var>
- Add the following value to this key:
Value name: IPAutoconfigurationEnabledNOTE: If the IPAutoconfigurationEnabled entry is not present, a default value of 1 is assumed, which indicates that APIPA is enabled.
Value type: REG_DWORD
Value in hexadecimal: 0 (A value of 0 disables APIPA support on this adapter) - After you make this change, restart your computer.
Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.- 답변으로 표시됨 Tiger LiMicrosoft employee 2010년 11월 24일 수요일 오전 7:37
2010년 11월 23일 화요일 오후 1:07 - Use Registry Editor to create the following registry key, where <var>adapter name</var> is the name of the Dynamic Host Configuration Protocol (DHCP) configured adapter where you want to disable APIPA:
모든 응답
-
Hello,
the Autoconfiguration belongs to APIPA which is only used if a DHCP server is not available(if enabled) or NO fixed ip address is configured, which you did.
So what problem do you have if it is enabled? Anyway, check this option:
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly.
Disable APIPA on All but One Network Adapter
- Use Registry Editor to create the following registry key, where <var>adapter name</var> is the name of the Dynamic Host Configuration Protocol (DHCP) configured adapter where you want to disable APIPA:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\Interfaces\<var>adapter name</var>
- Add the following value to this key:
Value name: IPAutoconfigurationEnabledNOTE: If the IPAutoconfigurationEnabled entry is not present, a default value of 1 is assumed, which indicates that APIPA is enabled.
Value type: REG_DWORD
Value in hexadecimal: 0 (A value of 0 disables APIPA support on this adapter) - After you make this change, restart your computer.
Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.- 답변으로 표시됨 Tiger LiMicrosoft employee 2010년 11월 24일 수요일 오전 7:37
2010년 11월 23일 화요일 오후 1:07 - Use Registry Editor to create the following registry key, where <var>adapter name</var> is the name of the Dynamic Host Configuration Protocol (DHCP) configured adapter where you want to disable APIPA:
-
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Net
Physical Address. . . . . . . . . : 00-50-56-B3-01-C1
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.10.0.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
After i've done this, should i get Autoconfiguration Enabled . . . . : Yes ?
2010년 11월 23일 화요일 오후 2:27 -
In case someone else runs across this...the problem might not be that Autoconfiguration is enabled, but that the assigned IP address is in use. I had the same issue & tried the registry key, but still couldn't ping my gateway - but sure enough checked in DNS & the IP assigned by VMM was in use and was being actively used. Found an old IP that was free, set that as the server's IP address and the server's working just fine now.
- 답변으로 제안됨 R Oliver 2013년 5월 14일 화요일 오후 12:08
2013년 4월 22일 월요일 오후 5:35 -
I have the same problem, and I hope I haven't totally trashed my registry since no install sector was on this machine when I bought it. Nothing works, my lan insists on deleting or replacing my specified ip I am paying the provider company for.. and nothing has any beneficial effect whatsoever. I cannot get online (where MS keeps telling me to go for help and support) unless I go get another computer that DOES function as advertised.
We seem to have the same problem, all the solutions are big on 'do this and that', and very light on 1)how to find this and that, 2) how to identify this and that, and 3) how to DO this and that. I mean if this is help - it must be from helpful experts who expect everyone else to be experts as well, in which case they are unnecessary.
I guess what I am saying is thanks for nothing...
2015년 11월 7일 토요일 오후 7:44 -
adapter name? seriously, the make, the model or the name its mother gave it? a binary name assigned by the computer? I have tried to find and use them all, to no avail... even tot he point of actually trying 'adapter name' as a name... no joy. my specified ip is wiped or replaced every time.2015년 11월 7일 토요일 오후 7:46
-
To fix it, enter this from Command Prompt:
C:\Users\Administrator> netsh interface ipv4 show inter
result as:
Idx Met MTU State Name
--- ---------- ---------- ------------ ---------------------------
1 50 4294967295 connected Loopback Pseudo-Interface 1
11 10 1500 connected Local Area Connection
11: <=Keep it in mind
Next run this command:C:\Users\Administrator>netsh interface ipv4 set interface 11 dadtransmits=0 store=persistentNext, enter
Run > services.msc > disable DHCP Client service
Final, restart your server.Good Luck.
This solution is posted my Mr lyngtinh and its works for me. Hopes it work for you :)
lyngtinh.blogspot.com
- 답변으로 제안됨 saravanan yuvaraj 2016년 9월 30일 금요일 오후 9:03
2016년 1월 16일 토요일 오전 11:58 -
In case someone else runs across this...the problem might not be that Autoconfiguration is enabled, but that the assigned IP address is in use. I had the same issue & tried the registry key, but still couldn't ping my gateway - but sure enough checked in DNS & the IP assigned by VMM was in use and was being actively used. Found an old IP that was free, set that as the server's IP address and the server's working just fine now.
2016년 8월 1일 월요일 오전 11:54 -
Thank you for this.
One of my Virtual Machine assigned 'autoconfiguration ipv4 address as preferred' and IPV4 as duplicate. Ideally, it should be IPV4 as preffered address.
I tried above commands and it worked. After reboot, IPV4 becomes preffered address and autoconfiguration IPv4 removed from ouotput of Ipconfig /All.
Thank you!!!
Sudhir
2017년 6월 16일 금요일 오전 10:14 -
I just worked through a similar issue. I VM server was moved to a different IP, and somewhere in the process the NIC settings had gotten lost. After logging in Locally and entering the new settings, it would appear to take them, but then immediately assign a different IP.
I came across the following info from a colleague:
When removing a network driver using a vendor-provided uninstallation program or through Device Manager, previously entered static IP address information may not be removed correctly from the registry. After reinstalling the network driver and reentering the same static IP address, the presence of previous registry information prevents the newly entered address information from being saved correctly.
Resolution
Once the machine is experiencing this problem, the static IP address, Subnet mask, and Default gateway must be reentered TWICE in order for the values to be saved correctly.
- Open the Local Area Connection / Internet Protocol Version 4 (TCP/IPv4) Properties dialog, and select "Obtain an IP address automatically", and choose OK. From the Local Area Connection Properties dialog, choose OK
- Reenter the Local Area Connection / Internet Protocol Version 4 (TCP/IPv4) Properties dialog, and select "Use the following IP address"
- Perform the first two steps AGAIN, even though the IP address appears to be displaying properly.
*or*
- Open a command prompt under the administrator context and run the following command TWICE, using the desired static address information. For example:
netsh interface ipv4 set address "Local Area Connection" static 10.0.0.55 255.0.0.0 10.0.0.1
Note: This first command may return an error "Object already exists"
netsh interface ipv4 set address "Local Area Connection" static 10.0.0.55 255.0.0.0 10.0.0.1
Note: This command should succeed with no errors
Sure enough I did it the simple way using the GUI method, reset it to DHCP, then re-entered the IP info and VOILA! It suddenly worked fine.
2017년 9월 22일 금요일 오후 7:46 -
In case someone else runs across this...the problem might not be that Autoconfiguration is enabled, but that the assigned IP address is in use.
2018년 11월 7일 수요일 오후 5:24 -
I had the exact same problem on a Windows Server 2016 machine. Even though I had a static IP address configured, and therefore DHCP wasn't enabled, it still showed that it was getting autoconfigured with an APIPA 169.254.x.x address.
I added the key with the 0 value, rebooted and this fixed the problem!
Thanks!!!- 편집됨 John-ISU 2019년 1월 4일 금요일 오후 10:22
2019년 1월 4일 금요일 오후 9:44 -
In case someone else runs across this...the problem might not be that Autoconfiguration is enabled, but that the assigned IP address is in use. I had the same issue & tried the registry key, but still couldn't ping my gateway - but sure enough checked in DNS & the IP assigned by VMM was in use and was being actively used. Found an old IP that was free, set that as the server's IP address and the server's working just fine now.
2019년 1월 14일 월요일 오후 5:00 -
Thanks Yasaar Baig! I had it in my virtual machine, now it is working :)
- 편집됨 MGJG 2019년 3월 6일 수요일 오후 5:45 name
2019년 3월 6일 수요일 오후 5:44