-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for configurable IGMP query interval #31
Comments
Hi, that's a TODO. The code in
At least the query interval I'd like to see a global option for. I'll try to make it into the 2.2.0 release, but I'm quite busy with figuring out some RP issues and fragmentation support in register tunnel messages on Linux. |
Hi troglobit |
Reopening for my own book keeping, and for referencing GIT commits to :) |
…ble. Signed-off-by: Joachim Nilsson <[email protected]>
Pending audit and test before being merged to master. |
IGMPv2 and IGMPv3 mandates that Other Querier Present Interval MUST be: "((the Robustness Variable) times (the Query Interval)) plus (one half of one Query Response Interval)." The idea is that you adjust robustness according to the expected packet loss in the network, and the Query Interval is adjusted according to desired level of IGMP traffic. Allowing users to adjust the interval directly, allow users to create configurations which violates spec and would result in loss of multicast traffic. So ideally, default_igmp_querier_timeout is replaced by a default_igmp_robustness configuration parameter. Judging from the code, this would require quite a few changes to the code, though, so perhaps default_igmp_querier_timeout should just be removed and internally default to IGMP_ROBUSTNESS_VARIABLE * default_igmp_query_timeout() + IGMP_QUERY_RESPONSE_INTERVAL / 2. Also, Query Response Interval is required to be less than the Query Interval, so it should probably warn if the default_igmp_query_interval is less than or equal to IGMP_QUERY_RESPONSE_INTERVAL. |
Why yeah, I'm aware of the standard ... but I'd rather look more to what the de-facto market leader Looking at Cisco, as far as I can see they have the robustness value hard-coded and do not However, Juniper does things more along the standard lines. With the net effect being For me, being able to manually tweak the querier-timeout, like Cisco, and keeping the I don't know if you noticed but if the querier-timeout is not given, only query-interval, |
Signed-off-by: Joachim Nilsson <[email protected]>
Added two sanity checks to IGMP querier timeout setting:
For both cases the recommended setting is logged, along with the algorithm. I hope this is acceptable to you @pchri03 ... ? Regards |
…ble. With sanity checks of IGMP querier timeout setting. Signed-off-by: Joachim Nilsson <[email protected]>
Merged to master, closing. |
hello
just wanted to ask. can be somehow the igmp query changed? currently igmp query (v2) was sent out every ~2 minutes. it is possible to change it somehow? is there any configuration directive - global or per phyint to change this behavior?
thank you
The text was updated successfully, but these errors were encountered: