共用方式為


Configure TCP/IP for static addressing

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To configure TCP/IP for static addressing

  1. Open Network Connections.

  2. Right-click the network connection you want to configure, and then click Properties.

  3. On the General tab (for a local area connection) or the Networking tab (for all other connections), click Internet Protocol (TCP/IP), and then click Properties.

  4. Click Use the following IP address, and do one of the following:

    • For a local area connection, in IP address, Subnet mask, and Default gateway, type the IP address, subnet mask, and default gateway addresses.

    • For all other connections, in IP address, type the IP address.

  5. Click Use the following DNS server addresses.

  6. In Preferred DNS server and Alternate DNS server, type the primary and secondary DNS server addresses.

To configure advanced static address settings for a local area connection, click Advanced, and do one or more of the following:

To configure additional IP addresses:

  1. On the IP Settings tab, in IP addresses, click Add.

  2. In TCP/IP Address, type an IP address in IP address and a subnet mask in Subnet mask, and then click Add.

  3. Repeat steps 1 and 2 for each IP address you want to add, and then click OK.

To configure additional default gateways:

  1. On the IP Settings tab, in Default gateways, click Add.

  2. In TCP/IP Gateway Address, type the IP address of the default gateway in Gateway. To manually configure a default route metric, clear the Automatic metric check box and type a metric in Metric.

  3. Click Add.

  4. Repeat steps 1 through 3 for each default gateway you want to add, and then click OK.

To configure a custom metric for this connection, clear the Automatic metric check box, and then type a metric value in Interface metric.

Notes

  • To perform this procedure, you must be a member of the Administrators group or the Network Configuration Operators group on the local computer. For more information, see Default local groups and Default groups.

  • To open Network Connections, click Start, click Control Panel, and then double-click Network Connections.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Configure TCP/IP for automatic addressing
Configure TCP/IP for dynamic addressing
IP addressing
Subnet masks
Default gateways
TCP/IP configuration items
Advanced configuration
Numbering your network
Configure TCP/IP to use DNS
Configure TCP/IP to use WINS