loader-logo

Windows Server NLB VIP Multicast Mode Through Cisco Switch

If you are unable to connect to a Windows Server Network Load Balancing (NLB) Virtual IP address configured for Multicast Mode it is because of the way your Cisco switch interacts with Microsoft NLB.

Symptoms

  • Cannot connect to Windows Server NLB Virtual IP address
  • Cannot ping Windows Server NLB Virtual IP address
  • Microsoft NLB Multicast Mode not working

I won’t go into the details of how NLB works but in short, client requests are distributed across different servers. To configure NLB, you can use three modes:

  • Unicast
  • Multicast
  • IGMP

Using Multicast Mode

When using Multicast mode, the cluster members will respond to ARPs using their virtual IP address and a multicast MAC address. Without the proper configuration on the switch you will not be able to connect to the Virtual IP address.

This will not work because within the ARP request packet is a unicast IP address and a multicast MAC address. Troubleshooting it can be frustrating but a Cisco switch will ignore this. Below is the configuration to be done on the switch.

Cisco Switch Configuration

To resolve the problem, create a static ARP entry for the Virtual IP Address to the NLB MAC address. Then create a static MAC address entry to the VLAN and interfaces used by the cluster.

In my case, my virtual IP address is 192.168.10.10 with MAC address of 03bf.0a65.05fa. That IP address is on VLAN 10 and the servers’ interfaces are part of a port-channel, both Port-Channel1 and Port-Channel2.

The following configuration is as follows:

arp 192.168.10.10 03bf.0a65.05fa
mac address-table static 03bf.0a65.05fa vlan 10 interface Port-Channel1 Port-Channel2

Some configuration items to note.. not all Cisco switches will support a static entry of a MAC address to multiple interfaces. In my case I am using a Cisco Catalyst 4500-X in VSS mode. The servers had two network interfaces configured into an EtherChannel.

Previous Article


5 thoughts on “Windows Server NLB VIP Multicast Mode Through Cisco Switch”

  1. Keith Miller says:

    Ran into this a couple of years ago when migrating from some 6500s/3750s to Nexus 7Ks, 5Ks and 2Ks. Was my first initiation to Microsoft NLB and a pain to try to troubleshoot in the middle of a migration. Good post!

    1. Hey Keith! Thanks for chiming in 🙂

      I ran into this again just a couple of days ago and had to reference my own post. Sometimes I post them on my blog so I can remember. Thanks for stopping by!

      1. Keith Miller says:

        No worries Rowell, was a great post.

        I’m starting to think the same thing. I’ve learned so much over the past couple of years, it’s hard to remember it all.

  2. maione says:

    Where did you find the MAC address of the VIP? I don’t see it listed anywhere.

    1. Hi maione,

      I found the VIP from the server using Windows NLB. There’s usually an interface that will display the VIP and the MAC address from the server side.

Leave a Reply to Keith Miller Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


