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

OPT1 (second WAN) won't work

Scheduled Pinned Locked Moved Routing and Multi WAN
7 Posts 4 Posters 2.9k 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.
  • S Offline
    stevemac76
    last edited by Jul 21, 2009, 9:58 PM

    I have setup pfsense with one WAN and it works.  When I add a second WAN interface (static IP address with proper subnet and gateway), and pull the plug on the first WAN, there is no internet connectivity.  I can ping all the way to the second WAN's gateway without issue, but past that it returns "Destination host unreachable."

    I am new to *nix and BSD variants so I probably need baby steps when it comes to related topics.

    1 Reply Last reply Reply Quote 0
    • K Offline
      ktims
      last edited by Jul 21, 2009, 10:01 PM

      You need to set up a load balanced or failover gateway specifically. Just configuring the OPT1 interface isn't enough.

      See the MultiWAN HOWTO: http://doc.pfsense.org/index.php/MultiWanVersion1.2

      1 Reply Last reply Reply Quote 0
      • T Offline
        thenewguy1979
        last edited by Jul 22, 2009, 4:04 AM

        Yep, that's correct. You need to goto Load Balancer and setup WAN1 and OPT1 for failover or Load balancing as per above guide. Then as important you'll need to setup firewall rule to pass data on LAN. Else nothing will be pass to your WAN2.

        1 Reply Last reply Reply Quote 0
        • S Offline
          stevemac76
          last edited by Jul 22, 2009, 4:02 PM

          Thanks for the quick responses.  I have attempted to follow the setup for multiple WANs with loadbalancing/failover, but they do not seem to work.  If I understand the Diagnostics>Ping screen of the pfsense web interface, I should be able to specify a NIC and ping a host directly from that interface to test connectivity.  I assume that this should work independently of loadbalancing/failover setup.  When I do attempt to ping a host anywhere past the second WANs gateway, it does not get to the destination.  I have setup other routers with the same settings to test that the ISP has their routing set correctly and everything works fine (pinging internet hosts via IP and hostnames).

          1 Reply Last reply Reply Quote 0
          • G Offline
            GruensFroeschli
            last edited by Jul 22, 2009, 4:40 PM

            Did you read the note at the bottom of the page saying that the ping utility doesnt work with multiWAN?

            Your assumption that you can specify an interface and a ping will go down the road regardless of the loadbalancer is wrong.

            The loadbalancer can only be applied to traffic comming in on an interface.
            NOT to traffic originating on the pfSense itself.
            The pfSense can only route according to it's routing table.
            Since a ping originates on the pfSense you can only ping stuff directly reachable (like the gateway of your WAN2), or via its primary WAN (default gateway).

            If you want to change this behaviour you have to create a static route for a specific IP pointing to the WAN2 gateway.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • S Offline
              stevemac76
              last edited by Jul 22, 2009, 7:03 PM

              OK.  So now my question still stands from before.  I have 2 WANs set per the instructions in the aforementioned tutorial.  Albeit with different settings since my WAN IPs are all external IPs and directly connected to the internet unlike the private subnets the tutorial calls for.  I have configured a Hotbrick router that supposedly loadbalances with the same WAN IPs I am configuring the pfsense router with and they work fine (at least the internet connectivity part, the Hotbrick loadbalancing doesn't seem to work well for any length of time without locking the router up).  I configure the pfsense to loadbalance according to the tutorial, but still no loadbalancing when WAN1 is disconnected.

              1 Reply Last reply Reply Quote 0
              • K Offline
                ktims
                last edited by Jul 22, 2009, 9:30 PM

                Well, how would you get load balancing when you've got one of the WANs disconnected? I don't understand what you mean…

                Can you please post screenshots of your load balancer configuration, LAN firewall rules and outgoing NAT rules along with a description of exactly what isn't working?

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received