NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

McDoes's avatar
McDoes
Aspirant
Jun 21, 2021

Setting two default gateways towards 2 different ISPs

Hi

 

You can only configure the Internet connection with 1 default gateway. I have created a network in front of the Netgear router connecting to Internet across this segment. In the segment I putting to seperate ISP providers (one cable and one 4G as backup). So there are 3 routers in this subnet (x.x.x.1 Cable Router, x.x.x.2 4G router and x.x.x.3 Nighthawk). For this to work I need to be able to set two different default routes with different metrics (4G higher so the preferred path uses Cable but in case of a failure on the cable nnetwork that it seamlessly uses 4G).

 

There is an option to set static routes but I need to be sure on the metric setting which I cannot see on the set default for the cable router.

 

And yes you need to use DNS providers which will work on both ;-)

 

Thanks,

Maarten

3 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    You posted this in the readynas forum, not the nighthawk forum.  You could repost it, or wait and see if a mod moves it.

     

    Per your question:  Although it's not something I've tried to do, I don't believe you will be able to make the transition seamless.  I think you'll either need to find a router that supports dual-wan or manually reconfigure the WAN interface on the R8000 when the cable connection drops.

     

    Static routes are (as the name implies) static.  If you have two physical interfaces and both are up, then the router will use the interface that has the best route metric.  If the best interface is disconnected, then the IP stack would fail over to the interface that is up.  One of many examples here is a PC with both wifi and ethernet.

     

    But in this case you have a single interface, and it is always up.  So I don't think the router will ever fail over to the alternative route path.  Even if you do have a dual-WAN router in the topological arrangement as the R8000, you'd have two ethernet connections that are always up (assuming the cable modem and LTE gateways are turned on).  So even in that case I think you will have trouble getting the inner router to behave the way you want.

     

    You seem to be assuming that a connection failure upstream of the R8000 would be detected, that the R8000 would then transparently re-transmit the packets on the alternative route.  But AFAIK that isn't what happens.

    • McDoes's avatar
      McDoes
      Aspirant

      Strange it got mis-posted; selected the right product and model... Hope indeed they can move it.

       

      Static routes are indeed static this is where you reply on RIP or OSPF to understand which route is available or not. This also requires cost-based routing which you basically guide with the metric value in the route assuring that the routing proticol preferes one over the other but still has en existing route in the case one fails.

       

      This is by the way not that dissimilar to a laptop begin connected by wire and WiFi to the same subnet; you'll see multiple routes to the same network but with a different metric because most operating systems prefer wired over wireless.

       

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        McDoes wrote:

         

        This is by the way not that dissimilar to a laptop begin connected by wire and WiFi to the same subnet; you'll see multiple routes to the same network but with a different metric because most operating systems prefer wired over wireless.

         


        As I tried to explain above, one difference is that the laptop is using two different physical interfaces, and knows when one of them is disconnected.

         

        I don't believe you have control over the route metrics in the R8000 anyway, and if I'm right on that this is likely all academic anyway. 

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More