Posted: Tue Feb 05, 2019 15:29 Post subject: Broadcom hardware IGMP snooping
Hi,
On Qualcomm Atheros switches, we can toggle IGMP snooping thanks to swconfig command :
swconfig dev switch0 set igmp_snooping 1
What about Broadcom switches (for example BCM4709) ?
Do they support IGMP snooping ?
Can we toggle it ? How ?
Or is it enabled by default ?
I did not manage to find a datasheet explaining this.
This option enables "IGMP snooping" at the bridge level only.
This will restrict the multicast flows to only one interface of the bridge (for example the vlan containing the ethernet switch ports), preventing the flows from reaching the other interfaces (the WiFi interfaces for example).
The option is then totally different than the hardware IGMP snooping capability of the ethernet switch (which will restrict the multicast flow to the concerned port only).
This option enables "IGMP snooping" at the bridge level only.
This will restrict the multicast flows to only one interface of the bridge (for example the vlan containing the ethernet switch ports), preventing the flows from reaching the other interfaces (the WiFi interfaces for example).
The option is then totally different than the hardware IGMP snooping capability of the ethernet switch (which will restrict the multicast flow to the concerned port only).
let me know if you find a way, i use the web gui option and my IPTV box gets stuck randomly.
This option enables "IGMP snooping" at the bridge level only.
This will restrict the multicast flows to only one interface of the bridge (for example the vlan containing the ethernet switch ports), preventing the flows from reaching the other interfaces (the WiFi interfaces for example).
The option is then totally different than the hardware IGMP snooping capability of the ethernet switch (which will restrict the multicast flow to the concerned port only).
let me know if you find a way, i use the web gui option and my IPTV box gets stuck randomly.
This option enables "IGMP snooping" at the bridge level only.
This will restrict the multicast flows to only one interface of the bridge (for example the vlan containing the ethernet switch ports), preventing the flows from reaching the other interfaces (the WiFi interfaces for example).
The option is then totally different than the hardware IGMP snooping capability of the ethernet switch (which will restrict the multicast flow to the concerned port only).
let me know if you find a way, i use the web gui option and my IPTV box gets stuck randomly.
Did you enable "Optimize Multicast Traffic" under Wireless settings?
thanks for the reply <Kong>,
yes, i have optimize multicast traffic enabled on both radios of R7000P. without enabling those the router will get stuck with massive wireless errors.
so what i did:
- enable "optimize multicast traffic" for both radios
- enable IGMP snooping (choose yes)
then apply and reboot.
channels on iptv would run then stop, randomly, the iptv box would say can't find media source. router is configured as AP, modem is a Huawei Gateway / Fiber.
Did you enable "Optimize Multicast Traffic" under Wireless settings?
Hi <Kong>,
Do you mean "Optimize Multicast Traffic" under Wireless settings could have an impact on the IGMP snooping feature of the Ethernet switch itself ?!
This option enables "IGMP snooping" at the bridge level only.
This will restrict the multicast flows to only one interface of the bridge (for example the vlan containing the ethernet switch ports), preventing the flows from reaching the other interfaces (the WiFi interfaces for example).
The option is then totally different than the hardware IGMP snooping capability of the ethernet switch (which will restrict the multicast flow to the concerned port only).
let me know if you find a way, i use the web gui option and my IPTV box gets stuck randomly.
Did you enable "Optimize Multicast Traffic" under Wireless settings?
thanks for the reply <Kong>,
yes, i have optimize multicast traffic enabled on both radios of R7000P. without enabling those the router will get stuck with massive wireless errors.
so what i did:
- enable "optimize multicast traffic" for both radios
- enable IGMP snooping (choose yes)
then apply and reboot.
channels on iptv would run then stop, randomly, the iptv box would say can't find media source. router is configured as AP, modem is a Huawei Gateway / Fiber.
That should do.
But R7000P might be the problem, have you tried same config on a non dhd unit. Not sure if it is implemented for DHD units. _________________ KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
This option enables "IGMP snooping" at the bridge level only.
This will restrict the multicast flows to only one interface of the bridge (for example the vlan containing the ethernet switch ports), preventing the flows from reaching the other interfaces (the WiFi interfaces for example).
The option is then totally different than the hardware IGMP snooping capability of the ethernet switch (which will restrict the multicast flow to the concerned port only).
let me know if you find a way, i use the web gui option and my IPTV box gets stuck randomly.
Did you enable "Optimize Multicast Traffic" under Wireless settings?
thanks for the reply <Kong>,
yes, i have optimize multicast traffic enabled on both radios of R7000P. without enabling those the router will get stuck with massive wireless errors.
so what i did:
- enable "optimize multicast traffic" for both radios
- enable IGMP snooping (choose yes)
then apply and reboot.
channels on iptv would run then stop, randomly, the iptv box would say can't find media source. router is configured as AP, modem is a Huawei Gateway / Fiber.
That should do.
But R7000P might be the problem, have you tried same config on a non dhd unit. Not sure if it is implemented for DHD units.
i do not think R7000P is the problem, at another location (family's) we have R7000 and R6300v2, exactly same behavior.
Posted: Wed Feb 06, 2019 16:08 Post subject: Re: Broadcom hardware IGMP snooping
deydey0 wrote:
What about Broadcom switches (for example BCM4709) ?
Do they support IGMP snooping ?
Can we toggle it ? How ?
Or is it enabled by default ?
I found this (2014-10-01):
https://dev.archive.openwrt.org/ticket/17954 Broadcom switches do not implement full MLD/IGMP snooping in hardware but are only able to redirect these packets to linux with additional information, which would then require a special driver to update the switch internal forwarding tables to match the joins/leaves/membership reports.
Posted: Wed Feb 06, 2019 17:10 Post subject: Re: Broadcom hardware IGMP snooping
deydey0 wrote:
deydey0 wrote:
What about Broadcom switches (for example BCM4709) ?
Do they support IGMP snooping ?
Can we toggle it ? How ?
Or is it enabled by default ?
I found this (2014-10-01):
https://dev.archive.openwrt.org/ticket/17954 Broadcom switches do not implement full MLD/IGMP snooping in hardware but are only able to redirect these packets to linux with additional information, which would then require a special driver to update the switch internal forwarding tables to match the joins/leaves/membership reports.
I'm however not sure it's still relevant...
And that is exactly how it is done on our firmware it uses broadcom igs module, if you do an lsmod you will see igs module loaded and you can check status with igs command line util.
E.g.:
root@DD-WRT:~# igs show stats br0
IgmpPkts IgmpQueries IgmpReports IgmpV2Reports IgmpLeaves
1 0 0 0 0
IgmpNotHandled McastGroups McastMembers MemTimeouts
1 0 0 0 _________________ KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Did you enable "Optimize Multicast Traffic" under Wireless settings?
so i think i found the problem. as i noted earlier, my router is set up as an AP. i enabled "assign WAN port to switch" too.
Fiber Gateway Lan port is connected to R7000P WAN Port (which is assigned to switch).
connecting the Fiber Gateway lan port to R7000P lan port solved the issue. its been only few hours but it looks fine, so it seems the driver cannot do IGMP snooping properly through WAN port even if it is assigned to the switch.
there is also a difference of traffic going through the vlans as well with the configurations noted above. screenshots attached.
i think we need to update the wiki article about multicast to simply talk about optimize multicast in wireless settings and enabling IGMP + a note for the switch ports as using the WAN port in an AP config will not allow IGMP snooping to function.
egc wrote:
dhd: probably Broadcom Dongle Host Driver?
Used with the wireless in certain Broadcom
routers?
Do not ask me which ones
But maybe a kernel module and should list with lsmod?
(not present on my R6400v1)
can you help with updating the wiki? otherwise who can? it would really save people good amount of time.
Joined: 18 Mar 2014 Posts: 12884 Location: Netherlands
Posted: Sun Feb 10, 2019 9:33 Post subject:
I am not a moderator, so I can not help with editing the wiki.
I know ian5142 and Malachi can and are active, you can PM them and ask. Ian is editing wiki's actively, and I occasionally ask Malachi to alter things.
One note about the assign WAN to switch, I once did speed testing, I think with my EA6900 and when the WAN port was assigned to the switch the throughput was about 500 Mb/s in contrast to the regular ports which were 900 Mb/s.
From then on I never used it again and never advised it. _________________ Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399 Install guide R7800/XR500:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614 Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087