question

ArrandaSaputra-0841 avatar image
0 Votes"
ArrandaSaputra-0841 asked DavidSain-8258 commented

Windows Server 2016 static IP shown as 169.x.x.x (APIPA) in ipconfig

I have a windows server 2016 with two network adapter. Both are assigned static address and do not overlap. The first adapter never have issue but the second adapter is always changed to 169.x.x.x (apipa) after restart.
If we look at the adapter properties, the statically configured ip address is actually still there. The workaround is to set it to dynamic and then return it to static , it will stay until the next reboot. Now I think i’m tired enough to do this repeatedly for dozens of server. Anyone can sort this out? Really appreciated all inputs. Thanks

Fyi… first adapter ip 10.x.x.x /24 , default gateway 10.x.x.1
Second adapter ip 192.168.x.x /24, no default gateway

windows-server-2016
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi

I'm currently working with your case, and i will get back to you as soon as possible.

Mulder

0 Votes 0 ·

Hi,

You could accept the useful reply as answer if you want to end this thread up.
If there is anything else i can do for you, please feel free to post in the forum.

Mulder

0 Votes 0 ·

Hi,
Just checking the update of the case? Is there anything else i can do for you? Please feel free to post.

Best Regards,
Mulder Zhang

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered ArrandaSaputra-0841 commented

the statically configured ip address is actually still there

Where are you seeing this and where do you see the problem? What roles have been installed?






· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The problem is the secondary adapter has no connectivity to the network that it is supposed to connect.
So if i run cmd and issue command “ipconfig” the second adapter will show its ip address as APIPA
While in fact if i look at the adapter properties > tcp/ipv4 > i can still see the static ip configured there

Have you ever experienced such thing?

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered DavidSain-8258 commented

Sounds like problematic hardware or drivers. I'd check here and with manufacturer about support for the operating system installed.
https://www.windowsservercatalog.com/

also check the server manufacturer's site for updated firmware, ROM bios, chipset and driver support pack.

--please don't forget to upvote and Accept as answer if the reply is helpful--



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sorry forgot to mention this is a VM
(Vmware esxi 7.0)

0 Votes 0 ·
DavidSain-8258 avatar image DavidSain-8258 ArrandaSaputra-0841 ·

I had a very similar issue. ESXi 7 VM (Server 2012 R2 ADDS restored from backup) with static IP would show the APIPA address as preferred and still show the secondary static IP. I reinstalled VMware tools to bring it up to the latest drivers. No dice.

Found our NOC had turned on the original server in an attempt to bring them back up and since the server detected a duplicate IP, it reverted to APIPA. I would have preferred a Duplicate IP notification because it would have made a little more sense...

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

I'd still confirm the hardware supports Server 2016. A hypervisor does not insulate from meeting requirements.

--please don't forget to upvote and Accept as answer if the reply is helpful--



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JiangZhang-MSFT avatar image
0 Votes"
JiangZhang-MSFT answered

Hi,

Windows probes for a tentative IP address at the same time the switch is probing for device status. This is usually triggered by rebooting which results in a duplicate ip address. To prevent the duplicate ip address on the network the windows system assigns an APIPA address to the adapter. (ie. 169.254. x.x)

In my opinion, you may try the following workaround:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Set ArpRetryCount (32-bit DWORD) to 0

Hopefully, it can help and looking forward to your feedback.

Best Regards,
Mulder Zhang


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.