|
Question : how to delete route in xp
|
|
have tried to use the route delete command to remove the routes in xp. However it seems unsuccessful. The following is the route table in my pc.
Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.103 25 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 169.254.0.0 255.255.0.0 169.254.241.150 169.254.241.150 30 169.254.241.150 255.255.255.255 127.0.0.1 127.0.0.1 30 169.254.255.255 255.255.255.255 169.254.241.150 169.254.241.150 30 192.168.0.0 255.255.255.0 192.168.0.103 192.168.0.103 25 192.168.0.103 255.255.255.255 127.0.0.1 127.0.0.1 25 192.168.0.255 255.255.255.255 192.168.0.103 192.168.0.103 25 224.0.0.0 240.0.0.0 169.254.241.150 169.254.241.150 30 224.0.0.0 240.0.0.0 192.168.0.103 192.168.0.103 25 255.255.255.255 255.255.255.255 169.254.241.150 10005 1 255.255.255.255 255.255.255.255 169.254.241.150 169.254.241.150 1 255.255.255.255 255.255.255.255 192.168.0.103 192.168.0.103 1 Default Gateway: 192.168.0.1 =========================================================================== Persistent Routes: None
When I try to delete the route , e.g.
route delete 192.168.0.0 mask 255.255.255.0 192.168.0.103
it always prompts the error "The route specified was not found."
I have no such problem in winme. It's only happened in win xp. As I will have the VPN connection, after connected to VPN, all the internal network connection or internet connection can't be accessed. I will use the route command to make the active route in winme before. However it's unsuccesful in winxp. Would someone help pls? P.S. I am using Nortel VPN Client for the vpn connection. After connected, I want to delete some routes to make the internal network working, but it seems unsuccessful.
|
Answer : how to delete route in xp
|
|
I think I have found the solution.. http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_23206806.html
It seems the bug in winxp. Now I want to change my question, and will give the same point to the solution provider.
After connecting to the vpn, I can route add or route delete to change the route table to access my local networking. As the vpn gateway is dynamic, I need to type in the route add or route delete command manually after every login the vpn. e.g. if this time the vpn gateway is 10.0.0.1 , I need to type the command , route add 10.0.0.0 mask 255.0.0.0 10.0.0.1 manually .If the gateway is static, I can write a batch to do so. Is there any method I can add or delete the route related to the vpn gateway automaically?
thx
|
|
|
|