Monthly Archives: January 2011

Network Load Balancing Windows server 2008 R2

This guide is a brief configuration on how to setup a NLB “cluster”. This cluster will use 2 servers and they will share a common IP (cluster ip).

The IP-adresses that will be used are:
Host 1 – 192.168.1.10
Host 2 – 192.168.1.11
Cluster IP – 192.168.15

The first thing we need to do on both server are to install Network Load Balancing. This can be found under features in Server Manager. After that is installed we can go to the next step.

NLB

Open Network Load Balancing Manager and click on Cluster -> New.

NLB

Now we have to select wish server should be a part of the cluster. We start with the name of Host 1.

NLB

On this step just click next.

NLB

Now on this step we are going to tell the cluster what the cluster ip-address should be. This address will be shared by all the nodes in the cluster.

NLB

I used multicast but some say you should use unicast. It didnt work with unicast for me but maby it will for you. If you wanna play it safe use multicast.

NLB

I have selected that all ports will be used in this NLB. If you want you can select just port 80,443 if you only have a webserver in this cluster.

NLB

Now the basic settings of this NLB is setup. Now we can go to the next step to add a new node to the cluster.

NLB

Right-click on your cluster and select add host to cluster.

NLB

You will get a windows that asks for the hostname of the cluster. Enter the name or just enter the ip-number to that node.

NLB

Hit next unless you changed something that i didnt use in this guide when you setup node 1.

NLB

When both nodes turn green the network load balancing is up and running. You can test it by start a ping 192.168.1.15 -t and turn of a node and you will not get request timed out becuase the other node will take over.

NLB