How to configure Network Load Balancing to work with IPsec (820752)
The information in this article applies to:
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
- Microsoft Windows Small Business Server 2003, Premium Edition
SUMMARYThis article describes how to configure your Microsoft Windows Server 2003 Network Load Balancing (NLB) cluster to accept Internet Protocol security (IPsec) traffic on your network. Use this procedure if you want to use your NLB cluster to receive virtual private network (VPN) traffic. This configuration helps to improve end-to-end security between clients and servers.
MORE INFORMATIONCreate the cluster and configure the Internet Protocol (IP) properties of NLB for use with a VPNTo correctly configure the IP properties of NLB for use with a VPN, follow these steps: - On the first node that you want to configure for NLB, click Start, click Run, type ncpa.cpl, and then click OK.
- Right-click the network adaptor that you want to load balance, and then click Properties.
- To enable NLB, click to select the Network Load Balancing check box on the General tab.
Note If NLB is not listed, click Install, click Service, click Add, click Network Load Balancing in the Network Service column, and then click OK. - Click Internet Protocol (TCP/IP) on the General tab, and then click Properties.
Note When you click Internet Protocol (TCP/IP), make sure that you do not clear the check box.
- Click Use the following IP address.
- Assign only the cluster virtual IP address and subnet mask to the network adaptor, and then click OK. Note that the IP address and subnet mask will be the same on every node of the cluster.
- Click Close, and then exit the Network Connections dialog box.
- Start Network Load Balancing Manager. To do this, click Start, point to All Programs, point to Administrative Tools, and then click Network Load Balancing Manager.
- Right-click Network Load Balancing Clusters, and then click New Cluster.
- Under Cluster IP configuration, specify the virtual IP address of the cluster, the subnet mask, and the full Internet name for the cluster. Note that the full Internet name is the Domain Name System (DNS) name for the cluster.
- Under Cluster operation mode, configure the cluster operation mode for either unicast or multicast.
- Click Next.
- In the Cluster IP Addresses dialog box, click Next.
- In the Port Rules dialog box, click Next.
- In the Connect dialog box, type the name of the node that will be part of the cluster in the Host box, and then click Connect.
- Under Interfaces available for configuring a new cluster, click the interface on the host that is set to the virtual IP address of the cluster, and then click Next.
- In the Host Parameters dialog box, verify the following:
- In the Priority (unique host identifier) box, the host priority is a unique number in the cluster.
- Under Dedicated IP configuration, the dedicated IP address and the subnet mask fields are empty.
- Click Finish.
- Repeat steps 1 through 7 on each additional node that you want to add to the NLB cluster.
- Add the hosts to the cluster by using the Network Load Balancing Manager tool. To do this, start the tool on the first node of the cluster, right-click the cluster where you want to add the host, and then click Add Host To Cluster.
- In the Connect dialog box, type the name of the host that you want to add in the Host box, and then click Connect.
- Under Interfaces available for configuring a new cluster, click the interface on the host that is set to the virtual IP address of the cluster, and then click Next.
- In the Host Parameters dialog box, verify the following:
- In the Priority (unique host identifier) box, the host priority is a unique number in the cluster.
- Under Dedicated IP configuration, the dedicated IP address and the subnet mask fields are empty.
- Click Finish.
Note You may have to click Refresh on the Cluster menu to update the configuration changes.
Permit the NLB cluster to accept IPsec trafficTo permit the NLB cluster to accept IPsec traffic, follow these steps: - Make sure that your IPsec policy includes the shared Internet Protocol (IP) address or the host name of the cluster.
- On a cluster node, start Network Load Balancing Manager, and then connect to the cluster.
- In the left pane, right-click the cluster, and then click Cluster Properties.
- Add a port rule that permits User Datagram Protocol (UDP) traffic on port 500 and on port 4500 if one is not already configured. To do this, follow these steps:
- Click the Port Rules tab, and then click Add.
- In the From list, type 500, and then type 4500 in the To list.
Note You must permit UDP traffic both on port 500 and on port 4500 in the same port rule. You cannot create a separate rule for each port.
- Next to Affinity, click Single or Class C.
Note You must enable Affinity to permit IPsec communication with your NLB cluster. Affinity is the method that is used by the cluster hosts to maintain the session state. The affinity settings work as follows:- When no affinity is specified, all network requests are load balanced across the cluster without respect to their source.
- An affinity setting of Single causes the cluster host (node) to read the host header of the client request to determine the source IP address of that request. The cluster host then responds to all other requests from that single IP address, maintaining the session state with that client.
- An affinity setting of Class C performs much the same function as Single, but the cluster node responds to all requests from clients in the same class C subnet as that of the original request.
- Leave the default filtering mode option as Multiple host, and then click OK.
- Allow sufficient time for the cluster to converge.
Important Traffic to any port is permitted to reach servers if you use IPsec in a cluster. If you disable other ports or port ranges in your NLB cluster, you still receive IPsec traffic on those ports. The port filtering does not filter IPsec traffic when you use IPsec tunnels. For more information about IPsec, search for IPsec in Windows Server 2003 Help and Support Center.
For more information about IPsec in Windows Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:
810207
IPsec default exemptions are removed in Windows Server 2003
For more information about IPsec in Microsoft Windows 2000, visit the following Web site: For more information about NLB clusters, visit the following Web site: For more information about how to configure a NLB cluster, search for cluster in Windows Server 2003 Help and Support Center. For more information about NLB parameters, visit the following Microsoft Web site:
For more information about how to configure NLB in a typical environment where VPN is not used, click the following article number to view the article in the Microsoft Knowledge Base:
323437
How to configure Network Load Balancing parameters in Windows Server 2003
Modification Type: | Major | Last Reviewed: | 2/25/2006 |
---|
Keywords: | kbinfo kbhowto KB820752 kbAudITPRO |
---|
|