• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Stop / restart networking on VM suspend / resume

Scheduled Pinned Locked Moved Virtualization
5 Posts 4 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    kathampy
    last edited by Mar 4, 2016, 6:38 AM

    According to VMware, FreeBSD guests have networking restarted after the guest is suspended and resumed.
    https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vmtools.install.doc%2FGUID-A024460D-28A4-4541-B6BB-CFA1A31D9CE9.html

    Is there any way to do this for Hyper-V? My PPPoE connections hang for 15 seconds when the VM is resumed, until they timeout and reconnect. I want them to instantly reconnect when the VM resumes. Right now it's faster to just reboot the VM than resume it and wait for PPPoE to timeout. Does Hyper-V even support running scripts on power state change on FreeBSD?

    1 Reply Last reply Reply Quote 0
    • T
      Tarcas
      last edited by Apr 6, 2016, 8:06 PM

      Can you reduce the PPPoE timeout? Might not be optimal, but it could help quite a bit. Just don't reduce it so low that it times out during normal operation.

      1 Reply Last reply Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Apr 8, 2016, 2:39 PM

        Curious how about not just pausing the VM ;)  Why exactly do you pause them?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • K
          kathampy
          last edited by Jan 25, 2017, 10:44 AM Jan 25, 2017, 10:38 AM

          pfSense takes too long to shutdown and reboot. Modern OSes like Windows Server boot in 5 seconds, and my 2500 MB/s SSD can pause and resume the VM in 1 second.

          1 Reply Last reply Reply Quote 0
          • K
            KOM
            last edited by Jan 25, 2017, 2:38 PM

            Modern OSes like Windows Server boot in 5 seconds

            VMware Workstation 12.5.2, running on an Intel i7-2600, takes about 15 seconds to boot a fully-patched Windows Server 2012R2 VM stored on an SSD.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received