Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh interface ipv4 add route ?
Usage: add route [prefix=]/[interface=][[nexthop=]][[siteprefixlength=]][[metric=]][[publish=]no|age|yes][[validlifetime=]|infinite][[preferredlifetime=]|infinite][[store=]active|persistent]
Parameters:
Tag Value
prefix - Prefix for which to add a route.
interface - Interface name or index.
nexthop - Gateway address, if prefix is not on-link.
siteprefixlength - Prefix length for the entire site, if on-link.
metric - Route metric.
publish - One of the following values:
no: Not advertised in Route Advertisements.
This is the default.
age: Advertised in Route Advertisements
with a finite lifetime.
yes: Advertised in Route Advertisements
with an infinite lifetime.
validlifetime - Lifetime over which the route is valid.
The default value is infinite.
preferredlifetime - Lifetime over which the route is preferred.
The default is equal to the valid lifetime.
store - One of the following values:
active: Change only lasts until next boot.
persistent: Change is persistent. This is
the default.
Remarks: Adds a route for a given prefix.
Example:
add route 10.2.0.0/16 "Internet" 10.0.0.1