Bug 1333513
Summary: | backport multicast: Extend ip address command to enable multicast group join/leave on | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Eric Garver <egarver> |
Component: | iproute | Assignee: | Phil Sutter <psutter> |
Status: | CLOSED ERRATA | QA Contact: | Jaroslav Aster <jaster> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 7.3 | CC: | atragler, egarver, jaster, ralongi |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | iproute-3.10.0-69.el7 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-03 23:39:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eric Garver
2016-05-05 17:20:14 UTC
The following commit from upstream needs to be backported: commit e31867ac30cf95155d113bbfaedf6b99f98a677f Author: Madhu Challa <challa> Date: Wed Mar 4 10:30:10 2015 -0800 ip: enable configuring multicast group autojoin Joining multicast group on ethernet level via "ip maddr" command would not work if we have an Ethernet switch that does igmp snooping since the switch would not replicate multicast packets on ports that did not have IGMP reports for the multicast addresses. Linux vxlan interfaces created via "ip link add vxlan" have the group option that enables then to do the required join. By extending ip address command with option "autojoin" we can get similar functionality for openvswitch vxlan interfaces as well as other tunneling mechanisms that need to receive multicast traffic. example: ip address add 224.1.1.10/24 dev eth5 autojoin ip address del 224.1.1.10/24 dev eth5 Backport will probably be trivial. Hi Phil, there is no mention about new option in ip-address man page. Could you please fix it? Thanks. Changing the state to assigned. Could anyone confirm, that it works on ipv6? I tried to assign ipv6 multicast address to interface, but it failed, but I probably did something wrong :-). # ip -6 a add ff01::101 dev enp3s0f0 autojoin RTNETLINK answers: Cannot assign requested address Jaroslav, You can't add an IPv6 multicast address to an interface. The kernel will always return an error to iproute utils. However, the kernel will still generate a MLD report for the IPv6 multicast address. Examples for both IPv4 and IPv6 with TCP dumps --- # ipaddr add 224.1.1.5 dev ens3 autojoin # ip -6 addr add ff02::1234:5678 dev ens3 autojoi RTNETLINK answers: Cannot assign requested addres 14:37:28.629705 IP localhost.localdomain > 224.0.0.22: igmp v3 report, 1 group record(s) 0x0000: 46c0 0028 0000 4000 0102 f7ea 0a00 020f 0x0010: e000 0016 9404 0000 2200 f8f7 0000 0001 0x0020: 0400 0000 e001 0105 14:37:31.042768 IP6 localhost.localdomain > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 12 0x0000: 6000 0000 0088 0001 fe80 0000 0000 0000 0x0010: 5054 00ff fe12 3456 ff02 0000 0000 0000 0x0020: 0000 0000 0000 0016 3a00 0502 0000 0100 0x0030: 8f00 43ae 0000 0006 0300 0000 ff02 0000 0x0040: 0000 0000 0000 0000 1234 5678 0400 0000 0x0050: ff02 0000 0000 0000 0000 0001 ff03 0004 0x0060: 0400 0000 ff02 0000 0000 0000 0000 0001 0x0070: ff00 0000 0400 0000 ff05 0000 0000 0000 0x0080: 0000 0000 0000 0002 0400 0000 ff02 0000 0x0090: 0000 0000 0000 0000 0000 0002 0400 0000 0x00a0: ff02 0000 0000 0000 0000 0001 ff12 3456 Documentation patch sent upstream, awaiting acceptance: https://www.mail-archive.com/netdev@vger.kernel.org/msg119052.html Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2162.html |