Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1986-2001 Microsoft Corp. C:\WINDOWS>netsh interface ip add address ?
Usage: add address [name=][[addr=]IP address [mask=]IP subnet mask][[gateway=]IP address [gwmetric=]integer]
Parameters:
name - The name of the IP interface.
addr - The IP address to be added for the interface.
mask - The IP subnet mask for the specified IP address.
gateway - The default gateway for the specified IP address.
gwmetric - The metric to the default gateway.
Remarks: Adds IP addresses and default gateways to an interface. If DHCP
is enabled on the interface, it will be disabled.
Examples:
add address "Local Area Connection" 10.0.0.2 255.0.0.0
add address "Local Area Connection" gateway=10.0.0.3 gwmetric=2
The first command adds a static IP address of 10.0.0.2 with a subnet
mask of 255.0.0.0 to the Local Area Connection interface. The second
command adds the IP address of 10.0.0.3 as a second default gateway
for this interface with a gateway metric of 2.