Link to home
Start Free TrialLog in
Avatar of ssssss2
ssssss2

asked on

using 2 gateways

I am having two cable router having private ip 192.168.1.1 and 192.168.1.10 in my network. Both the router has external IP as well as internal private Ip. I have DHCP server assigning dynamic Ip to the users connected on LAN. By default user are accessing internet through 192.168.1.1 but the problem is sometimes the net connection from my ISP on router 192.168.1.1 goes down, so in that case the LAN users are unable to acess the internet. Is there any provision in windows or DHCP where if my one router is down the user can acess the internet from my other router i.e in this case 192.168.1.10 without me giivng static IP and gateway on users machines
ASKER CERTIFIED SOLUTION
Avatar of pseudocyber
pseudocyber

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Les Moore
Agree 100% with my good fellow expert pseudocyber.
There *is* a mechanism in Windows called Dead Gateway Detect that will allow you to set an alternate default gateway. Unfortunately, the only way it works is if the primary router's LAN interface is not reachable. This so rarely happens, that the feature is basically useless. But, it could be implemented and when the cable access goes out on router1, you can simply power it off and everyone starts using router2. The other drawback to this situation is that there is no automatic fail-back, and the fact that router1 is completely powered off, how do you know when the service comes back up?


Avatar of pseudocyber
pseudocyber

Thanks lr! High praise.  :)
I dont know if your routers are capable of this or not but I can offer 2 solutions.  

The RIGHT way to do this is to have your primary router have a default route to the other router...

The command would be something like

IP ROUTE 0.0.0.0 0.0.0.0 192.168.1.10


If my thinking is right, your primary router would still route internet traffic untill the link went down.  When it goes down, your primary router doenst know how to handle the traffic so it looks for a "default route" which is the command above.  This will send any traffic that it doens't know what to do with to 192.168.1.10 for further processing.  The 192.168.1.10 router would know how to get internet traffic out to the net (given that the link on this router is still functional).

This is a cisco command and I dont know what kind of equipment you may have.  
Avatar of ssssss2

ASKER

I tried the Dead Gateway Detect but ut doesnt work, I guess going for the Linksys vpn router is the best solution.
Thanks for the help
Thanks, but why the C?