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

    2 Pfsense VMs with different subnet

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 3 Posters 860 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.
    • R Offline
      rafael.seeck
      last edited by

      Hi,

      i have 2 pfsense VMs with 2 standalone WAN (In the same Subnet) in a VM Switch (VMswitch0) and 2 Lan Interfaces with:

      PFsense 1:
      (VM Switch0)
      WAN: 10.0.0.2/28

      (VM Switch1)
      LAN: 192.168.10.0/26
      WLAN VLAN ID 3: 192.168.10.64/26

      PFsense 2:
      (VM Switch0)
      WAN: 10.0.0.3/28

      (VM Switch1)
      LAN: 192.168.12.0/26
      WLAN Mobile Phone: 192.168.13.0/26
      Guest Network: 172.10.10.0/28

      I can´t Ping from PFSense 1 LAN to PFsense 2 LAN! An Static route set is not possible because subnet is different to LAN.

      I think it must be possible because LAN is in a same switch.

      Where is my mistake  :-\

      Please help!

      thx

      Rafael

      1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann
        last edited by

        Add the respectively other LAN subnet to the pfSense LAN as virtual IP and you will be able to access it.
        Otherwise the subnet will be unknown in its environment and pfSense will send the packets to its default upstream gateway.

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

          how are you running vlans on your vswitch, did you create a port group.

          (VM Switch1)
          LAN: 192.168.12.0/26
          WLAN Mobile Phone: 192.168.13.0/26
          Guest Network: 172.10.10.0/28

          Are you trying to run multiple layer 3 networks on the same layer 2?  that is BORKED!!!

          What exactly are you wanting to accomplish here?

          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 25.07 | Lab VMs 2.8, 25.07

          1 Reply Last reply Reply Quote 0
          • R Offline
            rafael.seeck
            last edited by

            The reason for 2 Pfsense VMs is only a separating of proxy services and redundancy:

            On the First PFsense  i will activate https / http proxy for PCs and other devices can work with https proxy!
            On the second Pfsense i will activate only http proxy for Smartphones and other devices that make problems with https proxy (Facebook App on Android)

            And the other intention is i will testing and learning by doing!

            And a little bit of more redundance is very fine (Can Stop and reinstall PFsense 1 and Smartphone or other devices that connected to pfsense 2 still works)

            This is my Plan and i separate everthing strict with vlans and Vswitches.

            What is the best way to reach my intentions.

            thx for Help

            Rafael

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

              Huh?  If you want redundancy then you would setup a carp..  Which is kind of pointless on the same vm host.

              You don't need 2 pfsense to have different devices use a proxy or not use a proxy be it http or https..

              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 25.07 | Lab VMs 2.8, 25.07

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