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

    Multiple LAN with 1 WAN (in virtual environment)

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    2 Posts 2 Posters 425 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.
    • N
      nornagest
      last edited by

      Hello to everyone

      I have an esxi host with only one physical NIC. I have installed and configured pfsense to protect my vm's.
      So actually I have 1 WAN and 1 LAN. How do I create a new LAN?

      Here is my situation:

      01.png

      currently all VMs are on the same LAN (the LAN created by default with 192.168.1.1 as the default gateway).
      I need to separate VMs in different networks, for example using a network with 192.168.10.1 as the default gateway, as you can see below:

      02.png

      I have followed many guides but did not get the desired result 🤷

      I did the following:

      I've create a new vlan

      03.png

      with the following settings

      03a.png

      So I can see in "Interface -> Assignement"

      04.png

      I've set the following settings, with desidered IP address (192.168.10.1)

      04a.png

      I even set the DHCP (although I will use the VM I am with static IP)

      05.png

      So I've setted up the firewall rules as you can see below:

      06.png

      but when I enter this manual configuration in the VM (Windows 10)

      IP 192.168.10.10
      Subnet: 255.255.255.0
      Default gateway: 192.168.10.1

      it doesn't work, and I can't access the internet.

      Any help?

      Thank you in advance!

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

        @nornagest I would have just added another vSwitch for each new LAN. vSwitches don't need to be mapped to a physical NIC. From there, you add more NICs to your pfSense vm and map them to the new vSwitches.

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