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

    Hyper-V - PFsense 2.0.1 - Some tips.

    Scheduled Pinned Locked Moved Virtualization
    26 Posts 17 Posters 41.7k 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.
    • T
      tester_02
      last edited by

      booo.  Guess it's wait for freebsd 10 or 11.  Hopefully by then we can have better support :)

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

        I'm installing pfSense 2.1 Beta0 on Hyper-V 2008R2. The live cd worked for as far as I tested (with legacy nics), however a install to disk failed with the error:
        Execution of the command
        /sbin/fdisk -v -f /tmp/format.fdisk ad0
        FAILED with a return code of 1

        This was because I used a Dynamically Expanding disk. After changing it to a Fixed Size disk, the install continued.

        As mentioned before, the nics don't receive data after first boot. To fix this I did the following:
        Go to the shell
        vi /usr/local/etc/rc.d/interfaces.sh

        Press INSERT and start typing the following (watch out for typos as these are difficult to correct in VI):

        ifconfig de0 down
        ifconfig de0 up
        ifconfig de1 down
        ifconfig de1 up
        dhclient de0

        When done, press INSERT and type:

        :wq

        Followed by pressing ENTER

        Type:

        chmod +x /usr/local/etc/rc.d/interfaces.sh

        Followed by pressing ENTER. This will allow the script to run.

        This makes pfSense work in Hyper-V.

        I'm also looking at loadbalancing multiple nics to see if I can increase the throughput. Anybody got experience with this?

        1 Reply Last reply Reply Quote 0
        • E
          elementalwindx
          last edited by

          Has this issue of the legacy adapters not being gigabit been solved?

          Seriously thinking of doing this with my server.

          Wish it was stable for production as I have several R710 servers with multiple nics that would be nice to combine into windows/pfsense box.

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

            Nope, with 2012 R2 there will be an additional new hardware model using UEFI (+ SecureBoot) and even no
            more legacy hardware so pfSense will only boot on the same hardware model as Linux VMs did.

            The legacy NIC has just been there for compatibility but I'v not seen MS being interested in improving this.
            It's been slow crap (but it worked even in early days), but that's about it.

            You'd have to go with KVM or VMware instead as they both do either good e1000 emulation or bring their FreeBSD compatible paravirt NIC.

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

              I didn't see anybody mention the "Hyper-V integration installed with pfSense 2.0.1" thread, so I'm posting on this thread for the benefit of anybody watching it. In essence, we've been doing custom pfSense 2.0.x and 2.1 ISO builds with Chris Knight's Hyper-V patches (plus a couple fixes). YMMV depending on your environment, but it is working great for several (many?) Hyper-V users.

              I just did a new build with the Hyper-V aware kernel and pfSense 2.1 Release. See http://forum.pfsense.org/index.php/topic,56565.msg362435.html#msg362435 and following posts (check out the complete thread for troubleshooting tips and issues others have found).

              1 Reply Last reply Reply Quote 0
              • I
                iloy
                last edited by

                pfSense 2.1 RELEASE under Hyper-V 2008R2

                setting

                http://knowledge.zomers.eu/pfsense/Pages/Install-pfSense-on-Windows-2008-Hyper-V-server.aspx

                ifconfig de0 down
                ifconfig de0 up
                ifconfig de1 down
                ifconfig de1 up
                dhclient de0

                script
                /usr/local/etc/rc.d/interfaces.sh

                executed at boot, but does not work, we have to start it manually …

                after obtain

                ....
                DHCPACK from (Gateway provider)
                bound to XX.XX.XX.XX (issued ip) -- renewal in 300 seconds

                every 5 min. is updated by DHCP from the ISP connection and falls off to re-launch /usr/local/etc/rc.d/interfaces.sh

                how to overcome it or remove renewal in 300 seconds?

                thank's a lot

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