2010年4月16日

Add persistent static routing rule into Windows.


C:\> route -p add 10.10.10.0 mask 255.255.255.0 192.168.1.1 metric 1

This writes the persistent route to the following Windows Registry key as a string value (REG_SZ):

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes

From: http://www.itsyourip.com/networking/howto-add-persistent-static-routes-in-windows/

0 意見: