Open nlarenti opened 1 year ago
@nlarenti
Thank you for reporting the issue. https://bugzilla.redhat.com/show_bug.cgi?id=1898985 We have a couple of similar bugs describing the same problem. While we are looking for a proper solution to fix this issue. Meanwhile, there are at least two workarounds that you might find useful: https://bugzilla.redhat.com/show_bug.cgi?id=1898985#c8 https://bugzilla.redhat.com/show_bug.cgi?id=1898985#c19
Would it please be possible to share the workaround, since the bugzilla bug is limited to a group?
@Hedius
You need to run "netsh dump > filename.txt" command from the elevated cmd prompt before un-install and restore the settings with " netsh -f filename.txt" command after installing the new virtio-win package.
I also need to mention that recently we added a new custom action to virtio-win installer which designed to save and restore netkvm network settings automatically https://github.com/virtio-win/virtio-win-guest-tools-installer/commit/ea0643ffb87c9cd8cf85dce02ea0cc22f64b549f
Best, Vadim.
@Hedius
You need to run "netsh dump > filename.txt" command from the elevated cmd prompt before un-install and restore the settings with " netsh -f filename.txt" command after installing the new virtio-win package.
I also need to mention that recently we added a new custom action to virtio-win installer which designed to save and restore netkvm network settings automatically virtio-win/virtio-win-guest-tools-installer@ea0643f
Best, Vadim.
Thank you for the info!
Florian
I have same issue, when i open a c# program in server2016 vm, we lose all network connect.
@CHN-STUDENT Not sure that your issue somehow related to this case.
This particular case is about loosing network interface settings while updating virtio-win package. The problem has been solved with https://github.com/virtio-win/virtio-win-guest-tools-installer/pull/57 and should work fine on the latest virtio-win releases.
Best, Vadim.
Describe the bug Windows VM loses static IP address after upgrading virtio-win drivers.
To Reproduce Upgrading virtio-win drivers tried on Windows Server 2016/2019/2022
Expected behavior Configuration of network adapter is not lost
Screenshots
Host:
Guest: