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 165.4k 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.
    • H
      hege
      last edited by

      What exactly do you mean with "WAN problem"?
      As i know, you shouln't need any start script since the integration driver….

      What language do you speek usually?
      You can send me a pm if its german  ;D

      1 Reply Last reply Reply Quote 0
      • L
        Liceo
        last edited by

        @TRIUMF:

        You should add network adapters and configure vlans using Hyper-V, not pfsense itself.

        Sure, but then you are limited to the max of vNICs you can add.

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

          @Liceo:

          Sure, but then you are limited to the max of vNICs you can add.

          You need more than 8 vNICs?

          1 Reply Last reply Reply Quote 0
          • L
            Liceo
            last edited by

            @hege:

            @Liceo:

            Sure, but then you are limited to the max of vNICs you can add.

            You need more than 8 vNICs?

            Consider using it in a productive environment, that can happen. It's not really an issue, if i would need more i may would deploy a 2nd pfsense.

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

              @Liceo:

              @TRIUMF:

              You should add network adapters and configure vlans using Hyper-V, not pfsense itself.

              Sure, but then you are limited to the max of vNICs you can add.

              Sorry, never needed that many NICs so never had this issue :)

              Is there a chance we will see pfsense officially supported on Hyper-v in near future?

              1 Reply Last reply Reply Quote 0
              • L
                Liceo
                last edited by

                @PollyPy:

                Hi all.
                My last updated ISO with a Hyper-V kernel

                http://goo.gl/evcFRk :: pfSense-LiveCD-2.1-DEVELOPMENT-amd64-HV-kernel-20130812-2157.iso

                Hi PollyPy

                Which procedure you use to create your pfsense-Hyper-V builds? Do you have a step-by-step manual which is understandable for a Linux dummie like me?

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

                  Hi PollyPy

                  Which procedure you use to create your pfsense-Hyper-V builds? Do you have a step-by-step manual which is understandable for a Linux dummie like me?

                  http://forum.pfsense.org/index.php/topic,56565.msg308223.html#msg308223

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

                    Hi,

                    Have you 2.1-RC1-HV.ISO?

                    Thanks

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

                      If I try to Update system or install Packages the system crash during download.

                      Panic String: sleeping thread
                        Dump Parity: 2933982801
                        Bounds: 0
                        Dump Status: good

                      If I include kern.timecounter.hardware=TSC the clock was wrong

                      I tested any versions with hyper-v patches.

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

                        @diegoriera:

                        If I try to Update system or install Packages the system crash during download.
                        Panic String: sleeping thread…
                        If I include kern.timecounter.hardware=TSC the clock was wrong

                        kern.timecounter.hardware=TSC can happen, when your cpu change its frequency - change back to the old one and live with the log messages…

                        Panic String: sleeping thread...
                        thats a strange issue, sometimes I get this error too - i posted something about that already.

                        You dont should try to update or install packages over your wan nic (i did that)

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

                          I tested package install in hyper-v on I3-2120 processor and get Kernel Panic, but I did this in hyper-v on Xeon-X5675 and didn´t get Kernel Panic.

                          1 Reply Last reply Reply Quote 0
                          • Z
                            zootie
                            last edited by

                            I did a new build with the Hyper-V kernel of pfSense versions 2.0.3p1 and 2.1 RC2 with the source as of 20130904.

                            Taking PollyPy lead, I posted it on SkyDrive and on RapidShare and I'm using URL shortening (to be able to redirect it in the future to newer builds, since I can't edit older posts to update the links - if an admin reads this, you might want to edit older posts or we might want to put these links in a sticky thread so they're easier to find).

                            • Rapidshare: http://sn.im/27sh5kx (limited to about 10 downloads a day, so try again if you can't get it).

                            • Skydrive: http://goo.gl/mBhK46 (using Google shortening since SnipURL doesn't let you redirect to SkyDrive, I won't be able to update it to redirect to a new version later, so keep watching this thread).

                            I posted a single 7z file with both ISOs, so it is less confusing.

                            I tested both for a couple days and only had a couple issues:

                            • On 2.0.3p1, I had to re-install rrdtool (run pgk_add -r rrdtool)

                            • On 2.1RC2, I had to Reset RRD Data (while there were graphs, they were empty)

                            The 2.1RC2 install seems to be working great and I'll probably move to it permanently.

                            1 Reply Last reply Reply Quote 0
                            • N
                              nlitend1
                              last edited by

                              SO HAPPY to see 2.1-RELEASE is available now. :) Currently running 2.1RC0, but looking to upgrade to the RELEASE. I've tried, unsuccessfully, to create an update/latest edition. Loving Pfsense in Hyper-V! Looking forward to moving beyond these incremental 2.1 releases and having the "final" 2.1 edition to troubleshoot with everyone.

                              nlitend1

                              1 Reply Last reply Reply Quote 0
                              • Z
                                zootie
                                last edited by

                                Admin edit: Removed outdated, incorrect advice others were linking to. Everyone using Hyper-V should be using 2.2 (or newer if available, if you're reading this in the future).

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  zootie
                                  last edited by

                                  AFAIK, you can't use these ISOs as an update source.

                                  As you suggest, I usually make a backup of the config of the current router. Then use the ISO to make a clean install on a new VM (use a fixed size VHD, add 2 synthetic network adapters), give it an unused IP in your LAN, and connect to it using the WebConfigurator and restore the backup config (shutdown existing router before clicking on restore to avoid having duplicate IPs - also make sure to configure mac spoofing on the VM network card if it applies).

                                  You just have to make sure to match the interfaces to the correct virtual network card, that you assign them the same way you had them on your prior router in the VM Hyper-V config. Or you can edit the config XML file manually.

                                  If coming from a pre-Hyper-V VM with legacy adapters, the config file will have it's interfaces named de0, de1, etc.; and it will have an interface mismatch with the synthetic adapters (hn0, hn1, …), so it will prompt you what interface corresponds to which network port. Or you might have to edit the config using the "Assign Interfaces" option in the console menu.

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

                                    hi!

                                    i'm still on 2.0.3 with no problems so far (except ntp time client errors appearing during boot process sometimes).

                                    anybody can comment how stable 2.1 release is at this moment?

                                    essentially, interfaces are working properly with traffic shaper in 2.1? ntp errors still appearing during boot?

                                    in advance, thx for all the hyper-v compiled images!

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      gemmiu
                                      last edited by

                                      Icmp on the wan side doesn't work for me.

                                      I've created a new rule in the firewall, but it doesn't seem to work.

                                      Does someone have the same problem?

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

                                        I'm up and running with pfsense on hyper-v 2012.  Here is my question, i've enabled trunk mode on the hyper-v nic and pfsense doesn't seem to want to see that as a vlan-capable interface.  So my question is, with 2.1 is there an easy fix for that?  is that feature coming in 2.2?

                                        1 Reply Last reply Reply Quote 0
                                        • Z
                                          zootie
                                          last edited by

                                          gemmiu,
                                          ICMP on the WAN side is working fine for me, using a rule as described in http://www.cdavis.us/wiki/index.php/Allow_WAN_ICMP_requests_with_pfsense.

                                          darkytoo,
                                          As you point out, the synthetic driver doesn't seem to support vlans (you'd have to specify a single vlan in the host). It would be up to the FreeBSD team working on the integration services drivers to add this functionality to the codebase, and for it to make it into pfsense (far too early to talk versions).

                                          (Just to write it down, since it's an interesting nugget of info for future use) By "enabled trunk mode", I'm guessing you mean you used PowerShell to configure the vnic and vlans being passed to the VM? As described in VLAN Tags and Hyper-V Switches:

                                          
                                          Add-VMNetworkAdapter -SwitchName Switch -VMName "VmName" -Name "TrunkNic"
                                          Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "100,101" -VMName "VmName" -VMNetworkAdapterName "TrunkNic" -NativeVlanId 1
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            darkytoo
                                            last edited by

                                            @zootie:

                                            gemmiu,
                                            ICMP on the WAN side is working fine for me, using a rule as described in http://www.cdavis.us/wiki/index.php/Allow_WAN_ICMP_requests_with_pfsense.

                                            darkytoo,
                                            As you point out, the synthetic driver doesn't seem to support vlans (you'd have to specify a single vlan in the host). It would be up to the FreeBSD team working on the integration services drivers to add this functionality to the codebase, and for it to make it into pfsense (far too early to talk versions).

                                            (Just to write it down, since it's an interesting nugget of info for future use) By "enabled trunk mode", I'm guessing you mean you used PowerShell to configure the vnic and vlans being passed to the VM? As described in VLAN Tags and Hyper-V Switches:

                                            
                                            Add-VMNetworkAdapter -SwitchName Switch -VMName "VmName" -Name "TrunkNic"
                                            Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "100,101" -VMName "VmName" -VMNetworkAdapterName "TrunkNic" -NativeVlanId 1
                                            

                                            correct.  Basically I have a ESX server here specifically to host PFsense due to the VLAN trunking issue and the compatibility.  Now that the compatibility has been ironed out for the most part, I was hoping to remove ESX and host it on hyper-v.  So i enabled the VLAN trunking in powershell and see that the trunking doesn't work anyway, little aggravating.  I spent a couple of hours trying to find an alternative with the pfsense features that would be more compatible and failed, so now i'm going to try and pair-down my VLAN usage and just add a bunch of NICs to the VM and limp along until I find an alternative or the issue is fixed in pfsense.

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