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

    PfSense in VM, is there a good way to connect host machine to LAN?

    Virtualization
    5
    24
    15.4k
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      Well use something else to consolidate too.. To me a box designed for HIGH IO both lan and disk doesn't seem like the ideal box to be running virtual software on top of, your virtual box idea..  Nor would it prob be a good candidate for visualization itself.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

        Thanks so much!! Got everything up and working flawlessly. Man is esxi ever amazing, totally transparent performance wise :)

        I downloaded esxi with an unlimited license (no time out, no ram resitrctions) from here: http://www.vmwarearena.com/2013/10/vsphere-55-download-free-esxi-55.html

        I was able to re-install my Windows 2012 R2 and following this guide  was able to directly map my SATA stripes into Windows (without losing any data on them), and then make them "online" with this guide. Performance is amazing.

        I then installed pfSense using this guide: https://doc.pfsense.org/index.php/PfSense_2_on_VMware_ESXi_5

        Everything is working great.

        I forgot to copy down the mac address of my previous pfSense box so my cable modem is in provisioning mode so my speeds are terrible right now, not sure if I go and clone my mac now if it will kick out of provisioning mode or if it just has to expire the old mac.

        Thanks again for all the great info.

        One question: How do I expand the pfsense partition to fill the rest of the space on the disk I've assigned it? "Disk usage: 7% of 3.9G"???

        -Jamie M.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          why do think pfsense would need much space?  I only gave it a 4GB disk as well.. My disk 22% of 2.9G

          The Free lic from vmware is like 4TB host limit with 1TB vm limit, not sure what you think that website is giving away?  Free has unlimited cpu cores as well with a limit of 8vcpu per guest.

          Yeah its a great product – only stickler I have with the 5.5 is the client can not edit if you upgrade to version 10 on the hardware, only 9..  So you can upgrade to 10, and then ssh to the host and edit the vmx file to be 9, then you can edit hardware and such again with the vclient.

          You are going to get way more performance out of esxi then you would running virtualbox on top of an OS.  Don't get me wrong virtualbox is great and has lots of use cases.  But if what you want to do is run VMs and get most power of the hardware to the VMs then no its not really the best use.

          Been running pfsense on esxi for quite some time so if you have any questions just ask.  So your getting your full IO on your disks then and network?  Did you get your VM direct access to your 10G cards or are you just connecting that to a vswitch and using vmxnet3 virtual nics on your VM which are 10G, what kind of speeds are you getting?  Any loss of throughput?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

            @johnpoz:

            why do think pfsense would need much space?  I only gave it a 4GB disk as well.. My disk 22% of 2.9G

            haha, ok. Is there a way to shrink my vmdk, I gave it 20gb on my precious boot SSD.

            @johnpoz:

            The Free lic from vmware is like 4TB host limit with 1TB vm limit, not sure what you think that website is giving away?  Free has unlimited cpu cores as well with a limit of 8vcpu per guest.

            When I downloaded ESXi from vmware directly, when I put in the license they gave me, it said it was going to expire in 60 days. When I googled that, peeps said just re-install every 60 days, but that website, when you click the link for "download vmware" it has a tag in it. It gave me a new license number which got rid of the expiry notice.

            @johnpoz:

            Yeah its a great product – only stickler I have with the 5.5 is the client can not edit if you upgrade to version 10 on the hardware, only 9..  So you can upgrade to 10, and then ssh to the host and edit the vmx file to be 9, then you can edit hardware and such again with the vclient.

            At least it gives you a warning before you upgrade it to 10! I clicked that, and then it's like "you can only manage it with the web based/not free whatever" so I said no thanks :)

            @johnpoz:

            So your getting your full IO on your disks then and network?  Did you get your VM direct access to your 10G cards

            My drive/file/network permissions are completely messed up at the moment so haven't given it a good test. I was able to add the 10g cards as "pci device" directly to Win2012 R2 VM. I just dropped a file over the network at 500mb/sec and copied from stripe to stripe (internal) at 1.5gb/sec so it seems that everything is working at full speed or close enough to it :)

            -Jamie M.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              500mbps ?? You mean 500MBps ??  500mb would be like watching paint dry on a 10Gb connection if you asked me.. I see high 800 to low 900's mbps on my cheap gig equipment, etc..  I pull 100MBps from my VM, etc..  b is bits, B is Bytes ;)

              Yes the TRIAL expires every 60 days, just get a FREE license from VMware..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

                @johnpoz:

                500mbps ?? You mean 500MBps ??  500mb would be like watching paint dry on a 10Gb connection if you asked me.. I see high 800 to low 900's mbps on my cheap gig equipment, etc..  I pull 100MBps from my VM, etc..  b is bits, B is Bytes ;)

                500 (megabytes / second) = 4000 Mbps, not really sure what you didn't understand?

                -Jamie M.

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  XenServer.  Free with all the goodies - iSCSI, Motion, HA.  (All these VMs are on a FreeNAS iSCSI instance.)

                  ![Screen Shot 2014-10-31 at 6.27.38 PM.png](/public/imported_attachments/1/Screen Shot 2014-10-31 at 6.27.38 PM.png)
                  ![Screen Shot 2014-10-31 at 6.27.38 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2014-10-31 at 6.27.38 PM.png_thumb)

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    "500 (megabytes / second) = 4000 Mbps, not really sure what you didn't understand?"

                    There you say bytes – b is bites not Bytes, is what was confusing to me..  if you say "500mb/sec " pretty much everyone on the planet would read that is bits not Bytes ;)

                    And sure Xenserver is another type 1 option..  Much better than virtual box for something that is going to be a perm VM setup.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

                      @johnpoz:

                      "500 (megabytes / second) = 4000 Mbps, not really sure what you didn't understand?"

                      There you say bytes – b is bites not Bytes, is what was confusing to me..  if you say "500mb/sec " pretty much everyone on the planet would read that is bits not Bytes ;)

                      And sure Xenserver is another type 1 option..  Much better than virtual box for something that is going to be a perm VM setup.

                      Ahhhhh, lol. I figured if someone said mb/sec instead of mbps then you'd take it as mB, at least that's how I always do :)

                      -Jamie M.

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        No B is Bytes, b is bits - that is how it is everywhere!!

                        http://en.wikipedia.org/wiki/Bit

                        the lower-case letter b is widely used as well and was recommended by the IEEE 1541 Standard (2002). In contrast, the upper case letter B is the standard and customary symbol for byte.

                        doing /sec vs ps is 2 different ways to say the exact same thing per sec.

                        So your doing it wrong ;)  And I can not believe you have ran into confusing before ;)

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

                          @johnpoz:

                          No B is Bytes, b is bits - that is how it is everywhere!!

                          http://en.wikipedia.org/wiki/Bit

                          the lower-case letter b is widely used as well and was recommended by the IEEE 1541 Standard (2002). In contrast, the upper case letter B is the standard and customary symbol for byte.

                          doing /sec vs ps is 2 different ways to say the exact same thing per sec.

                          So your doing it wrong ;)  And I can not believe you have ran into confusing before ;)

                          My bad. I'll be more clear in the future :D

                          -Jamie M.

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