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

    One WAN (gateway) connection, multiple IPs, and two pfSense routers

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 348 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.
    • F
      floridait
      last edited by

      I have been search the forum and google for help on this setup, but I cannot find an answer anywhere.  My goal is to have two completely separate pfSenese routers on same the WAN.  I am not trying to do HA.  Here is an example of my current setup:

      pfSense 1
      WAN: 12.12.12.2
      GW: 12.12.12.1
      virtual IPs: 12.12.12.3, 12.12.12.4, 12.12.12.5, 12.12.12.6
      NAT setup for two internal networks:
      192.168.1.x and 192.168.2.x

      What I am trying to have is the following:

      pfSense 1
      WAN: 12.12.12.2
      GW: 12.12.12.1
      virtual IPs: 12.12.12.3, 12.12.12.4, 12.12.12.5
      NAT setup for internal networks:
      192.168.1.x

      AND

      pfSense 2
      WAN: 12.12.12.6
      GW: 12.12.12.1
      virtual IPs: none
      NAT setup for internal networks:
      192.168.2.x

      I have setup this configuration, but when i power on the pfSense 2, i run in to connection issues with pfSense 1.  Are they not able to share the same GW ?

      Any advice on this is greatly appreciated.

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

        Not sure what your doing but you could have as many pfsense as you wanted on the same "wan" network.  As long as they were not using the same IP be it native or a vip on their interfaces connected to this wan network.

        What exactly is this wan network?  What are these pfsenses connected too?  And how?  Do you have a switch connected to a cable modem or something and your ISP has given you say a /29

        Your not trying to clone mac address on these pfsense are you - so that their wan interfaces would be using the same mac?  That would be a problem!

        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.8, 24.11

        1 Reply Last reply Reply Quote 0
        • F
          floridait
          last edited by

          Thank you for your reply, I appreciate it a lot.
          To start, i was able to get it to work.
          I knew that you could have multiple routers on the same WAN network. thanks for confirming that.
          My network connection is in the datacenter. we connect directly to the switch with a subnet mask of /28. 
          Both routers had the correct ip addressing and were in the same subnet. 
          Both have unique Mac addresses.
          The only conflict i came across was they had the same hostname.
          But i only discover that after resetting the new router to the factory defaults and going through the configuration wizard.
          thank you again.

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