Information Technology Reference
In-Depth Information
that has more than one gateway configured, the gateway metric allows the OS to determine
which gateway will be used first—a gateway with a metric of 1 will be used before a gateway
with a metric of 2, and so forth. To optimize network performance, you should configure the
gateway attached to the highest-speed link with the lower gateway metric. This also allows you
to create fault tolerance by configuring a secondary gateway attached to a lower-speed link.
For example, if the gateway attached to a T-1 line is unavailable, the device can transmit network
packets over a gateway attached to a lower-speed ISDN line.
In Windows Server 2003, the gateway metric is configured automatically; the NIC attached
to the higher-speed link receives the lower (and therefore preferred) metric. To manually
control which gateway receives traffic first, you can configure a gateway metric using any of the
methods described in this section.
See Also
￿
Recipe 1-3 for more on configuring dead-gateway detection
￿
Microsoft KB 258487: “Configuring Multiple Adapters on the Same Physical Network”
1-5. Assigning Multiple IP Addresses
Problem
You want to assign multiple IP addresses to a single NIC on a Windows Server 2003 computer.
Solution
Using a Graphical User Interface
1.
Open the Network Connections applet.
2.
Double-click on the Local Area Connection icon.
3.
Click on Internet Protocol (TCP/IP), and select Properties and then Advanced.
4.
In the IP Addresses section, click on Add. Specify the IP address and subnet mask of the
additional IP address, and then click OK.
5.
Click Close when you're finished.
Note To remove an additional static IP address that you've already specified, highlight the IP address on
the screen in step 4, and then click on Remove.
Using a Command-Line Interface
To add an additional IP address using netsh, see the syntax used in the following example:
Search WWH ::




Custom Search