Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 501
  • Last Modified:

Default Gateway - more than one?

HI,

Can you have multiple default gateways and if so, can you run multiple default gateways at the same time?

Thanks
0
fredostare
Asked:
fredostare
  • 2
  • 2
  • 2
  • +1
1 Solution
 
IntegrityOfficeCommented:
Go to the advanced tab on your TCP/IP4 ( I am assuming Windows here ) and add separate default gateways, you need to weight them (add metric ) for the priority
0
 
fredostareAuthor Commented:
Thanks! Would you use more than one default gateway for redundency? And is it actually advisable? I've heard it shouldn't be done, and others say it's fine...
0
 
IntegrityOfficeCommented:
I often have a piece of hardware ( such as a watchguard firewall ) and I let that do the load balancing across the two broadbands. I can then use it to do "policy based routing"

Eg

Fast broadband Internet, VPN connectios
Slow one mail and maybe webmailHTTPs access, DNS

The advantage here is that I setup the lines to use the above protocols but there is also a what happens if BB1 fails it all flicks to BB2 in less than 45 seconds. ( that is configurable )

If you are really worried about a hardware failure you can HA ( high availability ) link two filrewalls together so you do not need to worry about a single point of failure.

Also if you are using something like a Watchguard you can use all the wonderful features of UTM. There are many firweall operators that do this but I have been using it on sites with WG for several years now.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Don JohnstonInstructorCommented:
Can you have multiple default gateways and if so, can you run multiple default gateways at the same time?

You can have multiple default gateways defined, but only one will be used at any given time.

If you want first hop redundancy then a FHRP (First Hop Redundant Protocol) such as VRRP, HSRP or GPBP would be used on the layer three devices which are the default gateways.
0
 
Rob WilliamsCommented:
Multiple default gateways in Windows do not work as they should.  Firstly "default" by definition can only be one, but Windows allows a failover default gateway.  Unfortunately if the higher metric gateway fails, even for a second, the lower metric gateway takes over, but under no condition does it ever switch back as it should, without a reboot.  This in no way allows for load balancing between the two gateways.  That requires a dual WAN port router.
0
 
fredostareAuthor Commented:
Hi all, so is best practice to avoid having a client point to two default gateways on a windows system, and rather deal with redundancy at the gateway itself instead?
0
 
Don JohnstonInstructorCommented:
Hi all, so is best practice to avoid having a client point to two default gateways on a windows system, and rather deal with redundancy at the gateway itself instead?
Correct.
0
 
Rob WilliamsCommented:
Windows will even warn you of that if you try to add a second agteway, though it will accept it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now