General discussion

Locked

How to setup two gateways in one subnet?

By Danny_Chen ·
I have two routers, the first one serves as a internet gateway with internal ip address 192.168.0.1/255.255.255.0 and public ip 203.120.224.160. And the other router used as a backup internet gateway with internal ip 192.168.0.2 with a different public ip. Our goal is for all PC's in the same subnet to be able to use the second gateway automatically when the first gateway (link) fails.

If I manually change the defaul gateway to the second one it works fine. But I want it to do it automatically, is it a way to get it done?

This conversation is currently closed to new comments.

17 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How to setup two gateways in one subnet?

by CG IT In reply to How to setup two gateways ...

that's kinda a special software program [active polling]where the link state of the primary router is polled for connectivity by the secondary router. If the link state changes, then the secondary router would kick in.

Collapse -

How to setup two gateways in one subnet?

by Danny_Chen In reply to How to setup two gateways ...

Poster rated this answer

Collapse -

How to setup two gateways in one subnet?

by andrew.mizzi In reply to How to setup two gateways ...

I agree with the DR. It is software driven and can't be done 'normally' on workstations. Maybe look at getting one of your servers to do it.

Collapse -

How to setup two gateways in one subnet?

by Danny_Chen In reply to How to setup two gateways ...

Poster rated this answer

Collapse -

How to setup two gateways in one subnet?

by acattr In reply to How to setup two gateways ...

you can get an aggregator that will allow you to use both lines, if one goes down users wont notice.

http://www.astrocorp.com


If you don't want to spend the money, you can create a simple logon script or (startup script in AD Group Policies) that will change the computer's default gateway.

"route change 0.0.0.0 mask 0.0.0.0 192.168.0.2"

Collapse -

How to setup two gateways in one subnet?

by Danny_Chen In reply to How to setup two gateways ...

I can use script to change the default gateway, but it won't do the auto detection for the dead gateway.

Collapse -

How to setup two gateways in one subnet?

by leehellcat In reply to How to setup two gateways ...

I am guessing that your clients all point directly at the router.
You may be able to point the clients at a server, which in turn points to one of the 2 routers.
Then write a short VBA program to poll the first router and if it goes down, then swap to the second router.

Collapse -

How to setup two gateways in one subnet?

by Danny_Chen In reply to How to setup two gateways ...

Poster rated this answer

Collapse -

How to setup two gateways in one subnet?

by BeerMonster In reply to How to setup two gateways ...

Hi,
You give no idea of what clients you have, if they are microsoft, this functionality should come as standard. To get more info, search for

"dead gateway detection"

in Technet. You can find it online too at

microsoft.com/technet

Hope this helps...

Collapse -

How to setup two gateways in one subnet?

by Danny_Chen In reply to How to setup two gateways ...

Poster rated this answer

Back to Networks Forum
17 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums