遇到的问题:我在网卡2上设置了静态ip,可是出现了一个奇怪的ip地址169.254.*.*,如下图。
解决方法:关闭APIPA功能
按照下述的做法,自己在win7企业版上尝试了下,有效。不再出现169.254.*.*地址。
KrisIngmanson replied on
I just did this on Win7 Professional and it works. I tested it before and after making the change.
1. Use Registry Editor to create the following registry key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters
2. Add the following value to this key:
Value name: IPAutoconfigurationEnabled
Value type: REG_DWORD
Value in hexadecimal: 0 (A value of 0 disables APIPA support on this computer)
NOTE: If the IPAutoconfigurationEnabled entry is not present, a default value of 1 is assumed, which indicates that APIPA is enabled.
3. After you make this change, restart your computer.
参考:https://answers.microsoft.com/en-us/windows/forum/windows_7-networking/how-do-i-disable-automatic-private-ip-addressing/1c9044d2-85a5-4cb2-ba90-ff6866a4adb1
http://windowsitpro.com/networking/how-can-i-disable-apipa
http://windowsitpro.com/networking/disabling-apipa