[gravityforms id=16 title=false description=false]
<script type="text/javascript">var gform;gform||(document.addEventListener("gform_main_scripts_loaded",function(){gform.scriptsLoaded=!0}),window.addEventListener("DOMContentLoaded",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,initializeOnLoaded:function(o){gform.domLoaded&&gform.scriptsLoaded?o():!gform.domLoaded&&gform.scriptsLoaded?window.addEventListener("DOMContentLoaded",o):document.addEventListener("gform_main_scripts_loaded",o)},hooks:{action:{},filter:{}},addAction:function(o,n,r,t){gform.addHook("action",o,n,r,t)},addFilter:function(o,n,r,t){gform.addHook("filter",o,n,r,t)},doAction:function(o){gform.doHook("action",o,arguments)},applyFilters:function(o){return gform.doHook("filter",o,arguments)},removeAction:function(o,n){gform.removeHook("action",o,n)},removeFilter:function(o,n,r){gform.removeHook("filter",o,n,r)},addHook:function(o,n,r,t,i){null==gform.hooks[o][n]&&(gform.hooks[o][n]=[]);var e=gform.hooks[o][n];null==i&&(i=n+"_"+e.length),gform.hooks[o][n].push({tag:i,callable:r,priority:t=null==t?10:t})},doHook:function(n,o,r){var t;if(r=Array.prototype.slice.call(r,1),null!=gform.hooks[n][o]&&((o=gform.hooks[n][o]).sort(function(o,n){return o.priority-n.priority}),o.forEach(function(o){"function"!=typeof(t=o.callable)&&(t=window[t]),"action"==n?t.apply(null,r):r[0]=t.apply(null,r)})),"filter"==n)return r[0]},removeHook:function(o,n,t,i){var r;null!=gform.hooks[o][n]&&(r=(r=gform.hooks[o][n]).filter(function(o,n,r){return!!(null!=i&&i!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][n]=r)}});</script> <div class='gf_browser_unknown gform_wrapper gravity-theme' id='gform_wrapper_16' ><form method='post' enctype='multipart/form-data' id='gform_16' action='/unable-to-connect-to-windows-server-nlb-virtual-ip-address-through-cisco-switch/?replytocom=1036' > <div class='gform_body gform-body'><div id='gform_fields_16' class='gform_fields top_label form_sublabel_below description_below'><fieldset id="field_16_1" class="gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible" ><legend class='gfield_label gfield_label_before_complex' >Name<span class="gfield_required"><span class="gfield_required gfield_required_text">(Required)</span></span></legend><div class='ginput_complex ginput_container no_prefix has_first_name no_middle_name no_last_name no_suffix gf_name_has_1 ginput_container_name' id='input_16_1'> <span id='input_16_1_3_container' class='name_first' > <input type='text' name='input_1.3' id='input_16_1_3' value='' aria-required='true' placeholder='First Name' /> <label for='input_16_1_3' >First</label> </span> </div></fieldset><div id="field_16_2" class="gfield gfield--width-full gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible" ><label class='gfield_label' for='input_16_2' >Email<span class="gfield_required"><span class="gfield_required gfield_required_text">(Required)</span></span></label><div class='ginput_container ginput_container_email'> <input name='input_2' id='input_16_2' type='text' value='' class='large' placeholder='Business email address' aria-required="true" aria-invalid="false" /> </div></div><fieldset id="field_16_3" class="gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible" ><legend class='gfield_label gfield_label_before_complex' >Consent<span class="gfield_required"><span class="gfield_required gfield_required_text">(Required)</span></span></legend><div class='ginput_container ginput_container_checkbox'><div class='gfield_checkbox' id='input_16_3'><div class='gchoice gchoice_16_3_1'> <input class='gfield-choice-input' name='input_3.1' type='checkbox' value='I consent to the processing and sharing with partners of the personal data that I provide Packet 6 for this activity in accordance with and as described in the &lt;a href=&quot;https://packet6.com/privacy-policy&quot; target=&quot;_new&quot;&gt;Privacy Policy&lt;/a&gt;' id='choice_16_3_1' /> <label for='choice_16_3_1' id='label_16_3_1'>I consent to the processing and sharing with partners of the personal data that I provide Packet 6 for this activity in accordance with and as described in the <a href="https://packet6.com/privacy-policy" target="_new">Privacy Policy</a></label> </div></div></div></fieldset><div id="field_16_4" class="gfield gform_validation_container field_sublabel_below field_description_below gfield_visibility_visible" ><label class='gfield_label' for='input_16_4' >Phone</label><div class='ginput_container'><input name='input_4' id='input_16_4' type='text' value='' /></div><div class='gfield_description' id='gfield_description_16_4'>This field is for validation purposes and should be left unchanged.</div></div></div></div> <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_16' class='gform_button button' value='Get the report' onclick='if(window["gf_submitting_16"]){return false;} window["gf_submitting_16"]=true; ' onkeypress='if( event.keyCode == 13 ){ if(window["gf_submitting_16"]){return false;} window["gf_submitting_16"]=true; jQuery("#gform_16").trigger("submit",[true]); }' /> <input type='hidden' class='gform_hidden' name='is_submit_16' value='1' /> <input type='hidden' class='gform_hidden' name='gform_submit' value='16' /> <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' /> <input type='hidden' class='gform_hidden' name='state_16' value='WyJbXSIsImY4MGVlNTA5MGVjMWYzYzU5NzUyOGFhOWE3ZGFiMzRlIl0=' /> <input type='hidden' class='gform_hidden' name='gform_target_page_number_16' id='gform_target_page_number_16' value='0' /> <input type='hidden' class='gform_hidden' name='gform_source_page_number_16' id='gform_source_page_number_16' value='1' /> <input type='hidden' name='gform_field_values' value='' /> </div> <p style="display: none !important;"><label>&#916;<textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100"></textarea></label><input type="hidden" id="ak_js" name="ak_js" value="138"/><script>document.getElementById( "ak_js" ).setAttribute( "value", ( new Date() ).getTime() );</script></p></form> </div>