Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to set an alternate Default Gateway

Posted on 2012-03-12
11
Medium Priority
?
1,649 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
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

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
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.

596 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