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

    Multiple Gateway IP for LAN

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    2 Posts 2 Posters 4.2k 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.
    • P
      puredistortion
      last edited by

      Hi,

      In our Datacenter we have mutiple subnets that are routed to our rack via the ISP.

      We are in the process of upgrading the Gateway infrastructure from a single host to a redundant setup and I am looking at using pfsense to achieve this.

      The servers we have have 4 NICS (1 for WAN, 1 for SYNC, 1 for a client network which is a single subnet and 1 for the "LAN") on the "LAN" interface I have to be able to show 5 different gateway IP's (ie one for each subnet), this was done using alias/subinterfaces in the old gateway, how am I able to do this with a master slave type failover using pfsense? If it is even possible.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        If there are really other gateways for each of these other subnets, you can add them in as static routes.

        however, if pfSense needs to talk directly to each of these subnets and be their gateway, that is not possible to do with failover in 1.2.3. In 2.0 you can add IP Alias VIPs, and then add CARP VIPs in the same subnet, so it's possible, but ugly.

        If you have good switches, consider separating each subnet into its own VLAN, make the pfSense LAN port a trunk port on the switch, and setup a VLAN tagged interface for each subnet's VLAN.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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