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

    Hyper-V integration installed with pfSense 2.0.1

    Scheduled Pinned Locked Moved Virtualization
    168 Posts 59 Posters 166.8k 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.
    • V
      vivek310
      last edited by

      After additional testing, I think this might be an issue with the MS hyper-v drivers. Have opened up a thread on the technet forums http://social.technet.microsoft.com/Forums/en-US/w8itprovirt/thread/cef0a9db-ec2d-47fa-b71e-e7f503356913. Summarizing my findings below:

      1. linux/bsd system with hyper-v drivers will not get an IP from a DCHP server through a wireless NIC (tried with two different wireless cards)
      2. same vm will get itself an IP when it is connected through the wired NIC.

      the "allow management os to share this interface" setting does not have any effect (however, if you uncheck this, the host machine loses connectivity to the gateway).

      Will post back when I get some additional information.

      1 Reply Last reply Reply Quote 0
      • V
        vivek310
        last edited by

        Also, just a little curious, so asking for feedback: If you had no issues with a virtualized pfsense install, could you please report how your NIC's were assigned (whether wired / wireless and shared with mgmt os or not?) on the WAN and LAN side.

        Thanks

        1 Reply Last reply Reply Quote 0
        • S
          stroyerdk
          last edited by

          @zootie:

          Success!!!!!  :D

          I was able to create ISOs with a Hyper-V kernel for both 2.0.x and 2.1 Beta. Both install and show no major errors and seem functional. More testing is needed, but it is a good starting point for all of us needing to have better Hyper-V support in pfSense.

          I'll post more details once I get some sleep and go deal with life. In the meantime, I posted the ISOs on RapidShare:

          http://rapidshare.com/files/1592931654/pfSense-LiveCD-2.0.3-PRERELEASE-amd64-hyperv-kernel-20130119-0048.zip

          http://rapidshare.com/files/4194997857/pfSense-LiveCD-2.1-BETA1-amd64-hyperv-kernel-20130119-0948.zip

          I have tested both of the Images that was created by zootie.

          My setup is as follows:

          Intel XEON E3-1220LV2
          Intel Serverboard S1200 series
          OS: Windows Server 2012

          I have been trying to get my firewall running virtual for some time now, and with the non-synthetic drivers it was a pain…...

          First off I installed the 2.1-BETA1 - this quickly became annoying, as it would crash and reboot every once i a while. I havent been digging into what was happening, as im a bit of a unix newb, and dont even know where to begin.

          After about 1 week of random crashes i desided to try the other image 2.0.3-PRERELEASE. This is working perfectly and have been running without any crashes. Even rebooted my HyperV hostmashine many times without touching the PFsense VM, an everything is just working without any hickups.

          /Kind Regards

          1 Reply Last reply Reply Quote 0
          • M
            mcnbdks
            last edited by

            @heuristik:

            nice work, alex.  thanks for sharing the vm.

            Using alex's vm for 2 weeks. No issues for synthetic NICs detected :) Good!  But have crashed pfsense when tryed to install bandwidthd package. And there is no RRD graphs (it don't work).

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

              I to have random but frequent crash/reboots with 2.1-BETA1 (amd64).
              It would be interesting to try one of the later releases with integrated services installed.
              I was foolish enough to try and update this version and after a few hours of trying to get it to run again and failed, I reloaded my install in less than 5 minutes.
              It's such a tease to almost have the answer to so many admin's prayers.

              1 Reply Last reply Reply Quote 0
              • A
                asmat
                last edited by

                @Razor_FX_II:

                I to have random but frequent crash/reboots with 2.1-BETA1 (amd64).
                It would be interesting to try one of the later releases with integrated services installed.
                I was foolish enough to try and update this version and after a few hours of trying to get it to run again and failed, I reloaded my install in less than 5 minutes.
                It's such a tease to almost have the answer to so many admin's prayers.

                Tell me about it. I was this || close using it on a production level. But that wouldn't be very responsible isn't it?

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

                  I have the version pfSense-LiveCD-2.1-BETA1-amd64-hyperv-kernel-20130119-0948 installed on a two 2008 R2 Datacenters and as I posted above had reboot issues with it, I was looking at the System Logs at about the time it rebooted to see if there was anything to point me in the right direction and I noticed the familiar "RRD graphs responding to fast" and thinking that the version pfSense-LiveCD-2.0.3-PRERELEASE-amd64-hyperv-kernel-20130119-0048 had no RRD graphs unless reinstalled I thought perhaps there is a connection.

                  So I disabled RRD graphs in each of the installs and have been running for over 24 hours without a single hiccup.
                  Before trying this both routers wouldn't make it an hour without rebooting.

                  I hope this helps.

                  1 Reply Last reply Reply Quote 0
                  • S
                    srnoth
                    last edited by

                    @alexappleton:

                    I've been running this for a few months on various machines and haven't ran into any issues of yet.  Curious to see others reporting issues.

                    I've exported the VM as a complete package, zipped it up and am sharing it on skydrive.  Ready for you to import into Hyper-V 2012.  http://sdrv.ms/15jeBZ6.  Unzipped this package extracts to 5GB in size.

                    When you import the VM you will find that Hyper-V console will ask you to match your adapters with your virtual switch configuration.  The first adapter is hn0 in pfsense, which is the “WAN” interface.  It is also set to pick up IP address via DHCP.  The second adapter is hn1 in pfsense, which is the “LAN” interface.  It is set to default static IP address of 192.168.1.1.  You can change this via the command line menu driven option, or via the webgui.  The default username and password is set on this VM, which is admin/pfsense.

                    Be interested to hear any feedback, fire me an email - alex <at>northernjeep<dot>com.  I don't consider myself to be a pfsense expert, but I've set this VM months ago on a few different test beds, and basically forgot about it; it just runs away without concern.  So far my experiences with pfsense in Hyper-V have been nothing but positive.</dot></at>

                    Been using this image for over about a month now with zero stability issues. Current up time is 18 days. Great work!

                    1 Reply Last reply Reply Quote 0
                    • H
                      hege
                      last edited by

                      i have issues when using the squid proxy, but so it works very nice!

                      Thanks for sharing the image!

                      1 Reply Last reply Reply Quote 0
                      • H
                        hege
                        last edited by

                        Almost 10000 views  ;D

                        @zootie
                        would it be possible that you make us a new 2.0.3 release image?

                        I tried it several times with your description, but failed with strange kernel issues.

                        1 Reply Last reply Reply Quote 0
                        • K
                          kanylbullen
                          last edited by

                          This is awesome!

                          I have been running pfSense at a customer for a couple of years and now that we have vitualized all the servers in Hyper-V I was keen on getting rid of the decade-old IBM-thinkcentre running pfSense.

                          I can report that I have clustered the pfSense-VM on a Hyper-V 2012 failover cluster with a CSV Volume and when doing a live-migration of pfSense between the nodes I don't lose a single ping at the pfSense console from the internet and only 1 ping is at the clients on the internal network from pfSense and the internet.

                          I am still struggling with the decision whether to actually use pfSense instead of a commercial alternative with support options, since I got no troubleshooting skills with either pfSense or *nix if anything stops working.

                          1 Reply Last reply Reply Quote 0
                          • P
                            PollyPy
                            last edited by

                            Hi all.

                            You can try the fresh ISOs with a Hyper-V kernel for both 2.0.3 and 2.1 RC1.
                            Builded on zootie's instructions. Big tnx.

                            http://goo.gl/KzpV0 :: pfSense-LiveCD-2.0.3-RELEASE-amd64-HV-20130505-1916.iso
                            http://goo.gl/Y7D1J :: pfSense-LiveCD-2.1-DEVELOPMENT-amd64-HV-20130430-2250.iso

                            1 Reply Last reply Reply Quote 0
                            • A
                              asmat
                              last edited by

                              Got VLANs working with Hyper-V server 2012 and 2 NICs, 1 for WAN and the other one for 5 VLANs  ;D

                              Basically, With server manager from my Windows 8 laptop I created a NIC teaming with only 1 NIC as team member and then proceed with creating vNICs for all my VLANs.
                              From Hyper-V manager, I then tag each new vNIC with the VLANs number and boom! Everything works.

                              PF1.JPG
                              PF1.JPG_thumb
                              PF2.JPG
                              PF2.JPG_thumb
                              PF3.JPG
                              PF3.JPG_thumb
                              PF4.JPG
                              PF4.JPG_thumb

                              1 Reply Last reply Reply Quote 0
                              • A
                                asmat
                                last edited by

                                @PollyPy:

                                Hi all.

                                You can try the fresh ISOs with a Hyper-V kernel for both 2.0.3 and 2.1 RC1.
                                Builded on zootie's instructions. Big tnx.

                                http://goo.gl/KzpV0 :: pfSense-LiveCD-2.0.3-RELEASE-amd64-HV-20130505-1916.iso
                                http://goo.gl/Y7D1J :: pfSense-LiveCD-2.1-DEVELOPMENT-amd64-HV-20130430-2250.iso

                                Running your 2.1 andd RRD graph works out of the box! Yeayyy

                                Happy times!

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hege
                                  last edited by

                                  @PollyPy:

                                  http://goo.gl/KzpV0 :: pfSense-LiveCD-2.0.3-RELEASE-amd64-HV-20130505-1916.iso
                                  http://goo.gl/Y7D1J :: pfSense-LiveCD-2.1-DEVELOPMENT-amd64-HV-20130430-2250.iso

                                  amazing, just testing the 2.0.3 iso and it seems pretty more stable. big big thanks!

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

                                    Thank you!

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      svfusion
                                      last edited by

                                      THANK YOU!

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        svfusion
                                        last edited by

                                        what are the patch files for?

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          PollyPy
                                          last edited by

                                          @svfusion:

                                          what are the patch files for?

                                          http://blog.chrisara.com.au/2012/08/hyper-v-integration-components-for_13.html
                                          "Hyper-V Integration Components for FreeBSD – Patchfiles" - Chris Knight's FreeBSD patches

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            stiggle
                                            last edited by

                                            Using the 2.0.3 HV image - I'm getting occasional crashes, but only noticing them as the GUI has the 'crashed report detected' message.

                                            Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
                                            2 vCPU, 4Gb RAM, IDE disk, 4 vNIC

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