Link to home
Start Free TrialLog in
Avatar of Schuyler Dorsey
Schuyler DorseyFlag for United States of America

asked on

MS Network Load Balancer and VMWare

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.

Ideas?
ASKER CERTIFIED SOLUTION
Avatar of Numbid
Numbid
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
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 192.168.1.199 03bf.c0a8.0107 ARPA
arp 172.66.241.20 03bf.ac10.f104 ARPA
arp 192.168.1.80 03bf.c0a8.0100 ARPA
arp 172.66.241.43 03bf.ac10.f10b ARPA
arp 172.66.240.39 03bf.ac10.f007 ARPA
arp 172.66.241.56 03bf.ac10.f108 ARPA
arp 172.66.241.55 03bf.ac10.f107 ARPA
arp 172.66.240.245 03bf.ac10.f005 ARPA
arp 192.168.1.128 03bf.c0a8.0100 ARPA

the above IP Addresses are the IP Address of the Cluster IP, and MAC Address of the Multicast Address
Avatar of Schuyler Dorsey

ASKER

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.
Multicast is the recommended option for VMware vSphere.