Windows XP Single NIC Dual Gateway Setup Config Question.

I have two ADSL links at the moment. One of them is the default gateway for my network, with the other running separately as a standby. If my primary ADSL fails I have to do some recabling and change a few IP addresses to move accross to the standby link.

I'd like to have both of these ADSL links on the network at the same time, so that if either fails the other link is automatically used with no manual intervention necessary.

So, would this config work ?

ADSL Link 1 -
ADSL Link 2 -
PC NIC (Win XP Pro OS) -

Under TCP/IP Advanced Properties, I add both of the ADSL link IP addresses as default gateways with an automatic metric.

With this setup, does XP use the gateway that responds first and will it automatically use the other one if the first fails ?



Who is Participating?
jeopboyConnect With a Mentor Commented:
That should do the trick for enabling outbound connections.  

It doesn't sound like you're doing any hosting of web, e-mail or FTP servers, but if you do so in the future, keep in mind that you will need a more complicated setup to try to provide failover for those services.

Good luck!
EdwardPeterConnect With a Mentor Commented:

Sad to say it's not possbile to have a seemless setup using windows only.
There are hardware that does this, linksys has a lot of these.

You can do a manual switch over using windows:
two nics.

config nic one with ADSL link 1 -
config nic two with ADSL Link 2 -
disable nic two and enablee nic one. - this is how you swtich over


Two gateways used to be tricky/impossible on Windows but now is possible with some predictability on XP.  Check out:

If you care which ADSL link is used as primary (maybe it's lower latency or higher capacity) then set the metric yourself, otherwise your automatic settings should work fine.

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

A side note here.  This will work if your first gateway router fails.  I'm not sure if Windows will be able to detect if the upstream link on the gateway fails.  It is supposed to be able to do this via dead gateway detection, but I've not actually tried this myself on XP.

If the link fails and your XP client loses internet access, you would probably have to power down the ADSL modem with the bad link so that XP would see it as dead and start using the secondary gateway.

pseudocyberConnect With a Mentor Commented:
ccfcfc, a better solution would be to use an inexpensive hardware device designed to do exactly what you want.  In addition, it can use both links simultaneously giving you better performance.

Check out the Linksys RV042

"...the unique dual Internet ports on the 10/100 4-Port VPN Router let you connect a second Internet line as a backup to insure that you're never disconnected. Or, use both Internet ports at the same time, and let the router balance your office's requirements between them for maximum bandwidth efficiency. "

My urge for points hungers.  :-)

Likewise, I'm sure...especially considering that I gave (IMHO) a more direct answer to the specific question and pseudo proposed a different, but still automatic, solution
Jeopboy, what does "different, but still automatic, solution" mean?  I'm trying to figure out whether to be offended or not ... ;)  I'm in a wireless protocol analysis class and my brain is overheating ... :D

In my opinion, networking on Windows sucks.  Anything to move it off the windows host and onto networking equipment is "automatically" better than doing it on the windows host.
Ha!  No offense intended!  Different is good.

My point was that they asked if it would automatically failover using their config on the single NIC.  Short answer is yes, following the steps on the link I showed.

I agree with your answer that a better automatic failover solution is a router with two connections so that you can really monitor the upstream links, which may be at the root of this question.

All Courses

From novice to tech pro — start learning today.