Wired Intelligent Edge

last person joined: yesterday 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

Multiple internet gateways switchover

This thread has been viewed 1 times
  • 1.  Multiple internet gateways switchover

    Posted Sep 25, 2017 09:15 PM

    Hi Support, 

    I have 2 gateways router as below

    1st router = 192.168.100.1

    2nd router = 192.168.0.1

    can i know how to configure if 1st router internet failed, it will switch over to 2nd router? im using aruba 2920 switch



  • 2.  RE: Multiple internet gateways switchover

    MVP EXPERT
    Posted Sep 26, 2017 04:00 AM

    Hey, you can probably do this by adding a metric/administrative distance to the route. The route with the lowest Admin/metric distance will be used until the next-hop is not available. The route with the lowest administrative distance/metric will be preferred route when both of the next-hop is available.

     

    #ip route <net-addr/prefix length><next hop ip-addr> metric [value] [distance value]


  • 3.  RE: Multiple internet gateways switchover

    Posted Sep 29, 2017 01:19 AM

    ip route 0.0.0.0 0.0.0.0 192.168.100.1 1

    ip route 0.0.0.0 0.0.0.0 192.168.0.1 100

     

    so, 192.168.100.1 will be primary line for the internet, am i corrent? and is the command correct?



  • 4.  RE: Multiple internet gateways switchover

    MVP EXPERT
    Posted Sep 29, 2017 04:35 AM

    Hi, that looks correct to me, just to clarify further.

     

    Administrative Distance - Routing devices uses administrative distances to distinguish between the same routes learned in different ways such as through different routing protocols.

     

    Metric - Routing devices uses metric to distinguish between the same routes learned in the same way such as statically assigned.



  • 5.  RE: Multiple internet gateways switchover

    Posted Sep 29, 2017 05:12 AM

    thank you