NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

robfantini's avatar
robfantini
Aspirant
Jul 30, 2017
Solved

igmp querier address

we run two linux clusters. they use different vlans.   they are attached to the stack using  LAGS .

Now we need to set up IGMP querier  and IGMP snooping .

 

Per this document 

https://kb.netgear.com/21777/How-do-I-enable-Internet-Group-Management-Protocol-IGMP-querier-using-CLI-commands-on-my-managed-switch 

 

these commands are used:

 

(Netgear switch) #vlan database
(Netgear switch) (vlan)#set igmp 1
(Netgear switch) (vlan)#set igmp querier 1
(Netgear switch) (vlan)#exit
(Netgear switch) #config
(Netgear switch) (config)#set igmp querier
(Netgear switch) (config)#set igmp querier address 10.10.10.1
(Netgear switch) (config)#exit

 

 

My questions:  'does the igmp querier address'  need to be part of the switch IP address subnet, or unique?

 

  • Hopchen's avatar
    Hopchen
    Aug 05, 2017

    Hi, 

     

    These querier addresses can be anything you want really. It is not any actual ip address. What is it then? It is used as part of an election process. There can only be one querier active in a network. If multiple queriers are configured then an election process will begin. Who will be elected the active querier? The switch that has the lowest ip address value configured, in the querier ip field. 

     

    So, it is not a good idea to set the querier ip to the same as the switch. It should instead be setup up as an election model. What I would do, is set querier address 1.1.1.1 on the switch I want to be igmp querier primarily. The others I would set 2.2.2.2, 3.3.3.3, etc. As a hierarchical system: if the current querier goes down then the switch with the next lowest querier ip value would take over as querier.

     

    This is important because you probably want your core/distribution switch to be the main querier.

     

    Cheers

13 Replies

Replies have been turned off for this discussion
  • This is what I've doen so far:

     

    (GSM7352Sv2) >enable 
    
    (GSM7352Sv2) #configure 
    (GSM7352Sv2) (Config)#set igmp querier 
    (GSM7352Sv2) (Config)#set igmp querier address 10.10.10.1
    (GSM7352Sv2) (Config)#exit
    
    (GSM7352Sv2) #vlan database 
    (GSM7352Sv2) (Vlan)#set igmp 10
    (GSM7352Sv2) (Vlan)#set igmp querier 10
    (GSM7352Sv2) (Vlan)#set igmp 15
    (GSM7352Sv2) (Vlan)#set igmp querier 15
    (GSM7352Sv2) (Vlan)#exit                          
    
    (GSM7352Sv2) #show igmpsnooping querier vlan 10
    
    VLAN 10  :   IGMP Snooping querier status
    ----------------------------------------------
    IGMP Snooping Querier VLAN Mode................ Enable
    Querier Election Participate Mode.............. Disable
    Querier VLAN Address........................... 0.0.0.0
    Operational State.............................. Disabled
    Operational version............................ 2
    
    
    (GSM7352Sv2) #show igmpsnooping
    
    Admin Mode..................................... Disable
    Multicast Control Frame Count.................. 0
    IGMP header validation......................... Enabled
    Interfaces Enabled for IGMP Snooping........... None
    VLANs enabled for IGMP snooping................ 10
                                                  15

     

    • robfantini's avatar
      robfantini
      Aspirant

      enabled admin mode:

      (GSM7352Sv2) #configure 
      (GSM7352Sv2) (Config)#set igmp
      (GSM7352Sv2) (Config)#exit
      
      (GSM7352Sv2) #show igmpsnooping
      
      Admin Mode..................................... Enable
      Multicast Control Frame Count.................. 0
      IGMP header validation......................... Enabled
      Interfaces Enabled for IGMP Snooping........... None
      VLANs enabled for IGMP snooping................ 10
                                                    15
      • DaneA's avatar
        DaneA
        NETGEAR Employee Retired

        Hi robfantini,

         

        As far as I know, the best practice is to use the IP address of the appropriate switch virtual interface as the IGMP Querier Address.  If ever the switch does not have a switch virtual interface, you can use an unused IP address within the same subnet as the target VLAN.  

         

        Let me share this forum thread and it might help as reference.  

         

         

        Regards,

         

        DaneA

        NETGEAR Community Team

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More