<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Guest Virtual Networks lost after sleep/suspend in VMware Workstation Pro Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831937#M168990</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;OK.. so a hard suspend it is then.&lt;/P&gt;&lt;P&gt;That should at least resolve your issues.&lt;BR /&gt;If the potential IP address conflict is no problem for you then I don't see any issues.&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;Wil&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 01:05:47 GMT</pubDate>
    <dc:creator>wila</dc:creator>
    <dc:date>2021-02-24T01:05:47Z</dc:date>
    <item>
      <title>Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831398#M168937</link>
      <description>&lt;P&gt;I have a rhel8 machine as a guest, but have noticed this on ubuntu 18/20 releases as well, if the guest has established virtual networking via libvirt and/or created additional bridges, then if the host is put to sleep/suspend mode and then woken back up all the gues networking is no longer functional. I've searched everywhere and there is little information on this so perhaps it is just a VMware issue? I'll try an alternative later today to see if this is just VMWare related. I've searched here and also can not find too much info. This is with workstation 16, and is repeatable with fusion 11 as well. Both behave the same way. Does anyone have a work around?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 22:28:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831398#M168937</guid>
      <dc:creator>Bradall</dc:creator>
      <dc:date>2021-02-21T22:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831404#M168938</link>
      <description>&lt;P&gt;We need to know what host OS you use, which type of virtual networks you assigned and what exactly you mean with : "if the guest has established virtual networking via libvirt and/or created additional bridges"&lt;/P&gt;&lt;P&gt;General advice: avoid using suspend for the host when any VMs are running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ulli&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 23:44:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831404#M168938</guid>
      <dc:creator>continuum</dc:creator>
      <dc:date>2021-02-21T23:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831684#M168962</link>
      <description>&lt;P&gt;Thaks for the response and sorry for the lack of detail but it applies to any libvirt installation by the looks. This only appears to be an issue with VMWare products as i have imported the VM into virtual box and the sleep facility there does not impact the networking.&lt;/P&gt;&lt;P&gt;This is a stock standard RHEL8.3 install with default Server with GUI install. No changes at all to any selection. After the VM boots the following routes will exist.&lt;/P&gt;&lt;P&gt;ip route&lt;BR /&gt;default via 172.16.50.2 dev ens160 proto dhcp metric 100&lt;BR /&gt;172.16.50.0/24 dev ens160 proto kernel scope link src 172.16.50.134 metric 100&lt;BR /&gt;192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown&lt;/P&gt;&lt;P&gt;If you suspend the then awake the VM the resulting routes are.&lt;/P&gt;&lt;P&gt;ip route&lt;BR /&gt;default via 172.16.50.2 dev ens160 proto dhcp metric 100&lt;BR /&gt;172.16.50.0/24 dev ens160 proto kernel scope link src 172.16.50.134 metric 100&lt;/P&gt;&lt;P&gt;The VM still thinks the bridge is running. You can use virt-manager to stop and restart the bridge and then the routes return. The more complicated networks behave in the same manner after sleep you need to disable and then reenable each to get them to work again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As stated, I can import this exact VM into virtual box and this does not happen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions are welcome. Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 03:45:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831684#M168962</guid>
      <dc:creator>Bradall</dc:creator>
      <dc:date>2021-02-23T03:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831686#M168963</link>
      <description>&lt;P&gt;I still do not know what your host OS is and what type of virtual networking (bridged or NAT) you use ...&lt;BR /&gt;If you use a Windows host and NAT networking the workaround is to restart the VMware NAT and DHCP-service after resuming the host after sleep/suspend.&lt;BR /&gt;Do not draw conclusions if this problem does not appear in VirtualBox - some things that do not work in Workstation just work flawlessly in VirtualBox - this is one example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ulli&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 04:00:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831686#M168963</guid>
      <dc:creator>continuum</dc:creator>
      <dc:date>2021-02-23T04:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831706#M168969</link>
      <description>&lt;P&gt;Sorry, but for clarity. The virtual networking that no longer functions is the networking on the guest. This is not an item regarding the virtual networking of the Type 2 hypervisor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However to answer the question.&lt;/P&gt;&lt;P&gt;VMWare Workstation PRO on Windows 10.&lt;/P&gt;&lt;P&gt;VMWARE Fusion 11 on a MACOS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try the restarting processes on win10 when I get back to the machine. I'm not sure that this will restart the bridge inside of the Guest VM however which is the issue as per the example provided on the bridge on the guest going missing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 06:25:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831706#M168969</guid>
      <dc:creator>Bradall</dc:creator>
      <dc:date>2021-02-23T06:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831806#M168974</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If an IP is lost after a sleep/suspend then that is most likely due to the suspend/sleep mode that you are using.&lt;/P&gt;
