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

Hyper-V integration installed with pfSense 2.0.1

Virtualization
59
168
164.9k
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.
  • L
    Liceo
    last edited by Feb 19, 2014, 6:06 AM

    Although i really like pfsense, i could not longer wait for official Hyper-V integration. I started using Sophos UTM 9.x. The personal edition is even for free…

    1 Reply Last reply Reply Quote 0
    • H
      hmh
      last edited by Feb 19, 2014, 9:08 AM

      @Liceo:

      Although i really like pfsense, i could not longer wait for official Hyper-V integration. I started using Sophos UTM 9.x. The personal edition is even for free…

      I'm using release pfSense-LiveCD-2.1-RELEASE-amd64-hyperv-kernel-20130915-1129.iso in production, all servers 2012 R2 and one 2012
      No problems, kernel panic, etc…
      Longest up time 60 days without problems.

      1 Reply Last reply Reply Quote 0
      • C
        chkchaitu
        last edited by Feb 19, 2014, 5:44 PM

        using pfsense as a server loadbalancer for few years on a Dell PE server in my dev environment.

        Found this post so wanted to move the aged box to VM. Have downloaded and installed the custom iso on server 2012 R2 hyper-v. Installation went smooth and restored backup to VM from the physical box.

        Everything looks fine but none of the sites hosted being the VIPs of the loadbalancer are responding. These VIPs are configured as PARP.

        Could not find any logs that can be of help.

        Would be greatfull if any one can help me with this.

        1 Reply Last reply Reply Quote 0
        • B
          bryan.paradis
          last edited by Feb 19, 2014, 6:39 PM

          @hmh:

          @Liceo:

          Although i really like pfsense, i could not longer wait for official Hyper-V integration. I started using Sophos UTM 9.x. The personal edition is even for free…

          I'm using release pfSense-LiveCD-2.1-RELEASE-amd64-hyperv-kernel-20130915-1129.iso in production, all servers 2012 R2 and one 2012
          No problems, kernel panic, etc…
          Longest up time 60 days without problems.

          What are your VM settings? Are you giving it only 1 CPU by chance? There is code in the source that has something to do with tying to a certain CPU.

          1 Reply Last reply Reply Quote 0
          • Z
            zootie
            last edited by Feb 19, 2014, 7:06 PM

            A couple general news on this topic.

            Looking in the git repository, there have been considerable improvements in the source code for the integration component drivers and are now at a 1.0 release level. I've been trying to figure out a way to inject these newer drivers into a running pfSense VM or to generate a new pfSense ISO build with this new code (been at it for a few days). I'll report back once I figure out a way to build it (or if I give up for the time being).

            These newer drivers are considered stable enough to be included in FreeBSD 10. Hopefully, it'll be a considerable improvement that will solve some of the issues we've experienced. There is also the possibility that a near future version of pfSense (maybe 2.2) will be based on FreeBSD 10 (rather than 8.3 as 2.1), making it easier to support Hyper-V going forward.

            1 Reply Last reply Reply Quote 0
            • H
              hmh
              last edited by Feb 19, 2014, 7:28 PM

              @bryan.paradis:

              What are your VM settings? Are you giving it only 1 CPU by chance? There is code in the source that has something to do with tying to a certain CPU.

              I'am using 2 or 4 CPU and 1 Gb RAM

              Config on my test lab:
              2 CPU  1Gb RAM
              WAN1 Link 1 Gigabit (True 1 Gigabit internet link)
              WAN2 Link 5 Megabit (Backup link, and some services published to internet)

              1 Reply Last reply Reply Quote 0
              • Z
                zootie
                last edited by Feb 21, 2014, 11:11 PM

                hmh,

                I tried those instructions on a vanila 2.1 installation, and it crashes the VM as soon as you try and enable the interface or to assign them. There are other users attempting similar strategies, but so far, all have reported that the precompiled (or trivially recompiled) drivers break pfSense (and we're having to go through hoops to try and compile a version that is more compatible with pfSense).

                Can anyone confirm they got the new precompiled drivers using the instructions on https://github.com/FreeBSDonHyper-V/Hyperv-Ports/wiki/Install-pre&minus%3Bbuilt-FreeBSD-8-Hyper&minus%3BV-Integration-Components-using-packages? Are you sure you're using the synthetic driver (ie, shutdown and remove the Legacy NIC from the VM so it attemtps a reassign on the following boot). You can re-add the Legacy NICs to get the VM back online (and/or you should make a backup of your VHD before installing these drivers).

                1 Reply Last reply Reply Quote 0
                • P
                  PollyPy
                  last edited by Feb 22, 2014, 12:11 AM

                  FreeBSD 10

                  Let's wait for branch.

                  1 Reply Last reply Reply Quote 0
                  • H
                    hmh
                    last edited by Feb 22, 2014, 6:24 AM

                    @zootie:

                    ….........
                    Can anyone confirm they got the new precompiled drivers using the instructions on ...........

                    Confirm.

                    kldstat.jpg
                    kldstat.jpg_thumb

                    1 Reply Last reply Reply Quote 0
                    • Z
                      zootie
                      last edited by Feb 22, 2014, 6:45 AM

                      That's not enough to confirm. You have to access the interfaces (that is when the VM crashes for me and other users). Please assign them an IP address (or run the assign interfaces command in the menu and assign WAN/LAN to the hnX adapters) and if it doesn't crash, please post the output of ifconfig showing the hnX interfaces with IP addresses.

                      Independently if these instructions work (which if they do, at best might only work on some systems). I just had a breakthrough and I finally was able to load recompiled hyperv-1.0 drivers on pfSense 2.1. I still need to do more testing and do my due diligence, but if the precompiled drivers don't work for you and/or if you're having issues with the August 2012 drivers (used in Alex Appleton method and in my and PollyPy's installer ISOs), don't waste too much time: a new improved version is likely coming in the next few days.

                      1 Reply Last reply Reply Quote 0
                      • H
                        hmh
                        last edited by Feb 22, 2014, 7:16 AM

                        @zootie:

                        …. don't waste too much time: a new improved version is likely coming in the next few days.

                        This is very good news!!! Thank you, i will wait few days, please post news in this thread!

                        1 Reply Last reply Reply Quote 0
                        • R
                          rafaurl
                          last edited by Feb 25, 2014, 10:27 AM

                          windows server 2012 with pfSense-LiveCD-2.1-RELEASE-amd64-hyperv-kernel-20130915-1129.iso + squid3 + lightsquid causes Panic String: sleeping thread (same as https://forum.pfsense.org/index.php?topic=72539.0). Uninstalling squid3  + lightsquid seems to solve the problem, but can't make more test as it's in production

                          1 Reply Last reply Reply Quote 0
                          • M
                            mylle
                            last edited by Feb 28, 2014, 11:55 AM

                            Waiting patiently :)

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zootie
                              last edited by Mar 1, 2014, 5:25 PM Mar 1, 2014, 3:00 PM

                              I started a new thread and uploaded the new drivers in https://forum.pfsense.org/index.php/topic,73258.0.html

                              I decided to start a new thread because the new drivers are a considerable departure from the methods discussed on this thread, and to make it easier to find them (since the first couple pages in this thread are a bit preliminary and a bit obsolete).

                              If you had issues with the old drivers, please give the new drivers a try and let us know how they work in your environment.

                              1 Reply Last reply Reply Quote 0
                              • H
                                HC
                                last edited by Mar 13, 2014, 3:17 AM

                                Hey everyone, so I got the image running in hyper-v (2008r2) but I cant make any changes to the firewall or NAT. It takes system preferences changes like users and passwords, dns changes but that's about it. any ideas?

                                im also getting scrolling message every 5 min or so on the console.

                                hv_kvp_negotiate_version
                                Hyperv-utils1: detached
                                hyperv-utils1 on vmbus0
                                hyperv-utils1: Hyper-V service attching: Hyper-v sevice attaching; Hyper-v KVP Service
                                
                                1 Reply Last reply Reply Quote 0
                                • ?
                                  Guest
                                  last edited by Mar 14, 2014, 6:20 AM

                                  Please see the ESF response: https://forum.pfsense.org/index.php?topic=73258.msg402614#msg402614

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