I
ITguy_uk
I currently have Windows 2000 Professional (SP4) workstations that
have persistent routes set to another subnet which is the other side
of a private WAN connection. These workstations have their default
gateway set to our internet proxy server which allows them to access
external sites e.g. web sites and FTP servers. These routes are set
using:
C:/route -p add <destination IP> MASK 255.255.255.0 <Gateway IP>
e.g:
C:/route -p add <192.168.1.0> MASK 255.255.255.0 <192.168.5.1>
This works as expected as can be seen from tracert (IPs changed to
example ones):
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>tracert server1
Tracing route to server1 [192.168.1.2]
over a maximum of 30 hops:
1 <10 ms <10 ms <10 ms 192.168.5.1 <========== local
WAN router
2 50 ms 50 ms 50 ms 203.204.6.72 <========== remote
WAN router
3 50 ms 60 ms 50 ms server1 [192.168.1.2]
Trace complete.
This works as expected until the WAN link is down for any amount of
time. Once the WAN link has been down for a period of more than approx
1 hour the workstations lose connectivity with the remote subnet.
When I run the "route print" command I can still see the persistent
route listed but on running tracert to a host on the other subnet the
traffic is routed via the default gateway (internet connection via
ISP) rather than the internal WAN gateway.
If I re-run the route command above the route is restored and
connectivity re-instated. It is almost as if there is a timeout where
after a specified time windows stops attempting to access that subnet
via the specified static route and defaults to the default gateway.
This seems to be incorrect, if a route is persistent then windows
should keep re-trying until the connection is restored or produce an
error message to inform the user the route is no longer available (on
screen or event log).
My questions are:
1.Does anyone know why it is defaulting to the default gateway when
the persistent route loses connectivity?
2. Does anyone know how to prevent this default gateway fall back
(registry or network properties setting)?
3. Should windows utilise the default gateway when connectivity is
lost to a host accessible via a previously persistent route?
4. Why does it still list (ROUTE PRINT) the persistent route even
though it is no longer using it due to loss of connectivity?
I have looked on the MS KB and searched on google but it does not seem
to be mentioned anywhere. Any hints would be appreciated.
Thanks in advance
have persistent routes set to another subnet which is the other side
of a private WAN connection. These workstations have their default
gateway set to our internet proxy server which allows them to access
external sites e.g. web sites and FTP servers. These routes are set
using:
C:/route -p add <destination IP> MASK 255.255.255.0 <Gateway IP>
e.g:
C:/route -p add <192.168.1.0> MASK 255.255.255.0 <192.168.5.1>
This works as expected as can be seen from tracert (IPs changed to
example ones):
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>tracert server1
Tracing route to server1 [192.168.1.2]
over a maximum of 30 hops:
1 <10 ms <10 ms <10 ms 192.168.5.1 <========== local
WAN router
2 50 ms 50 ms 50 ms 203.204.6.72 <========== remote
WAN router
3 50 ms 60 ms 50 ms server1 [192.168.1.2]
Trace complete.
This works as expected until the WAN link is down for any amount of
time. Once the WAN link has been down for a period of more than approx
1 hour the workstations lose connectivity with the remote subnet.
When I run the "route print" command I can still see the persistent
route listed but on running tracert to a host on the other subnet the
traffic is routed via the default gateway (internet connection via
ISP) rather than the internal WAN gateway.
If I re-run the route command above the route is restored and
connectivity re-instated. It is almost as if there is a timeout where
after a specified time windows stops attempting to access that subnet
via the specified static route and defaults to the default gateway.
This seems to be incorrect, if a route is persistent then windows
should keep re-trying until the connection is restored or produce an
error message to inform the user the route is no longer available (on
screen or event log).
My questions are:
1.Does anyone know why it is defaulting to the default gateway when
the persistent route loses connectivity?
2. Does anyone know how to prevent this default gateway fall back
(registry or network properties setting)?
3. Should windows utilise the default gateway when connectivity is
lost to a host accessible via a previously persistent route?
4. Why does it still list (ROUTE PRINT) the persistent route even
though it is no longer using it due to loss of connectivity?
I have looked on the MS KB and searched on google but it does not seem
to be mentioned anywhere. Any hints would be appreciated.
Thanks in advance