Forum Discussion
Hyper-V Default switch IP address range change. Ver 1809 Build 17763.1
(When started in safe mode with networking, it is not recreated, so it remains on the same subnet as last normal boot.)
And that's precisely why this behavior is so annoying.
Even though I'm hard-coding a static IP in the VM during provisioning (based upon the dynamic IP that Hyper-V assigns via the Default Switch), as soon as I restart the host machine, the IP address class/range may very well change, which makes the VM network configuration inoperable.
To be clear, hard-coding a static IP in the VM is not a problem, as long as the Default Switch in Hyper-V doesn't change the IP address class. But when the guest IP address's first three octets are changing on every host machine reboot, there is simply no reliable means by which to configure a guest VM to use a static IP address. Assigning a static IP during provisioning is a trivial matter in every other virtualization solution! The fact that it's impossible in Hyper-V is bewildering.
Is anybody aware of an official "issue" / "bug report" that documents the behavior we're discussing in this thread?