Windows XP Community - XPHeads



Static Routing in XP

microsoft.public.windowsxp.network_web


Reply
  #1 (permalink)  
Old 06-24-2008, 07:18 PM
Anthony
 
Posts: n/a
Static Routing in XP
Hello,

I had a few questions regarding static routes. Here's the setup:
On my XP Pro machine, I have created 2 persistent static routes, both
pointing to the same subnet, going through two different routers (primary and
backup).

route -p add 192.168.1.0 mask 255.255.255.0 192.168.1.253 metric 1
route -p add 192.168.1.0 mask 255.255.0.0 192.168.1.254 metric 10

The data is very time-sensitive, so I cannot have much failover latency. If
my primary route (through .253) goes down,

A) How long will it take to fail over to the backup?

B) Will XP then ignore the primary route and consider the backup as the
primary, or will XP keep checking to see if the primary is up every so often
(how often)?

C) If my primary goes back up again, will traffic then shift back to it?

Thank you,

Anthony
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-25-2008, 12:06 PM
James Egan
 
Posts: n/a
Re: Static Routing in XP

On Tue, 24 Jun 2008 12:18:01 -0700, Anthony
<Anthony@discussions.microsoft.com> wrote:

>route -p add 192.168.1.0 mask 255.255.255.0 192.168.1.253 metric 1
>route -p add 192.168.1.0 mask 255.255.0.0 192.168.1.254 metric 10


I tested something similar myself recently except my test involved two
default gateways out to the Intenet. The primary with a manual metric
of 1 and the secondary with a manual metric of 20.

Although I left the primary router powered up, I zapped the dsl
synchronisation effectively killing the gateway.

>
>The data is very time-sensitive, so I cannot have much failover latency. If
>my primary route (through .253) goes down,
>
>A) How long will it take to fail over to the backup?


Only a few seconds.

>
>B) Will XP then ignore the primary route and consider the backup as the
>primary, or will XP keep checking to see if the primary is up every so often
>(how often)?


I can't say exactly how often but in my test the default gateway
automatically switched back to using the one with the lower metric
every few minutes even though it was still dead and swapped again back
to the secondary gateway on detecting it was still dead.

So it appears that it follows the same procedure each time and polls
the primary gateway for a response every few minutes.

>
>C) If my primary goes back up again, will traffic then shift back to it?


My suspicion is that it will happen after the next poll whenever it is
due. I don't know if this polling period is settable in the registry
somewhere.

Overall I would say that it was an annoyance for me getting the
occasional waits for switching between gateways. It certainly wasn't
transparent. I could tell something wasn't quite right but it could be
a lot more serious for you and you may have to look for a better
solution.


Jim.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-25-2008, 03:02 PM
Anthony
 
Posts: n/a
Re: Static Routing in XP
Jim,

Thanks a million for the quick reply! If I discover how to modify the
polling time period, I'll be sure to post it.

--
Anthony


"James Egan" wrote:

>
> On Tue, 24 Jun 2008 12:18:01 -0700, Anthony
> <Anthony@discussions.microsoft.com> wrote:
>
> >route -p add 192.168.1.0 mask 255.255.255.0 192.168.1.253 metric 1
> >route -p add 192.168.1.0 mask 255.255.0.0 192.168.1.254 metric 10

>
> I tested something similar myself recently except my test involved two
> default gateways out to the Intenet. The primary with a manual metric
> of 1 and the secondary with a manual metric of 20.
>
> Although I left the primary router powered up, I zapped the dsl
> synchronisation effectively killing the gateway.
>
> >
> >The data is very time-sensitive, so I cannot have much failover latency. If
> >my primary route (through .253) goes down,
> >
> >A) How long will it take to fail over to the backup?

>
> Only a few seconds.
>
> >
> >B) Will XP then ignore the primary route and consider the backup as the
> >primary, or will XP keep checking to see if the primary is up every so often
> >(how often)?

>
> I can't say exactly how often but in my test the default gateway
> automatically switched back to using the one with the lower metric
> every few minutes even though it was still dead and swapped again back
> to the secondary gateway on detecting it was still dead.
>
> So it appears that it follows the same procedure each time and polls
> the primary gateway for a response every few minutes.
>
> >
> >C) If my primary goes back up again, will traffic then shift back to it?

>
> My suspicion is that it will happen after the next poll whenever it is
> due. I don't know if this polling period is settable in the registry
> somewhere.
>
> Overall I would say that it was an annoyance for me getting the
> occasional waits for switching between gateways. It certainly wasn't
> transparent. I could tell something wasn't quite right but it could be
> a lot more serious for you and you may have to look for a better
> solution.
>
>
> Jim.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:58 PM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74