DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 141383 - Last Review: February 20, 2007 - Revision: 2.2

This article was previously published under Q141383

SUMMARY

The "P" switch for the Route command allows a user to make persistent entries in the routing table by adding a static route directly to the registry.

MORE INFORMATION

You can use the "P" switch for the Route command which allows a user to make persistent entries in the routing table by adding a static route directly to the registry. The use of the "P" switch is covered in the online command reference but is not in the printed TCP/IP reference.

Sample syntax from a command line:
route -p add 131.107.3.0 mask 255.255.255.0 131.107.3.1

The command forces the following registry entry to be read when the computer is restarted.
   HKEY_LOCAL_MACHINE
    \SYSTEM
      \CurrentControlSet
        \Services
          \Tcpip
            \Parameters
              \PersistentRoutes

   value: 131.107.3.0 255.255.255.0 131.107.3.1 Reg_SZ:
				

APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
Keywords: 
kbnetwork KB141383
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support