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

    Latest PFsense for hyper-V?

    Scheduled Pinned Locked Moved Virtualization
    68 Posts 24 Posters 48.1k 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.
    • B
      Bill Morton
      last edited by

      Hi
      I have a 2.2 (latest) installation on Hyper-V 2012 R2 and all works fine, but I still see the synthetic network adaptors as Degraded (integration services upgrade required).
      I thought Integration Services were included in FreeBSD 10, do I need to install them separately or have I done something wrong?

      Many thanks

      Bill

      1 Reply Last reply Reply Quote 0
      • R
        rustydusty1717
        last edited by

        You shouldn't require to use legacy drivers which was my problem. After switching from legacy I saw huge CPU usage drop increased performance

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          This matches my (brief) experience.

          1 Reply Last reply Reply Quote 0
          • R
            rustydusty1717
            last edited by

            Which part does?

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              not using the "Legacy" drivers.

              1 Reply Last reply Reply Quote 0
              • R
                rustydusty1717
                last edited by

                Have issues getting it to run without the legacy drivers?

                I had to do the install of the snapshots 3 times to get it to work. Haven't bothered updating to the latest snapshot in the worry it won't work anymore.

                Running for weeks without a hiccup.

                1 Reply Last reply Reply Quote 0
                • B
                  bdinger
                  last edited by

                  FWIW I've had 2.2 running on Hyper-V 2012 R2 for the past week and a half at home with nary a hiccup.  Works beautifully.  No perceptible CPU usage even under full load at night with everyone watching Netflix or gaming.  Mix of Realtek and Intel NICs.  Granted host is a 3770k, but still, I don't think I've seen CPU usage > 10%.

                  1 Reply Last reply Reply Quote 0
                  • R
                    rustydusty1717
                    last edited by

                    @bdinger:

                    FWIW I've had 2.2 running on Hyper-V 2012 R2 for the past week and a half at home with nary a hiccup.  Works beautifully.  No perceptible CPU usage even under full load at night with everyone watching Netflix or gaming.  Mix of Realtek and Intel NICs.  Granted host is a 3770k, but still, I don't think I've seen CPU usage > 10%.

                    I  concur with all of this. Huge decrease in CPU usage since switching from the legacy drivers. Performance gains are significant

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wendo
                      last edited by

                      Just to add another me too post, I just upgraded from the 2.1 based install, my host is still 2008 R2 and was running leagcy adapters (obviously). Having just got 100Mb fibre installed I was finding the VM could only actually do about 90Mb because of the legacy adapters and their "limit" of 100Mb.

                      Switched over to 2.2 by doing a clean install and importing the config and then just disconnected the old VM and connected the new and away everything went. I now get a solid 100Mb down :)

                      1 Reply Last reply Reply Quote 0
                      • B
                        bdinger
                        last edited by

                        @rustydusty1717:

                        I  concur with all of this. Huge decrease in CPU usage since switching from the legacy drivers. Performance gains are significant

                        An update - I ditched the realtek NICs and threw in a couple Intels, now the CPU usage is nothing - literally.  Rock solid wireline performance and I never see a load on it even with two VPN tunnels and kids hammering Netflix :).

                        Hypervisor is Hyper-V 2012R2 on Server 2012 R2.  I'm not necessarily a fan of the Hypervisor but pfSense is rock solid on it.  I've got nothing but praise at this point for the setup.

                        1 Reply Last reply Reply Quote 0
                        • R
                          rustydusty1717
                          last edited by

                          Horray for compatibility in hyper-v!

                          1 Reply Last reply Reply Quote 0
                          • R
                            Rooter
                            last edited by

                            Same as here. Works good.

                            1 Reply Last reply Reply Quote 0
                            • D
                              doubledgedboard
                              last edited by

                              I've been using pfSense in hyper-v 2012 r2 for over 6 months.

                              The 'degraded' status can be more or less ignored, it just means it isn't reading the data about it from the OS, doesn't mean performance is actually degraded.

                              Performance is awesome overall, I'm going to be setting it up as my primary router for Google Fiber once I get that installed. I'll be trying to see if I can set it up with CARP as well.

                              The only real issue I run into occasionally is with traffic actually flowing through the WAN after a reboot\update. I often need to power off the VM entirely and then power it back on for my interfaces to work again.

                              1 Reply Last reply Reply Quote 0
                              • C
                                cmb
                                last edited by

                                @doubledgedboard:

                                I'll be trying to see if I can set it up with CARP as well.

                                edit: scratch that, CARP now works with Hyper-V, see my later post in this thread.

                                @doubledgedboard:

                                The only real issue I run into occasionally is with traffic actually flowing through the WAN after a reboot\update. I often need to power off the VM entirely and then power it back on for my interfaces to work again.

                                I'm guessing that's due to a timing issue we've seen on some reboots on our own systems and some others'. The clock runs backwards and/or is otherwise messed up in that circumstance but only during boot and maybe a couple minutes after. I haven't had a chance to dig too far into that one, on our systems it doesn't seem to have any negative impact beyond log noise from the "runtime went backwards". I've heard from at least one other person who needs to do the same power off/on at times after that timing issue occurs. I'll be looking at that further post-2.2 release as well.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  doubledgedboard
                                  last edited by

                                  I've heard from at least one other person who needs to do the same power off/on at times after that timing issue occurs. I'll be looking at that further post-2.2 release as well.

                                  Ah, yes I do regularly get the runtime \ clock went backwards message. I figure it's due to the way that cpu cycles are handed out to each VM and how the VM itself keeps time or possibly also due to the VM Host overriding the VM time. I don't usually see issues associated with it, though.

                                  To be honest I haven't fully validated that I'm still getting the interface issue in the latest releases. I got into the habit of doing a full shutdown & startup after each update, so I'll have to try it again normally next time I update to see if the issue recurs.

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    Guest
                                    last edited by

                                    @cmb:

                                    @doubledgedboard:

                                    I'll be trying to see if I can set it up with CARP as well.

                                    There's an issue in the network driver that prevents CARP from working currently, but that is something we'll be working with Microsoft to address post-2.2 release.

                                    Microsoft has patched the issue, and we're looking at folding it into pfSense version 2.2

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      cmb
                                      last edited by

                                      I can confirm that CARP is fully functional in Hyper-V with the most recent 2.2 snapshot available! Thanks to the folks at Microsoft for fixing it and getting us the patch. Those who'd like to use CARP in Hyper-V, check out the most recent 2.2 from snapshots.pfsense.org and let us know your experiences.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        felickz
                                        last edited by

                                        Is anyone up and running on Gen 2 VM's with 2.2 and non legacy drivers?

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tisler
                                          last edited by

                                          It seems as if freeBSD with Generation 2 VMs are not fully supported:
                                          https://technet.microsoft.com/en-us/library/dn848318.aspx

                                          But it could work if you disable secure boot option:
                                          https://technet.microsoft.com/en-us/library/dn282285.aspx

                                          Here's a list of Best practices for running FreeBSD on Hyper-V:
                                          https://technet.microsoft.com/en-us/library/dn848317.aspx

                                          P.S. Have to admit that I didn't implement any of those recommended practices :-o

                                          Cheers,
                                          Thomas

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            duntuk
                                            last edited by

                                            No, pfsense won't even boot off the ISO under a Generation 2 setup–even if you disable secure boot. The pfsense ISO would would require GPT/EFI partition or be converted to GPT/UEFI to boot...  You'll get an error message: "Boot Failed. EFI SCSI Device"  ... Confirmed.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.