2 Pfsense VMs with different subnet



  • 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



  • 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.


  • Rebel Alliance Global Moderator

    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?



  • 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


  • Rebel Alliance Global Moderator

    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..