G
Guest
I'm having a bit of trouble using 'route add' on Windows 2000 Server.
I have created a remote access VPN connection in Network and Dial Up
Connections and have cleared 'Use default gateway on remote network' as I do
not want the VPN connection to alter the default gateway.
I connect to VPN and I'm given an IP address on the remote subnet. I need to
access a server on a different subnet through the VPN so I create a persitant
route using:
route -p add xxx.xxx.xxx.xxx mask 255.255.255.255 xxx.xxx.xxx.xxx metric 1
if xxxxx
The route adds fine and I can ping the server I need. However after I
disconnect the VPN and then recconnect, the route no longer works. After
reconnecting the persistant route is still there but is not being followed.
I found the following on technet:
"With Windows NT 4.0 Service Pack 3 and later and with Windows 2000, the
persistent routes are not actually added to the IP routing table (and are not
visible with the route print command at the Windows 2000 command prompt)
until the IP address of the gateway is reachable. The IP address of the
gateway becomes reachable when the VPN connection is made."
(http://www.microsoft.com/technet/pr...rv/reskit/intwork/inbe_vpn_obwd.mspx?mfr=true)
From reading this it appears that the the route is not actually re-added to
the routing table after the VPN connection is reastablished for some reason.
I have tried pinging the gateway to show that it is available but the routing
table does not update. Presumably something should be checking to see if a
gateway is available but is not recognising that the VPN has come back up.
Does anyone know how to bypass this checking and force persistant routes to
be part of the routing table?
I have created a remote access VPN connection in Network and Dial Up
Connections and have cleared 'Use default gateway on remote network' as I do
not want the VPN connection to alter the default gateway.
I connect to VPN and I'm given an IP address on the remote subnet. I need to
access a server on a different subnet through the VPN so I create a persitant
route using:
route -p add xxx.xxx.xxx.xxx mask 255.255.255.255 xxx.xxx.xxx.xxx metric 1
if xxxxx
The route adds fine and I can ping the server I need. However after I
disconnect the VPN and then recconnect, the route no longer works. After
reconnecting the persistant route is still there but is not being followed.
I found the following on technet:
"With Windows NT 4.0 Service Pack 3 and later and with Windows 2000, the
persistent routes are not actually added to the IP routing table (and are not
visible with the route print command at the Windows 2000 command prompt)
until the IP address of the gateway is reachable. The IP address of the
gateway becomes reachable when the VPN connection is made."
(http://www.microsoft.com/technet/pr...rv/reskit/intwork/inbe_vpn_obwd.mspx?mfr=true)
From reading this it appears that the the route is not actually re-added to
the routing table after the VPN connection is reastablished for some reason.
I have tried pinging the gateway to show that it is available but the routing
table does not update. Presumably something should be checking to see if a
gateway is available but is not recognising that the VPN has come back up.
Does anyone know how to bypass this checking and force persistant routes to
be part of the routing table?