Solved

How to set an alternate Default Gateway

Posted on 2012-03-12
11
1,415 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
  • 4
  • 4
  • 2
  • +1
11 Comments
 
LVL 14

Accepted Solution

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

Assisted Solution

by:warddhooghe
warddhooghe earned 100 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
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 200 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

730 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