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

    How to configure pfSense to act as a simple router with dual WAN and static routing

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 662 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.
    • M
      mauro.tridici
      last edited by

      Dear Users,

      some weeks ago, I configured a test pfSense instance to act as a simple router to manage a dual WAN scenario with BGP protocol.
      It was working, but, surprise, my boss asked me to change from dynamic routing to static routing.

      Could you please help me to configure pfSense with two WAN interfaces and static routing? ISP told us that, using static routing, we can set primary/secondary linkl priority using "some metrics". From the pfSense perspective, what the ISP is talking about?

      Thank you in advance,
      Mauro

      Dobby_D 1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Mmm, you should use dynamic routing unless there's some really good reason not to.

        pfSense does not directly support route metrics like that. It can support policy routing with failover gateways. That can work as long as the other end replies back via the same route. Which it may not.

        M 1 Reply Last reply Reply Quote 1
        • Dobby_D
          Dobby_ @mauro.tridici
          last edited by

          @mauro-tridici said in How to configure pfSense to act as a simple router with dual WAN and static routing:

          Could you please help me to configure pfSense with two WAN interfaces and static routing?

          Maybe you will find some interesting informations about
          the infos from your ISP, your boss said and the abilities
          pfSense is offering you, that you will be getting it to work.
          BGP vs static routing

          #~. @Dobby

          Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
          PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
          PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

          M 1 Reply Last reply Reply Quote 1
          • M
            mauro.tridici @stephenw10
            last edited by

            @stephenw10 many thanks for your reply and suggestions.

            1 Reply Last reply Reply Quote 0
            • M
              mauro.tridici @Dobby_
              last edited by

              @dobby_ thank you, I really appreciated the content of the link you provided. I'm a newbie and this kind of documentation is really important for me.

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