Campus Switching and Routing

Reply
Occasional Contributor I

Multiple internet gateways switchover

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

Re: Multiple internet gateways switchover

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]

ACMA, ACMP, ACSA
If my post addresses your query, give kudos:)
Occasional Contributor I

Re: Multiple internet gateways switchover

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?

Re: Multiple internet gateways switchover

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.


ACMA, ACMP, ACSA
If my post addresses your query, give kudos:)
Occasional Contributor I

Re: Multiple internet gateways switchover

thank you

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: