08-19-2011 06:02 AM
Solved! Go to Solution.
09-29-2011 03:55 PM
You need the command from version 5.2(1)
mac address-table multicast 03bf.xxxx.xxxx vlan <y> interface <int1>
to use NLB in multicast mode on the Nexus 7000. The nexus 7000 does not support IGMP multicast mode. Please see
CSCtt00284 Document the limitation of mac address-table multicast
To help others
There are 3 modes to Microsoft Network Load Balancing (NLB)
1. 1.Unicast
2. 2.Multicast
3. 3.IGMP multicast (check the IGMP checkbox in the GUI while in multicast mode)
In general,every mode uses a different sending and receiving mac address while keeping the unicast virtual IP address (VIP) constant across all 3 modes. This concept makes switches flood traffic at layer 2 since the switch either never sees the destination mac address come in on any of its ports(and hence can’t learn it) or the multicast mac address floods. Either multicast mode, IGMP or normal multicast, also requires static ARP entries on the gateway router since Cisco routers will not learn an ARP reply with a multicast mac address tied to a unicast ip address.
Mac addresses in the 3 modes breakdown into the following components:
Summary of configuration
NLB mode | Switch configuration | Router configuration |
Unicast | Mac address-table static 02bf.xxxx.xxxx vlan y interface <int1> <int2> | Not required – unicast mac address with unicast ip address |
Multicast | Mac-address-table static 03bf.xxxx.xxxx vlan y interface <int1> <int2> n7k[5.2(1)]: mac address-table multicast 03bf.xxxx.xxxx vlan y interface <int1> <int2> | Arp <virtual IP address> 03-bh-xx-xx-xx-xx arpa |
IGMP multicast | Mac address-table static 01005exx.xxxx vlan y interface <int1> <int2> | Arp <virtual IP address> 01-00-5e-7f-xx-xx arpa |
08-19-2011 07:42 AM
Hi Danny,
In NX-OS, you put ARP entries on the L3 interface, so probably an SVI:
interface vlan 10
ip arp 10.156.2.132 03bf.0a9c.0284
Qestion #2) Your VLAN1 needs to be routed, where is your rouer? Can the router reach the other destinations?
I would suggest looking into using IGMP instead of this manual NLB configuration, it is very old and annoying to keep ARP entries and static mac entries.
Regards,
John
08-19-2011 11:15 AM
Hi Johgill,
Thanks very much for your reply. I did add this statement below to 7k switch with no luck.
7k is also acting as the router. I can ping to Nic#1 server1at 10.156.2.128 and server2 at 10.156.2.129.
But I was not able to ping to cluster virtual ip address 10.156.2.132 from 7k switch.
interface vlan 10
ip arp 10.156.2.132 03bf.0a9c.0284
any ideas??
Thanks,
Danny
08-19-2011 12:11 PM
Did you put the static mac address in as well on the N5k?
The ARP is needed on the 7k L3 interface, and the static mac is needed on n7k and on n5k.
Regards,
John
08-22-2011 12:12 PM
Hi John,
We tried to enter static entry in 7k
mac address-table static 03bf.0a9c.0284 vlan 10 interface Po2.
we received the following error:
mac address-table static 03bf.0a9c.0284 vlan 10 interface Po2
We are now running 5.(1) image on 7k. We called Cisco support. They verified that we must upgrate the image software to 5.(2) in order to perform the above command. We are going to upgrade the software soon. I will keep you posted. Thanks very much for all your help.
Thanks,
Danny.
08-22-2011 12:23 PM
Hi John,
Here is the error that we got from the previous reply:
We tried to enter static entry in 7k
mac address-table static 03bf.0a9c.0284 vlan 10 interface Po2.
we received the following error:
Error: Multicast/Broadcast MACs are not supported!
Thx,Danny.
09-29-2011 03:55 PM
You need the command from version 5.2(1)
mac address-table multicast 03bf.xxxx.xxxx vlan <y> interface <int1>
to use NLB in multicast mode on the Nexus 7000. The nexus 7000 does not support IGMP multicast mode. Please see
CSCtt00284 Document the limitation of mac address-table multicast
To help others
There are 3 modes to Microsoft Network Load Balancing (NLB)
1. 1.Unicast
2. 2.Multicast
3. 3.IGMP multicast (check the IGMP checkbox in the GUI while in multicast mode)
In general,every mode uses a different sending and receiving mac address while keeping the unicast virtual IP address (VIP) constant across all 3 modes. This concept makes switches flood traffic at layer 2 since the switch either never sees the destination mac address come in on any of its ports(and hence can’t learn it) or the multicast mac address floods. Either multicast mode, IGMP or normal multicast, also requires static ARP entries on the gateway router since Cisco routers will not learn an ARP reply with a multicast mac address tied to a unicast ip address.
Mac addresses in the 3 modes breakdown into the following components:
Summary of configuration
NLB mode | Switch configuration | Router configuration |
Unicast | Mac address-table static 02bf.xxxx.xxxx vlan y interface <int1> <int2> | Not required – unicast mac address with unicast ip address |
Multicast | Mac-address-table static 03bf.xxxx.xxxx vlan y interface <int1> <int2> n7k[5.2(1)]: mac address-table multicast 03bf.xxxx.xxxx vlan y interface <int1> <int2> | Arp <virtual IP address> 03-bh-xx-xx-xx-xx arpa |
IGMP multicast | Mac address-table static 01005exx.xxxx vlan y interface <int1> <int2> | Arp <virtual IP address> 01-00-5e-7f-xx-xx arpa |
09-29-2011 04:00 PM
I should add if you do IGMP multicast mode on, say, a 6500, you need to make sure that IGMP snooping has an mrouter port to prevent the IGMP snooping from dropping the IGMP joins to 239.255.x.x. I typically do this quick and dirty by turning on multicast routing and putting ip pim sparse-mode on the layer 3 gateway interface.
09-29-2011 04:22 PM
Good point - it is highly encouraged to use the IGMP mode of NLB from the network point of view. Supporting this age-old unicast IP/multicast mac trick keeps causing problems as we "forget" in modern network operating systems that some customers still rely on this. Microsoft, Stonebeat, and Checkpoint all support IGMP mode now.
NX-OS will also require an mrouter port in order to align the direction of IGMP membership reports (joins) and multicast data.
10-02-2011 05:02 PM
I want to update my last post. The Nexus 7000 business unit has indicated that they support IGMP multicast.
There are 3 different options for IGMP multicast mode (with the 4th for multicast mode):
Option 1: Static ARP + MAC-based L2 Multicast Lookups + Dynamic Joins (ip pim sparse-mode)
under the interface:
ip arp 10.0.36.28 0100.5e7f.241c
ip pim sparse-mode
under the vlan
layer-2 multicast lookup mac
Option 1A: Static ARP + MAC-based L2 Multicast Lookups + Dynamic Joins with IGMP Snooping Querier
under the interface:
ip arp 10.0.36.28 0100.5e7f.241c
under the vlan
ip igmp snooping querier 10.0.36.254
layer-2 multicast lookup mac
Option 2: Static ARP + MAC-based L2 Multicast Lookups + Static Joins + IP Multicast MAC
under the interface:
ip arp 10.0.36.28 0100.5e7f.241c
under the vlan
layer-2 multicast lookup mac
ip igmp snooping static-group <multicast IP address mapped from multicast mac address> interface Ethernet8/2
Option 2A: Static ARP + MAC-based L2 Multicast Lookups + Static Joins + Non-IP Multicast MAC (for multicast mode only)
under the interface:
ip arp 10.0.36.28 03bf.0a00.241c
under the vlan
layer-2 multicast lookup mac
global
mac address-table multicast 03bf.0a00.241c vlan 36 interface Ethernet8/2
NOTE: all options include a static ARP entry. The different methods are just different ways to limit layer 2 multicast flooding.
02-16-2012 05:35 AM
Good solutions. Do you know how to work it around on N1000v virtual switch on ESX host server? Because I have both N7K and N1K involved in the forwarding path to NLB servers. N1K also support IGMP, but not sure about "layer2-multicast lookup mac" since I didn't find this command on N1K. Any good suggestion? thanks.
by the way, My N7K is v5.2(1) while N1K is v4.0(4)
02-16-2012 06:19 AM
Hi Grisson,
please verify with Cisco prior to upgrading your N1k software to a new version to ensure that v.4.2 (1) supports
"Mac Static entry". We were able to enter Mac static address after upgrading our 7k to new version. NLB traffic from servers arre passing through ok since then.Hope this helps.
Thanks,
Danny.
04-03-2012 12:08 AM
Option 2: Static ARP + MAC-based L2 Multicast Lookups + Static Joins + IP Multicast MAC
under the interface:
ip arp 10.0.36.28 0100.5e7f.241c
under the vlan
layer-2 multicast lookup mac
ip igmp snooping static-group <multicast IP address mapped from multicast mac address> interface Ethernet8/2
on the above option, for N7K, do we have to change the multicast lookup mode from IP to mac, under the vlan, or the mac: 0100.5e7f.241c still flapping, even the N7K already enable ip igmp snooping?
04-03-2012 12:17 PM
First, the layer-2 multicast lookup command just determines whether to use layer 3 or layer 2 to generate the TCAM lookup key. In this case, we have a unicast ip address using a multicast mac address. So we want to use layer 2 as the lookup key since layer 3 is not a multicast IP address.
For mac flapping, it means the switch is learning (i.e. it is the source mac address for an incoming packet) the same exact mac address on 2 different ports. Typically, I have seen this when the server is misconfigured to use active/active on dual NICs with the same mac address.
Do you need to use layer 2 for the lookup? Yes. It can't use the unicast IP address in the static ARP entry to look up the forwarding information in the multicast FIB.
The second command for the static group essentially tells the router to put multicast packets with the defined multicast mac address (since it is mac based lookup, it translates the multicast ip address to a mac address) out that interface.
04-05-2012 12:41 AM
Thanks for your reply. I have the following questions, please kindly check them.
1. If we don't change the mutlicast lookup mode to mac, and don't config ip igmp snooping static-group, the packet with destination mac: 0100.5e7f.241c still flapping to other ports with the same vlan on N7K, right?
2. If we don't change the mutlicast lookup mode to mac, and config ip igmp snooping static-group, the packet with destination mac: 0100.5e7f.241c still flapping to other ports with the same vlan on N7K, right?
3. We have to change the mutlicast lookup mode to mac, and config ip igmp snooping static-group, the packet with destination mac: 0100.5e7f.241c won't be flapping to other ports with the same vlan on N7K, right?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide