MS Network Load Balancer and VMWare

Posted on 2013-10-16
Medium Priority
Last Modified: 2013-10-16
I have a client with two VMW hosts with local disks (so think no HA). Each host has a front end application server on them and both connect to the same back end box. The goal is to load balance the two front end servers.

I added the NLB feature to both MS 2008r2 VMs. When I enable it on VM1 and add VM1 to the cluster (thus creating the VIP and adding it to the VM1), VM1 loses all network connectivity. It cannot even ping the gateway at this point.

I figured/assumed something may be blocking it within the vswitch. There is NO port security on the physical switch.

Question by:Schuyler Dorsey
  • 2

Accepted Solution

Numbid earned 2000 total points
ID: 39576977
LVL 126
ID: 39576994
You must use Multicast Mode.

and what the articles do not mention is Static ARP Entries on your switches!

and make sure you also allocate Static ARP Entries to ALL your physical switch ports, against mac address and IP Address for your cluster.

e.g. if using Cisco see example from our switches

arp 03bf.c0a8.0107 ARPA
arp 03bf.ac10.f104 ARPA
arp 03bf.c0a8.0100 ARPA
arp 03bf.ac10.f10b ARPA
arp 03bf.ac10.f007 ARPA
arp 03bf.ac10.f108 ARPA
arp 03bf.ac10.f107 ARPA
arp 03bf.ac10.f005 ARPA
arp 03bf.c0a8.0100 ARPA

the above IP Addresses are the IP Address of the Cluster IP, and MAC Address of the Multicast Address
LVL 10

Author Comment

by:Schuyler Dorsey
ID: 39577190
Thanks for the info all!

I opted to configure it for unicast mode because I didn't really want to configure static arp entries in my switches.

I had 2 vnics for each VM and dedicated one on each as the nlb nic. Then on the vswitch in each host, you have to ACCEPT forged transmits.
LVL 126
ID: 39577240
Multicast is the recommended option for VMware vSphere.

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
The following article describes how to recreate the VMDK file of a virtual machine. It is important that this file is always in the datastore where the VM is stored, because if the VM is not present, it will not be able to turn on and an error …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question