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

Dual WAN Failover with 1 WAN port, is it possible?

Scheduled Pinned Locked Moved Routing and Multi WAN
10 Posts 2 Posters 999 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
    pfrickroll
    last edited by Mar 19, 2019, 5:50 PM

    So, I have netgate box with 1 WAN and 1 LAN port.
    I have 1 static IP from Comcast and dynamic from T-Mobile hotspot.
    And i also have small 8 port TP-Link smart switch.
    Is it possible?

    1 Reply Last reply Reply Quote 0
    • D
      dotdash
      last edited by Mar 19, 2019, 5:53 PM

      It's possible. You could use the switch and create a vlan for the hotspot, then add a vlan interface for the second WAN.

      1 Reply Last reply Reply Quote 0
      • P
        pfrickroll
        last edited by pfrickroll Mar 19, 2019, 6:44 PM Mar 19, 2019, 6:41 PM

        @dotdash said in Dual WAN Failover with 1 WAN port, is it possible?:

        It's possible. You could use the switch and create a vlan for the hotspot, then add a vlan interface for the second WAN.

        So, i understand half of the work but other I don't.
        Here is the potential set up of a switch:
        Port 1 - comcast
        Port 2 - hot spot
        Port 3 - into pfSense WAN
        Port 4 - into pfSense LAN

        Port 1 - default VLAN1
        Port 2 - VLAN2 Untagged
        Port 3 - default VLAN1 & VLAN2 Tagged
        Port 4 - default VLAN1

        How do i set up WAN on pfsense, what paremeters do i put there since are 1 static and 1 dynamic there?

        D 1 Reply Last reply Mar 19, 2019, 7:01 PM Reply Quote 0
        • D
          dotdash @pfrickroll
          last edited by Mar 19, 2019, 7:01 PM

          @pfrickroll said in Dual WAN Failover with 1 WAN port, is it possible?:

          @dotdash said in Dual WAN Failover with 1 WAN port, is it possible?:

          It's possible. You could use the switch and create a vlan for the hotspot, then add a vlan interface for the second WAN.

          So, i understand half of the work but other I don't.
          Here is the potential set up of a switch:
          Port 1 - comcast
          Port 2 - hot spot
          Port 3 - into pfSense WAN
          Port 4 - into pfSense LAN

          Port 1 - default VLAN1
          Port 2 - VLAN2 Untagged
          Port 3 - default VLAN1 & VLAN2 Tagged
          Port 4 - default VLAN1

          How do i set up WAN on pfsense, what paremeters do i put there since are 1 static and 1 dynamic there?

          You can't use the default vlan for your LAN and WAN. I'd try something along these lines-
          N.B. You really shouldn't use vlan 1, but I'm trying to make this as simple as possible.
          switch- create vlan 10 for hotspot set port one untagged 10. Set port two for tagged 10.
          Plug hotspot into port 1
          pfsense- plug WAN into comcast modem, plug LAN into switch port 2.
          interface, assign, vlans, create vlan 10 on lan hardware interface. Go back to interface assignment and add the vlan interface as OPT1. Configure OPT1 as DHCP. Make sure your OPT1 gets an IP from the hotspot and configure a failover group.
          Plug your lan computers into the rest of the switch ports.

          P 1 Reply Last reply Mar 20, 2019, 3:33 PM Reply Quote 0
          • P
            pfrickroll @dotdash
            last edited by Mar 20, 2019, 3:33 PM

            @dotdash

            You can't use the default vlan for your LAN and WAN. I'd try something along these lines-
            N.B. You really shouldn't use vlan 1, but I'm trying to make this as simple as possible.
            switch- create vlan 10 for hotspot set port one untagged 10. Set port two for tagged 10.
            Plug hotspot into port 1
            pfsense- plug WAN into comcast modem, plug LAN into switch port 2.
            interface, assign, vlans, create vlan 10 on lan hardware interface. Go back to interface assignment and add the vlan interface as OPT1. Configure OPT1 as DHCP. Make sure your OPT1 gets an IP from the hotspot and configure a failover group.
            Plug your lan computers into the rest of the switch ports.

            Ah that's right about default vlan. So, i configured everything but I don't get an IP from hotspot. I even tried plugging it in in WAN port on pfsense with and turn on DHCP but nothing says "unknown". When i connect laptop into LAN port on hotspot everything works fine. The model is Teltonika RUT950 with T-mobile sim inside.

            D 1 Reply Last reply Mar 20, 2019, 7:57 PM Reply Quote 0
            • D
              dotdash
              last edited by Mar 20, 2019, 5:01 PM

              Did you try going to status, interfaces and clicking on release and renew?

              P 1 Reply Last reply Mar 20, 2019, 7:40 PM Reply Quote 0
              • P
                pfrickroll @dotdash
                last edited by Mar 20, 2019, 7:40 PM

                @dotdash said in Dual WAN Failover with 1 WAN port, is it possible?:

                Did you try going to status, interfaces and clicking on release and renew?

                Yes, nothing. May be some firewall rule has to be made OPT1<>LAN, OPT1<>WAN?

                1 Reply Last reply Reply Quote 0
                • P
                  pfrickroll
                  last edited by Mar 20, 2019, 7:43 PM

                  Capture.PNG

                  1 Reply Last reply Reply Quote 0
                  • D
                    dotdash @pfrickroll
                    last edited by Mar 20, 2019, 7:57 PM

                    @pfrickroll said in Dual WAN Failover with 1 WAN port, is it possible?:

                    I even tried plugging it in in WAN port on pfsense with and turn on DHCP but nothing says "unknown". When i connect laptop into LAN port on hotspot everything works fine.

                    If it doesn't work on the physical WAN port then there's something wrong besides the vlan configuration. Not sure why it would work on a laptop but not on the firewall. Maybe try setting wan to dhcp, connecting wan to the hotspot, and rebooting pfsense. If you can get that to work, then try it on the vlan'd switch port.

                    P 1 Reply Last reply Mar 21, 2019, 6:53 PM Reply Quote 0
                    • P
                      pfrickroll @dotdash
                      last edited by pfrickroll Mar 21, 2019, 7:54 PM Mar 21, 2019, 6:53 PM

                      @dotdash said in Dual WAN Failover with 1 WAN port, is it possible?:

                      @pfrickroll said in Dual WAN Failover with 1 WAN port, is it possible?:

                      I even tried plugging it in in WAN port on pfsense with and turn on DHCP but nothing says "unknown". When i connect laptop into LAN port on hotspot everything works fine.

                      If it doesn't work on the physical WAN port then there's something wrong besides the vlan configuration. Not sure why it would work on a laptop but not on the firewall. Maybe try setting wan to dhcp, connecting wan to the hotspot, and rebooting pfsense. If you can get that to work, then try it on the vlan'd switch port.

                      The router just died today. Power LED keeps blinking and all LAN ports don't respond. I didn't even use it yet, going to return it.

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