Subscribe to Windows IT Pro
January 30, 2002 12:00 AM

Installing NLB on a Dual-NIC System

Windows IT Pro
InstantDoc ID #23885
Rating: (6)

You know how to install Network Load Balancing (NLB) on a single-NIC system, but what if you’re running a dual-NIC system? Here are the special configuration considerations for such a setup.

Let’s begin with what you need to have. First, you must have one of the following OSs running in your network:

  • Windows 2000 Advanced Server
  • Win2K Datacenter Server
  • Win2K Server with Microsoft Application Center 2000
  • Windows .NET Enterprise Server

In my examples, I use .NET Enterprise Server beta 2 to build my NLB cluster.

Second, before you begin the dual-NIC configuration, you must have two properly installed Local Area Connections; that is, you should have both interfaces correctly cabled and able to communicate successfully by using TCP/IP. (Verify this communication before proceeding by pinging after hosts on the respective networks.)

To install and configure NLB, right-click My Network Places, then select Properties. The resulting Network Connections dialog box lets you configure the multiple network interfaces for this particular cluster node. You see two network connections. The first connection, called Local Area Connection, is the private interface through which NLB heartbeat messages pass. The second connection, called Local Area Connection 2, will eventually become the public connection. Note that these names are the default names, and you can change them in the initial configuration. Just remember to keep the names straight throughout the configuration. To help you remember which connection is which, I recommend giving each connection a name that more closely represents your scenario. (For example, I named my connections Private Connection and Public Connection, respectively.) Labeling the network greatly facilitates configuration and troubleshooting. (You might even want to go one step further and label the physical network connections with cable tags to indicate which interfaces they attach to.)

To configure the private interface, right-click Local Area Connection, then select Properties. Configure the TCP/IP properties for this network connection, as Web Figure A shows. (Don’t select the Network Load Balancing check box because you don’t want public traffic going to this interface.)

Now, you need to configure the public interface and the cluster. Open the Local Area Connection 2 properties, then select the Network Load Balancing check box and click Properties. In the Network Load Balancing Properties dialog box, click the Cluster Parameters tab. In the Cluster IP configuration area, enter the IP address and subnet mask for the public interface. (The TCP/IP configuration you supply to this connection should be consistent across each node in the cluster.) Then, supply the Fully Qualified Domain Name (FQDN—e.g., www.windowswebsolutions.com) and network address to properly handle incoming client requests.

After you’ve supplied the public cluster information, you need to tell the cluster about the configured private interface (i.e., Local Area Connection). You might think that configuring the private IP address on the NLB settings for the public interface is odd, but you’re supplying the same IP address information (i.e., public cluster addresses) to multiple server interfaces. Switch to the Host Parameters tab, then supply the dedicated IP address and subnet mask that you applied to the private interface. If this NLB node is the first one you’re configuring, leave the Priority (unique host identifier) setting at the default value of 1. If this node is a subsequent installation, set the priority value to the next highest unused number.

If this node is the first one in the NLB cluster, you’re finished. Click Apply, then click OK, and your first node is up and running. If this node is a subsequent NLB node, you now have a working cluster. You can use NLB’s command-line operation to verify that the cluster is working correctly. To do so, type

wlbs query

at a command prompt. If your NLB setup is working correctly, you’ll receive a result similar to the one that Web Figure B shows. If not, verify that you’ve configured each public and private interface with the correct TCP/IP settings. Also, ensure that the private interfaces on each node in the cluster can see each other.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Apr 15, 2005

    Hello, are the hearbeat NIC and the Ooutside NIC (in a dual nic machine) on the same subnet before creating the cluster? Or are they on seperate subnets all together?
    Thanks.

  • Anonymous User
    7 years ago
    Apr 11, 2005

    Maurice,

    -First, don't use the NIC properties page. Just stay away from it. Use the "Administrative Tools\\Network Load Balanacing Manager" tool.
    -Add a new cluster. The cluster IP will be the one you will route outside traffic to (10.38.24.x), enter your mask, and the DNS name (doesn't have to resolve yet). I've selected multicast here, and it works. Not sure what the best setting is. Click Next.
    -Add any additional NLB IPs (you can always do this later). Click Next.
    -Setup any port rules (I don't), click next.
    -enter the IP for the first host. Usually, this is the machine you are currently logged into. This CAN be either the "outside" or "inside/heartbeat" IP. I just stick with the heartbeat IP. select the heartbeat IP from the list. Next.
    -Select 1 as the priority. Click Finish. Easy part done.
    -Add a host to the cluster. Enter the info for the second host. Finish.
    -Here is where it gets a little hairy. Be patient and calm. Most likely the next thing you will see is the second host as a "misconfigured" status. Let go a for a few minutes. Afte that, every few minutes you should click the refresh command from the menu. Soon it will show both hosts as converged. Also you can use the line command"nbl query".

    -Dana

  • Anonymous User
    7 years ago
    Jan 11, 2005

    Expecting screen shots

  • Maurice Joosten
    8 years ago
    Mar 11, 2004

    Hi Allen,
    I found this article more than interesting but still not satisfying. I trying to set up a NLB cluster with 2 nic's per node based on Windows Server 2003. Goal is to achieve an infrastructure where the cluster and heartbeat information goes over the first nic (192.168.10.0/30) and the main LAN traffic goes over the second nic (10.38.24.0/21).
    As suggested I entered the Heartbeat NIC information in the host settings in the cluster parameters. I then get a message that I need to enter the just added IP address to the LAN NIC IP settings. Because this address is already assigned to the Heartbeat NIC this is not possible.

    I am very surprised finding so many articles on the Internet on NLB and how good it is to split up the Cluster/Heartbeat traffic from the LAN traffic using two NICs, but nowhere (really nowhere !!) I can find how do configure NLB that way on a Windows Server 2003 environment.

    I hope you can help me out with this.

    Sincerely,

    Maurice Joosten
    IT Consultant
    The Netherlands

  • tectime
    8 years ago
    Jan 15, 2004

    wonderfull :-)

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.