How do I cure a corrupt static route?

G

Guest

W2K: when I try to add a static route

route -p add 10.0.4.0 mask 255.255.255.0 <gateway address>

Error: cannot open networks database file 10.0.4.0
Error: cannot open networks database file 255.255.255.0

I have other static routes on the machine working just fine. I presume
there is a corrupt file somewhere. Can someone tell me where this data is
kept and how to fix it [find the file and delete it?]

Jacques R.
 
J

Jaap de Koning

Have a look in registry editor:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

It might be that the DatebasePath value is not
c:\windows\system32\drivers\etc

If this corrects the problem you have a problem on your computer with
your system variables database and not the network database as
indicated by the error.
 

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