I use a HyperV internal network in order to allow file sharing access via SMB between my guest and host. This was working fine for several years but I recently upgraded to windows 11 (clean install).
I setup the network in hyperv manager, set a static IP, but found the guest could not access the host. In Powershell, I manually set the network to private, then everything started working. However, this does not survive a reboot.
How can I get the network to show up as not "unidentified" or get the "private" setting to stick?
Through reading other posts regarding this, people have suggested setting a gateway, I tried this but it did not make a difference. Others have suggested changing a setting to make all unidentified networks private, but this seems unsafe eventhough this is a desktop. Some have suggested setup a script to run on startup but that isnt a very clean solution.