Microsoft

Tech Tip: Install a parallel OS/View and add routes with Route command

Windows 2000 Professional: Install a parallel OS

When you're trying to recover a Windows 2000 client, you have several options, including using Windows 2000 Setup, which can help you repair and recover a system that otherwise won't boot properly. Another option is to launch the Recovery Console from the Windows 2000 CD and attempt recovery operations, such as restoring a corrupted or missing file.

A parallel installation of Windows 2000 is another possibility. If the system won't boot but you can't afford to lose the documents or other data on the system, run Setup and install a second copy of Windows 2000 in a new directory. Make sure that you don't install this copy over the existing Windows 2000 folder. You can install a minimal set of features for the secondary installation, but you should install the Backup utility if you'll need to restore files to the computer from a previous backup.

After the second installation is in place, boot the system to that installation to start troubleshooting the original installation or to move files to backup or to a network server, if you plan to wipe the system and reinstall Windows.

Windows 2000 Server: View and add routes with Route command

If you're trying to troubleshoot IP connectivity problems and configure routing, you might find the Route command useful.

The Route command manipulates the computer's routing table, letting you both view and edit it. To view current routes, execute the command ROUTE PRINT. Route shows the network destination, network mask, gateway, interface, and route metric for all routes. To display specific routes, include the destination. For example, the command ROUTE PRINT 192.168.* would display all routes for destinations with 192.168 as the first two octets of their address.

You can also use the Route command to add or remove routes. For example, if you're setting up a server as a simple router between two subnets and you need to add a route to allow traffic to flow properly, use the syntax:

ROUTE -p ADD <destination> MASK <subnet mask> <gateway> METRIC <metric> IF <interface>

Replace <destination> with the host or subnet's IP address, <subnet mask> with the address' subnet mask, <metric> with an integer route metric value, and <interface> with the network interface to be used for the route.

If you omit the -p switch, the route will be discarded the next time the computer is rebooted. Include -p to make the route permanent.

Editor's Picks

Free Newsletters, In your Inbox