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

igmp querier address

robfantini
Aspirant

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-C...

 

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?

 

Model: GSM7352S|ProSAFE 48-port Gigabit L3 Stackable Switch
Message 1 of 14

Accepted Solutions
Hopchen
Prodigy

Re: igmp querier address

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

View solution in original post

Message 8 of 14

All Replies
robfantini
Aspirant

Re: igmp querier address

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

 

Message 2 of 14
robfantini
Aspirant

Re: igmp querier address

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
Message 3 of 14
DaneA
NETGEAR Employee Retired

Re: igmp querier address

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

Message 4 of 14
robfantini
Aspirant

Re: igmp querier address

could you please point to information on how to determine a 'appropriate switch virtual interface ' ?

 

thank you for the help so far. 

Message 5 of 14
DaneA
NETGEAR Employee Retired

Re: igmp querier address

@robfantini,

 

The switch virtual interface is the IP Address you have assigned on a specific VLAN.  This is best described if you have configured VLAN Routing on the switch.  In order to route between VLANs, VLAN interfaces must have IP addresses.  For example: VLAN 10 has a network IP Address of 192.168.10.0.  You can assign an IP Address to VLAN 10 such as 192.168.10.1 or 192.168.10.254.   

 

 

Regards,

 

DaneA
NETGEAR Community Team

Message 6 of 14
robfantini
Aspirant

Re: igmp querier address

the switch is already set up to do vlan routing, and each vlan has a routing address like 10.1.10.1  , 10.1.15.1  etc.

 

 questions:

 

Is it good practice to use those routing addresses?

 

 

Message 7 of 14
Hopchen
Prodigy

Re: igmp querier address

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

Message 8 of 14
robfantini
Aspirant

Re: igmp querier address

So this is what I ended up doing,   any comments on  good, bad or ugly appreciated:

(GSM7352Sv2) >enable 

(GSM7352Sv2) #configure 
(GSM7352Sv2) (Config)#set igmp
(GSM7352Sv2) (Config)#set igmp querier 
(GSM7352Sv2) (Config)#set igmp querier address 1.1.1.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..................................... Enable
Multicast Control Frame Count.................. 141041
IGMP header validation......................... Enabled
Interfaces Enabled for IGMP Snooping........... None
VLANs enabled for IGMP snooping................ 10
                                              15
Message 9 of 14
Hopchen
Prodigy

Re: igmp querier address

Looks fine yeah.

 

Notice for your VLAN 10, the Querier VLAN Address is 0.0.0.0. The reason for this is because you can configure a querier two ways:
1. Set a "global" querier address for all VLANs on that switch, which is what you did.
2. Set a unique querier address for each individual VLAN. That can be useful in certain scenarios where you might want switch A to be the querier for VLAN x and switch B to be querier for vlan y.

 

Most people would probably be fine with the first option, as you have done as well.

 

Don't forget that you still need to configure IGMP snooping as well, on the switch(es).


Cheers

Message 10 of 14
robfantini
Aspirant

Re: igmp querier address

re: Don't forget that you still need to configure IGMP snooping as well, on the switch(es).

 

I'll research in depth later .   in mean time using web/gui  I did this:

 

1- at IGMP Global Configuration -   I enabled.

 

2- at GMP Routing Interface Configuration - I enabled adminn mode for the 2 vlans.

 

 

 

 

Message 11 of 14
Hopchen
Prodigy

Re: igmp querier address

I would set it up one of two ways: per VLAN or global.

 

Global
Enable IGMP snooping.
Enable IGMP snooping on your ports under the IGMP interface configuration.
Enable multicast router mode on the ports that uplinks to the other switches.
Enable IGMP Querier
Set a global Querier IP address (1.1.1.1 and next switch 2.2.2.2, etc.) 

 

Per VLAN
Enable IGMP snooping.
Enable IGMP snooping on your VLANs under the IGMP VLAN configuration.
Enable multicast router mode on the ports that uplinks to the other switches.
Enable IGMP Querier
Leave the global address at 0.0.0.0.
Set instead a Querier IP address per VLAN under the Querier VLAN configuration (VLAN10=1.1.1.10 and VLAN15=1.1.1.15. Next switch VLAN10=2.2.2.10 and VLAN15=2.2.2.15, etc).
Make sure “Querier Election Participation Mode” is enabled for each VLAN.

 

My preference is per VLAN because it gives more control. Say, in some VLANs I might not want snooping to occur, while in others I do. So, I am more comfortable with that config.

 

 

Hope that helps 🙂

Message 12 of 14
robfantini
Aspirant

Re: igmp querier address

thank you for that.   as suggested I used the per vlan mode.  it is a great help to have your advise on this forum!

Message 13 of 14
Hopchen
Prodigy

Re: igmp querier address

No problem at all. Happy to help 🙂

Message 14 of 14
Top Contributors
Discussion stats
  • 13 replies
  • 21921 views
  • 1 kudo
  • 3 in conversation
Announcements