0
votes

I have one win2k16 VM, when I ping it locally, it returns always IPv6. I -disabled the IPv6 stack on the NIC, - did ipconfig /flushdns so many times, - downloaded and applied a fix from MS

Prefer IPv4 over IPv6 in prefix policies

at https://support.microsoft.com/en-us/help/929852/how-to-disable-ipv6-or-its-components-in-windows

still when pinging locally the response is

::1

When I ping from any other machine I get the IPv4

1
Disabling IPv6 is not supported in Windows. Disabling IPv4 is perfectly fine though. In any case, localhost is ::1 and you need to deal with this now instead of trying to hide from it.Michael Hampton

1 Answers

1
votes

You can force ping to use IPv4.

ping -4 localhost