&lt;P&gt;There's hard sleep/suspend modes versus soft sleep/suspend modes.&lt;/P&gt;
&lt;P&gt;If you have a soft sleep/suspend mode then the guest will runs scripts to release and renew the IP addresses.&lt;/P&gt;
&lt;P&gt;The default is soft sleep/suspend mode...&lt;/P&gt;
&lt;P&gt;As you mention both Fusion as well as Workstation..&lt;/P&gt;
&lt;P&gt;On Fusion, select the VM, settings -&amp;gt; Advanced -&amp;gt; Power Options --&amp;gt; change "Suspend" to "Suspend Hard"&lt;/P&gt;
&lt;P&gt;On Workstation, edit virtual machine settings -&amp;gt; Options tab -&amp;gt; Power -&amp;gt; change "Suspend Guest" to "Suspend"&lt;/P&gt;
&lt;P&gt;IIRC then you don't need to change the resume.&lt;/P&gt;
&lt;P&gt;Alternatively you would have to look at extending the vmware tools scripts for suspend/resume.&lt;/P&gt;
&lt;P&gt;hope this helps,&lt;BR /&gt;--&lt;BR /&gt;Wil&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;edit:typo "slow" was meant to be "soft"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 13:39:21 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831806#M168974</guid>
      <dc:creator>wila</dc:creator>
      <dc:date>2021-02-23T13:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831910#M168985</link>
      <description>&lt;P&gt;Thank you for that. Seems that Suspend hard keeps the virtual network intact on restore whereas soft appears to corrupt the VM state.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it appears that the scripts that tools runs probably does not take into consideration a virtual network and the state restoration restores just the state that is associated with just the physical network. Virtual networks are essentially corrupted with Suspend Guest (on workstation) or Suspend (Fusion). Thanks for the heads up I'll live with the VM still being connected to the network.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 20:48:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831910#M168985</guid>
      <dc:creator>Bradall</dc:creator>
      <dc:date>2021-02-23T20:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831915#M168987</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes I figured this would fix your issue.&lt;/P&gt;
&lt;P&gt;Note that the soft suspend has its use as well, especially in a network where IP's are handed out by a DHCP server. In that case it is not a bad thing if your VM releases the DHCP address on suspend.&lt;BR /&gt;Then on resume it can ask for a new IP address and you won't get IP address conflicts.&lt;/P&gt;
&lt;P&gt;That's the idea behind the way it works when you use soft suspends.&lt;BR /&gt;It is also possible to keep soft suspend and then customize the scripts that are run by vmware tools on suspend and resume.&lt;/P&gt;
&lt;P&gt;More information about that is here:&lt;BR /&gt;&lt;A href="https://docs.vmware.com/en/VMware-Tools/11.2.0/com.vmware.vsphere.vmwaretools.doc/GUID-B0702BD6-07F5-4775-921C-2C699587A7C3.html" target="_blank"&gt;https://docs.vmware.com/en/VMware-Tools/11.2.0/com.vmware.vsphere.vmwaretools.doc/GUID-B0702BD6-07F5-4775-921C-2C699587A7C3.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;--&lt;BR /&gt;Wil&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 21:05:33 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831915#M168987</guid>
      <dc:creator>wila</dc:creator>
      <dc:date>2021-02-23T21:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831932#M168988</link>
      <description>&lt;P&gt;Hi, I'm not so much concerned about the external IP address at all but the internal Guest networking being corrupted. I can live with external IP address changes but what I can not live with is the internal and complex network needing manual turn down and restarting each time. I'll have a look at the scripts but I suspect today they are not dealing with internal virtual networking and the state save is ignoring that save for those items.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 00:38:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831932#M168988</guid>
      <dc:creator>Bradall</dc:creator>
      <dc:date>2021-02-24T00:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831935#M168989</link>
      <description>&lt;P&gt;Having looked through open VM Tools source the scripts appear to only work with Linux distros that still utilise ifup/down on the interfaces and also Network Manager. Guess that fundamentally answers the questions on later linux distros where these have been migrated. It also answers that anything that is virtual within the guests simply is not dealt with.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 00:58:04 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831935#M168989</guid>
      <dc:creator>Bradall</dc:creator>
      <dc:date>2021-02-24T00:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831937#M168990</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;OK.. so a hard suspend it is then.&lt;/P&gt;&lt;P&gt;That should at least resolve your issues.&lt;BR /&gt;If the potential IP address conflict is no problem for you then I don't see any issues.&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;Wil&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 01:05:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2831937#M168990</guid>
      <dc:creator>wila</dc:creator>
      <dc:date>2021-02-24T01:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Guest Virtual Networks lost after sleep/suspend</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2921667#M176993</link>
      <description>&lt;P&gt;Hello, I have quite the same problem in WKST pro 15 &amp;amp; 16...&lt;BR /&gt;WIth the difference that the DHCP clinet interfaces do not get the IP after HOST OS (latest and patches Win10) wake-up after sleep.&lt;BR /&gt;I found also that is I sleed the vritual machines after OS Host reboot the problem is solved.&lt;/P&gt;&lt;P&gt;Hope to have this problem fixed on day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Saluti&lt;/P&gt;&lt;P&gt;Maurizio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 11:52:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Guest-Virtual-Networks-lost-after-sleep-suspend/m-p/2921667#M176993</guid>
      <dc:creator>teruzzi</dc:creator>
      <dc:date>2022-08-01T11:52:51Z</dc:date>
    </item>
  </channel>
</rss>

