Networking – Properly disable IPv6 for Hyperv

hyper-vipv6networkingvagrant

When connecting to vagrant, I get an IPv6 address.

    default: IP: fe80::215:5dff:fe38:151
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: fe80::215:5dff:fe38:151:22

After reading a lot of articles saying that you should disable IPv6, I tried to do so.

I tried using the script that Microsoft provides.
( https://support.microsoft.com/en-us/help/929852/how-to-disable-ipv6-or-its-components-in-windows )

Which didn't result in getting an IPv4 address also I tried disabling it via the registry. ( http://tweaks.com/windows/40099/how-to-properly-disable-ipv6/ )

I got an IPv4 address once but after reboot I got an IPv6 address again.

Any idea's on how to solve this?

Best Answer

You can edit each network adapter and uncheck the IP6 binding; in your case edit the Hyper-V Virtual adapter. You may need to reboot for it to take effect. You should no longer have an IP6 address assigned to the adapter. Note you technically have a build Micorosft can say they will not support, but if that is the case, you can re-enable it for the support call. Good luck!

Related Question