Solved

How to set an alternate Default Gateway

Posted on 2012-03-12
11
1,332 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to disable SSL Cipher 7 65
Driver Error when Starting Win 7 Setup 28 51
Locating a GPO setting 3 29
Windows 7 and Windows 10 offline sync 3 18
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

772 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