?
Solved

How to set an alternate Default Gateway

Posted on 2012-03-12
11
Medium Priority
?
1,556 Views
Last Modified: 2012-03-12
One of our clients has 2 sites linked via leased line. Each site also has a router and gateway.

How can i set it so that if one gateway fails to try the other?

both gateways are on the same IP range.

eg.
site 1 router 192.168.60.5
site 2 router 192.168.60.6
0
Comment
Question by:Neal58
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
  • +1
11 Comments
 
LVL 14

Accepted Solution

by:
Dhiraj Mutha earned 800 total points
ID: 37709314
Hope the attached screenshot helps.
Gateways.png
0
 
LVL 5

Assisted Solution

by:warddhooghe
warddhooghe earned 400 total points
ID: 37709330
lowest metric will be used first, dont use the same for both
0
 
LVL 4

Author Comment

by:Neal58
ID: 37709344
can i set any amount as the metric? so set site 1 as metric of 1, and site 2 as metric of 2 to have preferred site 1?

if this is the case then will probably do it in multiples of 10 or 100.
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 14

Expert Comment

by:Dhiraj Mutha
ID: 37709348
No, metric is used to define which gateway will have priority.
0
 
LVL 4

Author Comment

by:Neal58
ID: 37709352
so the lower the metric the higher the priority? or are there defined amounts to use?
0
 
LVL 35

Assisted Solution

by:Ernie Beek
Ernie Beek earned 800 total points
ID: 37709371
Make sure that the secondary DG has a higher metric than the primary DG (for example, primary=1 and secondary =2).
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 37709380
Hm, should have refreshed the page before commenting........

But indeed, the lower the metric the higher the priority. You can see the metric as an administrative distance.
0
 
LVL 4

Author Comment

by:Neal58
ID: 37709945
one last check, this will over-ride any setting set on the previous IP settings page? so for example .5 is set as the static default gateway, but this will be over-ridden by the higher cost option if it needs to be?

also would the router need to be physically disconnected for the higher cost gateway to take effect?
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 37709983
It shouldn't over ride/write it, just add. If I remember correct, the address must be unreachable. So if the internet connection is gone but the router (and the internal ip) is still up you must disconnect it or shutdown the interface.
0
 
LVL 4

Author Comment

by:Neal58
ID: 37709990
OK, I had assumed as much. I guess it's too much to ask that there is a way for it to check that the gateway connection is active!
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 37710008
You might want to look at a hardware solution otherwise, like: http://www.cisco.com/en/US/products/ps9925/index.html
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question