Configuration options for WLBS hosts connected to layer 2 switches
When the cluster network adapter of each WLBS host connects to a port on a layer 2 switch (the same switch) instead of a hub, the switch tries to determine the media access control (MAC) address of the computer connected to each of its ports. As a result, the switch can associate a port to a MAC address. Ethernet switches send frames to a MAC address through the port associated with the MAC address. If a switch associates the cluster's MAC addresses to one of its ports, WLBS cannot correctly load-balance the traffic. There are several methods to configure WLBS to prevent a switch from associating the cluster's MAC address. The following sections describe these methods.
UnicastNote: For best results, configure the default gateway so that the default gateway address is set on the cluster/WLBS Virtual adapter. Do not set the gateway address for the administrative network adapter in the TCP/IP configuration dialog.
With this configuration, requests to the cluster move through the cluster network adapter, and the appropriate host also replies through the cluster network adapter because this network adapter has the gateway information associated with it. The host's administrative network adapters connect to a dedicated hub that is either not connected to the network or connected to a router or switch for a different subnet. The administrative network adapters and cluster adapters cannot use the same subnet.
Masking the WLBS Cluster MAC AddressWhen you use unicast, keep the
Note In Microsoft Windows Server 2003, the MaskSourceMAC value is located in the following registry key:
Using a HubTo use a hub, follow these steps:
- Set the MaskSourceMACvalue to 0 on all WLBS nodes.
- Connect all the cluster network adapters to a hub.
- Uplink the hub to a switch port.
- Connect the dedicated network adapter to a free switch port.
This configuration permits the switch to determine the WLBS cluster MAC address. This eliminates port flooding without the use a virtual LAN. This configuration has a bandwidth limitation on the hub, however it automatically improves the pipelining of traffic, and minimizes collisions.
MulticastNote When the local router must send a packet to the virtual IP address, the local router uses address resolution protocol (ARP) to determine the virtual IP's MAC address. WLBS replies to these ARP requests. When you mask the source MAC address, the ARP response from WLBS has a substitute source MAC address in the Ethernet frame, but contains the correct cluster MAC address in the ARP header. Some routers cannot make this ARP mapping and must make a static ARP entry in the router. For additional information about static ARP requirements, click the following article number to view the article in the Microsoft Knowledge Base:
Article ID: 193602 - Last Review: 12/05/2015 09:22:52 - Revision: 4.6
- kbnosurvey kbarchive kbproductlink kbinfo KB193602