Comware Based
1751716 Members
5810 Online
108781 Solutions
New Discussion

Problem to add static mac address

 
muralla
Advisor

Problem to add static mac address

Hi all,



I have a NLB cluster.



I want to add static mac address on the ports where the cluster are connect to not generate flood in other ports.



When i add the command to the port (mac-address static 000f-e20f-dc71  vlan 1) the switch gets a error message.



-Arp broadcast and multicast is not allowed ¡¡



Can anyone explain me the best form to add a NLB cluster to 5500g 24 ports switch... Why the command not works?



I have also add the command undo arp check enable..



 



Regards.



 



5 REPLIES 5
Fred_Mancen_1
Super Advisor

Re: Problem to add static mac address

I already implemented this feature with 5500G-EI using a manual link-aggregation group:




link-aggregation group 1 mode manual




link-aggregation group 1description SERVER_CONNECTION




int gi 1/0/N




port link-aggregation group 1




int gi 2/0/N




port link-aggregation group 1



To check the status:




display link-aggregation verbose 1




If your server is working in failover mode, one of the ports will be always in down state (unselected status in LAG).




If the server is working in active mode, the output will show you the status S (selected) in both ports.




When using multicast, you can assign the static MAC Address in the ports, issue the command undo arp check enable, but the feature works only in Layer 2.




Additionally, you must consider the virtual addresses of the NLB, not the physical. The command to add a static MAC address in the interface is:






<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

<meta content="Word.Document" name="ProgId" />

<meta content="Microsoft Word 11" name="Generator" />

<meta content="Microsoft Word 11" name="Originator" />





Normal

0

21





false

false

false















MicrosoftInternetExplorer4













mac-address multicast <virtual_mac-address_NLB> interface giga <port_number> vlan <vlan_id>



And a static ARP entry must be implemented to the virtual addresses of the NLB:






<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

<meta content="Word.Document" name="ProgId" />

<meta content="Microsoft Word 11" name="Generator" />

<meta content="Microsoft Word 11" name="Originator" />





Normal

0

21





false

false

false















MicrosoftInternetExplorer4













arp static <virtual_IP_address> <virtual_MAC_address>



To check the status:






<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

<meta content="Word.Document" name="ProgId" />

<meta content="Microsoft Word 11" name="Generator" />

<meta content="Microsoft Word 11" name="Originator" />





Normal

0

21





false

false

false















MicrosoftInternetExplorer4















display mac-address multicast



MAC ADDR        VLAN ID   STATE        PORT INDEX                AGING TIME(S)



03bf-ac10-0028  16         Config static GigabitEthernet1/0/1      NOAGED



                                         GigabitEthernet1/0/2      NOAGED



                                         GigabitEthernet1/0/3      NOAGED









HTH





Regards,
Fred Mancen
muralla
Advisor

Re: Problem to add static mac address

Thanks for the replye ¡¡¡



I go to try creating a manual agregation group. I post later if it works or not



 



Regards



muralla
Advisor

Re: Problem to add static mac address

It no works.



When i try to add the mac addres to the port it fails



mac-address multicast 03bf-0a00-048e interface GigabitEthernet 1/0/25


vlan 1


 



Add failed! The static,blackhole and multicast MAC can not be configured on the


port of an aggregation group!



Thanks



Fred_Mancen_1
Super Advisor

Re: Problem to add static mac address

Muralla, you have to choose one of the operations set: LAG or multicast mac-address static. If you have port security defined in the ports it would not work also.



Try first to add bind the ports to a LAG. If it works, you don't have to do nothing else.



But, if you need to use multicast in a cluster operating with multicast in the signalling method of the cluster settings you will have to setup the ports with the multicast mac-address features set.



Regards,
Fred Mancen
muralla
Advisor

Re: Problem to add static mac address

I had time to read your answer.


Finally, after several tests I added the mac to no lacp ports. I also noticed that STP does not block any port.


It seems to work.



 



Regards.



This message was edited by muralla on 3-4-10 @ 1:43 PM