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

    Alternate Gateway in same LAN

    Routing and Multi WAN
    3
    4
    2.8k
    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.
    • D
      dpcma
      last edited by

      Hi,

      I´ve got a LAN (192.168.54.0/24) in which the default gateway is pfSense fw (192.168.54.20 vip). The traffic should go across the WAN interface to reach internet, but if the WAN is failing, the traffic should reach internet by a router in the same LAN (192.168.54.12).

      Is that possible without change the gateway manually in the PCs? Can Pfsense reroute to another gateway (router in this case) located in the LAN that is directly conected.

      I´ve googling for ICMP redirect, Static Routes, or any other solution, but can make it work at pfSense.

      Thank a lot
      Regards

      1 Reply Last reply Reply Quote 0
      • B
        blak111
        last edited by

        The LAN interface doesn't allow for a gateway configuration. However, if you use an OPT interface for your clients, this will be possible.
        The gateway on the OPT interface will be that alternate gateway and you can setup a failover pool that uses the WAN and that other gateway.

        1 Reply Last reply Reply Quote 0
        • D
          dpcma
          last edited by

          Thank a lot. Very usefull  ;)

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

            This will be doable with a single interface on pfSense 2.0, you can have multiple gateways on the same interface, iirc.

            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.