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.
Open Network Load Balancing Manager and click on Cluster -> New.
Now we have to select wish server should be a part of the cluster. We start with the name of Host 1.
On this step just click next.
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.
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.
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.
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.
Right-click on your cluster and select add host to cluster.
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.
Hit next unless you changed something that i didnt use in this guide when you setup node 1.
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.