How do I cure a corrupt static route?

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
Back
Top