<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Cluster Help : Network Load Balancing</title><link>http://msmvps.com/blogs/clusterhelp/archive/tags/Network+Load+Balancing/default.aspx</link><description>Tags: Network Load Balancing</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Exchange Server 2007 Hub Transport (HT) and Client Access Service (CAS) on the Same NLB Cluster - Updated Jan 9, 2008</title><link>http://msmvps.com/blogs/clusterhelp/archive/2007/10/05/exchange-server-2007-hub-transport-and-client-access-service-on-the-same-nlb-cluster.aspx</link><pubDate>Fri, 05 Oct 2007 15:47:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1232698</guid><dc:creator>cluster</dc:creator><slash:comments>0</slash:comments><description>In order to keep the number of servers down in a high availability environment, administrators have been looking at using Network Load Balancing (NLB) for CAS and then co-locating the HT role on each node of the NLB cluster to also provide high availability...(&lt;a href="http://msmvps.com/blogs/clusterhelp/archive/2007/10/05/exchange-server-2007-hub-transport-and-client-access-service-on-the-same-nlb-cluster.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1232698" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/clusterhelp/archive/tags/Network+Load+Balancing/default.aspx">Network Load Balancing</category><category domain="http://msmvps.com/blogs/clusterhelp/archive/tags/Exchange/default.aspx">Exchange</category></item><item><title>Network Load Balancing and MAC Addresses</title><link>http://msmvps.com/blogs/clusterhelp/archive/2006/06/24/network-load-balancing-and-mac-addresses.aspx</link><pubDate>Sun, 25 Jun 2006 03:40:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:102772</guid><dc:creator>cluster</dc:creator><slash:comments>0</slash:comments><description>I learned something new yesterday. It kind of flipped me out, but now it almost makes sense. You can try this to confirm. From a client, ping the IP address of your NLB cluster. From the same client, run arp -a fom the command prompt. You should see something...(&lt;a href="http://msmvps.com/blogs/clusterhelp/archive/2006/06/24/network-load-balancing-and-mac-addresses.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=102772" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/clusterhelp/archive/tags/Network+Load+Balancing/default.aspx">Network Load Balancing</category></item><item><title>Network Load Balancing (NLB) and Network Interface Card (NIC) Teaming</title><link>http://msmvps.com/blogs/clusterhelp/archive/2006/06/05/network-load-balancing-nlb-and-network-interface-card-nic-teaming.aspx</link><pubDate>Tue, 06 Jun 2006 03:48:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:99532</guid><dc:creator>cluster</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The quick summary of this post is, &amp;quot;Don&amp;#39;t use NLB on teamed NICs.&amp;quot; &lt;/p&gt;
&lt;p&gt;Microsoft clearly says that NIC teaming &amp;quot;may&amp;quot; cause problems with NLB in &lt;a href="http://support.microsoft.com/kb/278431"&gt;KB 278431&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;This is where things get confusing, because the issue is just that; it may be a problem. The reasoning is really fairly simple. Teaming software, in many cases,&amp;nbsp;overwrites the MAC address of the individual NICs in the team. Well, NLB, in Unicast, also overwrites the MAC address. So, the problem is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Will the teaming software allow the overwrite behavior of Unicast?&lt;/li&gt;
&lt;li&gt;Will the teaming software handle the failure of a NIC in the team and the overwrite process of NLB in the event of a NIC failure?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The answers are, it might not allow the overwrite in Unicast, and it might not behave properly in the event of a NIC failure and passing of the MAC to the other NIC in the team. Thus, the &amp;quot;may&amp;quot; statement earlier. &lt;/p&gt;
&lt;p&gt;The way it needs to work is that teaming software for NICs nees to support the overwrite of MAC addresses. Many vendors do now provide this support. A workaround exists allowing the team MAC address to be set directly through the management tool. Compaq/HP, for example, defaults to the MAC address of the primary adapter. After NLB sets the MAC on the virtual adapter (the NIC team), the Compaq/HP software does not propagate the MAC address to the physical adapters. To make it work, you have to copy the NLB MAC and paste it into the team MAC in the management software. Workarounds and High Availability environments can not be used in the same sentence, thus, this is not a best practice. &lt;/p&gt;
&lt;p&gt;My contention is simple: Since we can&amp;#39;t guarantee transparncy of failure of the&amp;nbsp;team and how it allows NLB overwrites of the MAC (this is a hardware driver issue that Microsoft can not guarantee will behave properly), it should be considered a best practice to not use teaming for NLB NICs. &lt;/p&gt;
&lt;p&gt;By the way, this behavior does not change in Longhorn.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=99532" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/clusterhelp/archive/tags/Network+Load+Balancing/default.aspx">Network Load Balancing</category></item><item><title>Unicast vs. Multicast - Original Posted Feb 21, 2005</title><link>http://msmvps.com/blogs/clusterhelp/archive/2005/08/07/unicast-vs-multicast-original-posted-feb-21-2005.aspx</link><pubDate>Sun, 07 Aug 2005 16:33:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:61965</guid><dc:creator>cluster</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As usual, confusion motivates me to blog some more. In this case, I have blogged this because I was confused, and I am pretty sure that I have it straight now. Comments may prove me wrong. &lt;img height="19" src="http://spaces.msn.com/mmm2005-01-24_16.34/RTE/emoticons/smile_teeth.gif" width="19" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;When designing, planning, testing, and implementing Network Load Balancing (NLB) Clustering, a choice has to be made regarding unicast vs. multicast.&amp;nbsp;There are a few differences, but the main difference is in the way MAC addresses are implemented. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Unicast&lt;/strong&gt; - Each NLB cluster node replaces its real (hard coded) MAC address with a new one (generated by the NLB software) and each node in the NLB cluster uses the same (virtual) MAC. Because of this virtual MAC being used by multiple computers, a switch is not able to learn the port for the virtual NLB cluster MAC and is forced to send the packets destined for the NLB MAC to all ports of a switch to make sure packets get to the right destination. &lt;/p&gt;
&lt;p&gt;So, basically, the way NLB traffic is handled is kind of like this:&lt;/p&gt;
&lt;p&gt;1. An inbound packet for IP address w.x.y.z (NLB Virtual IP) arrives&lt;br /&gt;2. The ARP request is generated and is sent across all ports of the switch since there is no mapping at this point&lt;br /&gt;3. All of the NLB cluster nodes respond with the same MAC&lt;br /&gt;4. The switch sends the traffic to all ports because it is not able to tell which is the proper port and this leads to switch flooding&lt;/p&gt;
&lt;p&gt;If an NLB cluster node&amp;nbsp;is using unicast, NLB isn&amp;#39;t able to tell each node apart as they all have the same MAC. Since each NLB cluster node has the same MAC, communication between NLB cluster nodes is not possible unless each NLB cluster node has an additional NIC with a unique MAC.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Multicast&lt;/strong&gt; - NLB adds a layer 2 MAC address to the NIC of each node. Each NLB cluster node basically has two MAC addresses, its real one and its NLB generated address. With multicast, you can create static entries in the switch so that it sends the packets only to members of the NLB cluster. Mapping the address to the ports being used by the NLB cluster stops all ports from being flooded. Only the mapped ports will receive the the packets for the NLB cluster instead of all ports in the switch. If you don&amp;#39;t create the static entries, it will cause switch flooding just like in unicast. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Flooding Solutions&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Hook all NLB devices to a hub and then connect it to a port on the switch. Since all NLB nodes with the same MAC come through the same port, there is no switch port flooding.&lt;/li&gt;
&lt;li&gt;Configure a VLAN for all NLB cluster nodes to contain all NLB cluster traffic to just the VLAN and not run it over the entire switch.&lt;/li&gt;
&lt;li&gt;Use multicast and configure static mapping for the NLB cluster nodes in the switch so it only floods the mapped ports instead of the entire switch.&lt;/li&gt;
&lt;li&gt;Use port mirroring so that all ports involved in the NLB cluster mirror each other.&lt;/li&gt;&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=61965" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/clusterhelp/archive/tags/Network+Load+Balancing/default.aspx">Network Load Balancing</category></item><item><title>NLB Unicast vs. Multicast - Original Posted Feb 21, 2005</title><link>http://msmvps.com/blogs/clusterhelp/archive/2005/08/05/nlb-unicast-vs-multicast-original-posted-feb-21-2005.aspx</link><pubDate>Fri, 05 Aug 2005 18:48:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:61709</guid><dc:creator>cluster</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As usual, confusion motivates me to blog some more. In this case, I have blogged this because I was confused, and I am pretty sure that I have it straight now. Comments may prove me wrong. &lt;img height="19" src="http://spaces.msn.com/mmm2005-01-24_16.34/RTE/emoticons/smile_teeth.gif" width="19" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;When designing, planning, testing, and implementing Network Load Balancing (NLB) Clustering, a choice has to be made regarding unicast vs. multicast.&amp;nbsp;There are a few differences, but the main difference is in the way MAC addresses are implemented. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Unicast&lt;/strong&gt; - Each NLB cluster node replaces its real (hard coded) MAC address with a new one (generated by the NLB software) and each node in the NLB cluster uses the same (virtual) MAC. Because of this virtual MAC being used by multiple computers, a switch is not able to learn the port for the virtual NLB cluster MAC and is forced to send the packets destined for the NLB MAC to all ports of a switch to make sure packets get to the right destination. &lt;/p&gt;
&lt;p&gt;So, basically, the way NLB traffic is handled is kind of like this:&lt;/p&gt;
&lt;p&gt;1. An inbound packet for IP address w.x.y.z (NLB Virtual IP) arrives&lt;br /&gt;2. The ARP request is generated and is sent across all ports of the switch since there is no mapping at this point&lt;br /&gt;3. All of the NLB cluster nodes respond with the same MAC&lt;br /&gt;4. The switch sends the traffic to all ports because it is not able to tell which is the proper port and this leads to switch flooding&lt;/p&gt;
&lt;p&gt;If an NLB cluster node&amp;nbsp;is using unicast, NLB isn&amp;#39;t able to tell each node apart as they all have the same MAC. Since each NLB cluster node has the same MAC, communication between NLB cluster nodes is not possible unless each NLB cluster node has an additional NIC with a unique MAC.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Multicast&lt;/strong&gt; - NLB adds a layer 2 MAC address to the NIC of each node. Each NLB cluster node basically has two MAC addresses, its real one and its NLB generated address. With multicast, you can create static entries in the switch so that it sends the packets only to members of the NLB cluster. Mapping the address to the ports being used by the NLB cluster stops all ports from being flooded. Only the mapped ports will receive the the packets for the NLB cluster instead of all ports in the switch. If you don&amp;#39;t create the static entries, it will cause switch flooding just like in unicast. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Flooding Solutions&lt;/strong&gt;:&lt;br /&gt;1. Hook all NLB devices to a hub and then connect it to a port on the switch. Since all NLB nodes with the same MAC come through the same port, there is no switch port flooding.&lt;br /&gt;2. Configure a VLAN for all NLB cluster nodes to contain all NLB cluster traffic to just the VLAN and not run it over the entire switch.&lt;br /&gt;3. Use multicast and configure static mapping for the NLB cluster nodes in the switch so it only floods the mapped ports instead of the entire switch.&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=61709" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/clusterhelp/archive/tags/Network+Load+Balancing/default.aspx">Network Load Balancing</category></item></channel></rss>