Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Sample Configuration - Network Load Balancing (NLB) unicast mode configuration (1006778)
Purpose
- Two machines running Windows Server 2003 or later.
- Each machine needs at least two network cards and at least one fixed IP address.
- VMware recommends having two adapters in each machine for best performance.
- One adapter mapped to the real IP address (Microsoft refers to this as the Dedicated IP), and one mapped to the virtual IP address (Microsoft refers to this as the Cluster IP).
- A second network card is required for communication between the servers.
- A benefit of unicast mode is that it works out of the box with all routers and switches (since each network card only has one MAC address).
- In unicast mode, since all hosts in the cluster have the same MAC and IP address, they do not have the ability to communicate with each other via their NLB network card.

Resolution
- NLB unicast mode requires two NICs.
- Add two virtual NICs to NLB-configured virtual machines.
- Use the Add New Hardware wizard to add new hardware to the virtual machine. The virtual hardware that you add appears in the hardware list displayed in the Virtual Machine Properties wizard. The selected guest operating system determines the devices that are available to be added to a given virtual machine.
- Add an Ethernet adapter (NIC):
- Start the Add Hardware wizard.
- Click Ethernet Adapter, then click Next.
- In the Network connection panel, choose either a named network with a specified label or a legacy network.
- To connect the virtual NIC when the virtual machine is powered on, select Connect at power on.
- To complete the wizard, click Finish.
- ESXi/ESX vSwitch properties Notify Switches = NO
- Unicast mode reassigns the station (MAC) address of the network adapter for which it is enabled and all cluster hosts are assigned the same MAC (media access control) address. You cannot have ESXi/ESX send ARP or RARP to update the physical switch port with the actual MAC address of the NICs as this breaks the unicast NLB communication.
- ESXi/ESX vSwitch security properties must be set to default, Forged Transmits = Accept.
- VMware recommends configuring the cluster to use NLB multicast mode even though NLB unicast mode should function correctly if you complete these steps. This recommendation is based on the possibility that the settings described in these steps might affect vMotion operations on virtual machines. Also, unicast mode forces the physical switches on the LAN to broadcast all NLB cluster traffic to every machine on the LAN. For more information on the differences between multicast and unicast, see Microsoft Network Load Balancing Multicast and Unicast operation modes (1006580). If you plan to use NLB unicast mode, note that:
- NLB Unicast members can be on the same ESX host or on different ESX hosts.The client machine that connects to the NLB cluster must communicate to the cluster via a physical switch. The reason for this is that NLB Unicast relies on port flooding to reach all cluster members and the virtual switch does not port flood unicast traffic.To ensure traffic between client and cluster always goes through a physical switch, the client and NLB cluster should be on separate broadcast domains
- vMotion for unicast NLB virtual machines is not supported (unless you want to migrate all NLB members to a different ESXi/ESX host).
- For troubleshooting information, see Microsoft NLB not working properly in Unicast Mode (1556).
- Unicast NLB is not supported on the Cisco Nexus 1000V Switches, except version 4.2(1) SV1(5.1) and later. For more information, see the Cisco Nexus 1000v Layer 2 Switching Configuration Guide, Release 4.2(1)SV(5.1).
Note: The preceding link was correct as of August 4, 2014. If you find the link is broken, provide feedback and a VMware employee will update the link.
Example screen shots:
ipconfig command output

The vSwitch Properties dialog box in vSphere Client

Additional Information
Windows XP and Windows Server 2003 use the weak host model for sends and receives for all IPv4 interfaces, and the strong host model for sends and receives for all IPv6 interfaces. You cannot configure this behavior.
The Next Generation TCP/IP stack in Windows Vista and Windows Server 2008 supports strong host sends and receives for both IPv4 and IPv6 by default on all interfaces, except the Teredo tunneling interface for a Teredo host-specific relay. For more information, see Strong and Weak Host Models on the Microsoft TechNet site.
Note: The preceding link was correct as of August 4, 2014. If you find the link is broken, provide feedback and a VMware employee will update the link.
To change this behavior and revert to the weak host model (which was used in Server 2003), open a Windows command prompt and run these commands:
netsh interface ipv4 set interface "Local Area Connection" weakhostreceive=enable
netsh interface ipv4 set interface "Local Area Connection" weakhostsend=enableTo verify that the changes are in effect, run the command:
netsh interface ipv4 show interface "Local Area Connection"Where
Local Area Connection is the name of the network interface obtained from running ipconfig /all from a Windows command prompt.For related information, see Sample Configuration - Network Load Balancing (NLB) Multicast Mode Configuration (1006558).
See Also
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

