Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    WAN / Hardware Failover without CARP but Routing Groups an Virtual IP

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 1.3k 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
      Rossi
      last edited by

      Following setting:

      Goal: WAN and Hardware Failover using Routing Groups and Virtual IP

      Setup:

      PFSENSE1:

      • 1 x WAN
      • 1 x LAN - IP: 192.168.1.1 / 24
      • 1 x DIRECT - IP: 192.168.2.1 / 24
      • 1 x VIRTUAL IP: 192.168.1.254

      PFSENSE2:

      • 1 x WAN
      • 1 x LAN - IP: 192.168.1.2 / 24
      • 1 x DIRECT - IP: 192.168.2.2 / 24
      • 1 x VIRTUAL IP: 192.168.1.254

      Network Clients use the 192.168.1.254 as default gateway.

      I have setup a routing group at each pfsense with 2 gateways. Gateway1 is WAN1 / WAN2 and gateway2 is the DIRECT IP of the other pfsense.

      The clients have two LAN connections using LAGG connected to both switches.

      I have already done some testing and the only "problem" I could see was the loss of some pakets when I connect / disconnect any of the WAN or LAN interfaces. 

      Is this a setting I can use for a reliable failover?

      A possible modification I see is not to use a direct connection between both pfsenses but a 2 line LAGG connection of each pfsense to both switches.

      EDIT: OK, I found one problem. If one of the routers loses WAN and DIRECT at the same time and the LAN still accepts pakets it will fail. Solution: Adding a third gateway to the gateway group using the LAN IP of the other pfsense.

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy