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

    Extending LAN Subnet Between Datacenters?

    General pfSense Questions
    3
    3
    875
    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.
    • M
      mevans336
      last edited by

      Hello Folks,

      I'd like to extend our LAN subnet (192.168.1.x) between two datacenters. Both have a pfSense firewall and a public IP range on the WAN. Can someone point me to the best way to accomplish this?

      We have a Hyper-V environment that replicates to another datacenter. I'd like to be able to fail over a VM and when powering on the VM in the second datacenter, have it come up and not have to change its LAN IP.

      1 Reply Last reply Reply Quote 0
      • M
        MindfulCoyote
        last edited by

        The options that come to mind are site to site VPN (encrypted), https://doc.pfsense.org/index.php/OpenVPN_Site_To_Site and GRE (unencrypted), https://doc.pfsense.org/index.php/GRE_Interfaces .

        Err

        –
        Erreu Gedmon

        Firewalls are hard...
        but the book makes it easier: https://portal.pfsense.org/book/

        1 Reply Last reply Reply Quote 0
        • H
          Harvy66
          last edited by

          Just be careful when you "extend" your subnet. If you forward broadcasts across the, then devices from one datacenter may pick-up an IP and use the gateway from the other datacenter.

          You'll probably not want to allow broadcasts, which can cause issues with some services, or limit each datacenter on which devices get an IP address from the relative local DHCP.

          I do not have experience in this area, so maybe someone else could add more to this, but I know this could be a real issue.

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