Specifying Client Traffic To Be Affected by the Custom Port Rule

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

Port rules can be divided into two parts. The first part of a port rule identifies the client traffic to be affected by the port rule. You identify the client traffic affected by the port rule by specifying the cluster IP address and the TCP (or UDP) port range. Network Load Balancing examines all client requests and determines if a port rule applies to the client request.

The second part of a port rule determines the affinity and load-balancing characteristics of the cluster. For more information about the affinity and load-balancing characteristics of the cluster, see "Specifying the Affinity and Load-Balancing Behavior of the Custom Port Rule" later in this chapter.

Specify the client traffic to be affected by the port rule by completing the following steps:

  1. Designate the value for the cluster IP address.

  2. Specify the port range for the port rule as a starting port number (From) and an ending port number (To).

  3. Specify the protocol for the port range that you specified.

Note

Designating the Value for the Cluster IP Address

If you are specifying a:

  • Global port rule for a cluster, specify All.

  • Port rule for a virtual cluster, specify the virtual IP address for the virtual cluster.

For more information about deciding when to include virtual clusters in your design, see "Identifying Applications or Services That Require Custom Port Rules" earlier in this chapter.

Specifying the Port Range

Specify the port range for the port rule:

  • Based on the TCP and UDP ports used by the applications and services running on the Network Load Balancing cluster.

  • As a starting port number (From) and an ending port number (To).

For example, if your Network Load Balancing cluster supports Web applications that use only TCP port 80, you specify a starting port number of 80 and an ending port number of 80.

Specifying the Protocol for the Port Range

If the applications and services are using:

  • TCP, specify TCP.

  • UDP, specify UDP.

  • Both TCP and UDP, specify Both.