HELP PLS! The (route CHANGE ...) command reported (The route specified was not found)

D

Dmitry Bond.

Hello.

Please help!
After VPN is turned on I cannot access my local network. I cannot work
because of this. I have to switching VPN OFF each half an our to work
with local network resources and then switch it ON again to access
mail, and fileserver in remote office. It is very-very
inconvenient!...

I'm trying to solve this problem modifying routing table on my
workstation (I mean table shown by "route PRINT" shell command).
In the displayed routing table I highlighted the following items:

1) 192.168.3.0 255.255.255.0 192.168.3.1 192.168.3.1 20
2) 192.168.3.0 255.255.255.0 10.32.32.1 10.32.32.13 1
3) 192.168.3.1 255.255.255.255 127.0.0.1 127.0.0.1 20
4) 192.168.3.1 255.255.255.255 10.32.32.1 10.32.32.13 1
5) 192.168.3.255 255.255.255.255 192.168.3.1 192.168.3.1
20

these items are related to my local network (addresses are
192.168.3.xxx, where xxx is 1...254; local network consists of router
(.254, connected to internet), my workstation (.1), notebook (.100)
and server with some virtual machines (.2)).
From routing table I want to try to remove records that routes local
addresses to 10.32.32.x (VPN interface).
I hope it should help. Actually, I was able to remove items # 2 and #
4 - after that "ping 192.168.3.1" begin to work fine (.1 is my
workstation). But also I need to change item # 5 - change the gateway
to "192.168.3.254" (it is local network router).

Unfortunately, all variants of "route" commands I tried reported the
same error - "The route specified was not found."!
I tried following commands:

route CHANGE 192.168.3.255 MASK 255.255.255.255 192.168.3.254 IF
192.168.3.1 METRIC 20
route CHANGE 192.168.3.255 MASK 255.255.255.255 192.168.3.254

Looks like the "route" shell command has a limitation - I cannot
change items in routing table that has "Network destination" ends with
".255". Is there any workarounds to fix this situation?

Maybe I should use Windows API instead of "route" shell command? Which
keywords I can use to find information about such API in MSDN. I mean
the API _available_ on Windows XP SP2.

Or maybe there is special variant of "route" command that allows to
change addresses ends with ".255"?


With regards,
Dmitry.
 
R

Robert L [MVP - Networking]

How about delete it first and then add the different route.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Hello.

Please help!
After VPN is turned on I cannot access my local network. I cannot work
because of this. I have to switching VPN OFF each half an our to work
with local network resources and then switch it ON again to access
mail, and fileserver in remote office. It is very-very
inconvenient!...

I'm trying to solve this problem modifying routing table on my
workstation (I mean table shown by "route PRINT" shell command).
In the displayed routing table I highlighted the following items:

1) 192.168.3.0 255.255.255.0 192.168.3.1 192.168.3.1 20
2) 192.168.3.0 255.255.255.0 10.32.32.1 10.32.32.13 1
3) 192.168.3.1 255.255.255.255 127.0.0.1 127.0.0.1 20
4) 192.168.3.1 255.255.255.255 10.32.32.1 10.32.32.13 1
5) 192.168.3.255 255.255.255.255 192.168.3.1 192.168.3.1
20

these items are related to my local network (addresses are
192.168.3.xxx, where xxx is 1...254; local network consists of router
(.254, connected to internet), my workstation (.1), notebook (.100)
and server with some virtual machines (.2)).
From routing table I want to try to remove records that routes local
addresses to 10.32.32.x (VPN interface).
I hope it should help. Actually, I was able to remove items # 2 and #
4 - after that "ping 192.168.3.1" begin to work fine (.1 is my
workstation). But also I need to change item # 5 - change the gateway
to "192.168.3.254" (it is local network router).

Unfortunately, all variants of "route" commands I tried reported the
same error - "The route specified was not found."!
I tried following commands:

route CHANGE 192.168.3.255 MASK 255.255.255.255 192.168.3.254 IF
192.168.3.1 METRIC 20
route CHANGE 192.168.3.255 MASK 255.255.255.255 192.168.3.254

Looks like the "route" shell command has a limitation - I cannot
change items in routing table that has "Network destination" ends with
".255". Is there any workarounds to fix this situation?

Maybe I should use Windows API instead of "route" shell command? Which
keywords I can use to find information about such API in MSDN. I mean
the API _available_ on Windows XP SP2.

Or maybe there is special variant of "route" command that allows to
change addresses ends with ".255"?


With regards,
Dmitry.
 
D

Dmitry Bond.

How about delete it first and then add the different route.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting onhttp://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access onhttp://www.HowToNetworking.com
[...]

I tried this too. Does not matter - DELETE or CHANGE - the route
command unable to find specified route if address ends with ".255".
I'm became more and more confident there is limitation in route
command that does not allow to modify any route to address ends with ".
255".

The only method I did not try also is following:
1) cleanup routing table by "route -f" command.
2) recreate all required routes manually using "route ADD ..."
command.
I do not know if it could help.
Unfortunately I have no time to try this approach because I'm not
administrator - it is not my work to configure such things.
Our administrator was unable to help me with it (he just do not know
if this possible to solve this problem or not).
So, I have to search solution by myself if I got a free minute...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top