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

    How To Get Other VM's Using pfSense LAN

    Scheduled Pinned Locked Moved Virtualization
    12 Posts 3 Posters 2.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.
    • KOMK
      KOM
      last edited by

      You typically have 2 vSwitches, one tied to your Internet connection and the other to act as the LAN, and 2 vNICs for your pfSense VM, one for WAN and one for LAN.  If you only have one NIC then you can use VLANs to segment I believe.  When you create VMs, you would put their NIC on the LAN vSwitch.

      vmware.png
      vmware.png_thumb

      1 Reply Last reply Reply Quote 0
      • SoarinS
        Soarin
        last edited by

        Hi KOM!

        Thanks for the response, I have my network setup relatively the same (although no failovers like you have and private network), I have my WAN from my modem and then my LAN vswitch goes into a physical switch for my computer and AP, and I have machines on my LAN vswitch like you do, but they receive the same IP as my modem computers do.

        It's as if my VM's are getting internet from the WAN port even though I have the LAN selected. I can post any pics that are needed!

        I hardly understand pfSense but it was love at first sight.

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          Are you sure you don't have your interfaces assigned backwards?

          they receive the same IP as my modem computers do.

          Modem computers??  Perhaps a simple diagram of your network might help.

          It's as if my VM's are getting internet from the WAN port even though I have the LAN selected.

          Did you configure pfSense's DHCP server during installation or afterwards?

          1 Reply Last reply Reply Quote 0
          • SoarinS
            Soarin
            last edited by

            Modem computers??  Perhaps a simple diagram of your network might help.

            I was half asleep when I wrote that, sorry lol. By modem I mean my MoCA, my MoCA hands out 192.168.1.x IP's

            Are you sure you don't have your interfaces assigned backwards?

            I may have done that, I was a little confused (first time ever seeing esxi). I'll swap them and get back to you.

            I'll try to make a diagram if we can't get this working soon, I know it'd probably be sloppy since I have no idea what I'm doing. I'd have to bring out Microsoft Paint. Thanks for the response, I'll try swapping the interfaces.

            I hardly understand pfSense but it was love at first sight.

            1 Reply Last reply Reply Quote 0
            • SoarinS
              Soarin
              last edited by

              My interface isn't backwards, is this normal? I don't know how having it hooked up to a MoCA effects it.

              I hardly understand pfSense but it was love at first sight.

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                OK, in your first diagram you're showing one single physical NIC in your computer and your pfSense VM with only one connection showing even though the console view shows two.  Do you have any other NICs in your computer?  Did you create a second vSwitch to act as the LAN?

                1 Reply Last reply Reply Quote 0
                • SoarinS
                  Soarin
                  last edited by

                  Yes, I have 2 dual port NIC's on my server machine. Here's all the networking pics if this helps, I wish I could be more descriptive but I'm pretty ignorant to this myself.


                  I hardly understand pfSense but it was love at first sight.

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

                    On Ubuntu what is the output of

                    ifconfig
                    sudo dhclient -d -nw eth0

                    replace eth0 with the interface that is shown in ifconfig command

                    1 Reply Last reply Reply Quote 0
                    • KOMK
                      KOM
                      last edited by

                      Are you sure you have DHCP server turned off on your AP?  Is pfSense even running a DHCP server?  Look under Services.  If it's enabled & running, is it serving the correct IP address range?

                      1 Reply Last reply Reply Quote 0
                      • SoarinS
                        Soarin
                        last edited by

                        Thanks for the help everyone! I found out I had my vswitches setup wrong & my pfSense was also corrupt (I got a bad iso I suppose). It works flawlessly now

                        I hardly understand pfSense but it was love at first sight.

                        1 Reply Last reply Reply Quote 0
                        • KOMK
                          KOM
                          last edited by

                          Thanks for coming back and letting everyone know what happened.

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