You cannot change the default switch ranges. May be time to move to windows server where there is no default switch.
--please don't forget to Accept as answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Can I force Hyper-V default switch to always have the same exact network/subnet. I use GNS3 VM provided by GNS and I need to always connect to the same VM,
Everything was working correctly with (my home network devices are on 192.168.1.0/24)
Default switch had
172.22.0.0 mask 225.225.240.0
its ip is
172.22.144.1
1st machine IP is
172.22.159.156 mask 255.255.240.0
until I restarted my windows 10 for an update, default switch changed completely to
192.168.176.1/20 and the VM ip became 192.168.179.232
This completly disrupted several things.
1st, docker desktop started to fail to start as it is configured with neteork192.168.65.0/28
In hyper-V, when I try to connect to any VM, I get a message "video disconnected and can't display the machine to work with.
I needed to disable the Default switch, restart the VMs and docker, everythinbg went though, then enabled the default switch, still it was on the 192.168.176.1/20 network
So the question is how can force the default switch to always have the same network/subnet and not switch to 192
You cannot change the default switch ranges. May be time to move to windows server where there is no default switch.
--please don't forget to Accept as answer if the reply is helpful--
Thanks, I know I have already win server 2016 and 2019 with HYper-V. I need to work on a software called GNS3 on my desktop win 10, I don't want to pulluate my servers