So far, core OVN has very limited support for multicast traffic. In order to cover certain use cases like NFV (for example, IPTV), we'll need this to be implemented and covered by automation.
test mcast related parameters: on server: [root@ibm-x3650m5-03 bz1672278]# bash -x setup.sh + systemctl start openvswitch + systemctl start ovn-northd + ovn-nbctl set-connection ptcp:6641 + ovn-sbctl set-connection ptcp:6642 + ovs-vsctl set Open_vSwitch . external-ids:system-id=hv1 external-ids:ovn-remote=tcp:20.0.97.25:6642 external-ids:ovn-encap-type=geneve external-ids:ovn-encap-ip=20.0.97.25 + systemctl start ovn-controller + ip link add veth0_s0 type veth peer name veth0_s0_p + ip netns add server0 + ip link set veth0_s0 netns server0 + ip netns exec server0 ip link set veth0_s0 address 00:00:00:00:00:02 + ip netns exec server0 ip link set veth0_s0 up + ip netns exec server0 ip addr add 1.1.1.2/24 dev veth0_s0 + ip link set veth0_s0_p up + ovs-vsctl add-port br-int veth0_s0_p + ovs-vsctl set interface veth0_s0_p external-ids:iface-id=ls1p2 + ovn-nbctl ls-add ls1 + ovn-nbctl lsp-add ls1 ls1p1 + ovn-nbctl lsp-set-addresses ls1p1 00:00:00:00:00:01 + ovn-nbctl lsp-add ls1 ls1p2 + ovn-nbctl lsp-set-addresses ls1p2 00:00:00:00:00:02 + ovn-nbctl set logical_switch ls1 other_config:mcast_qurier=true other_config:mcast_snoop=true other_config:mcast_query_interval=10 other_config:mcast_eth_src=00:00:00:00:00:03 other_config:mcast_ip4_src=1.1.1.100 other_config:mcast_idle_timeout=15 other_config:mcast_query_max_response=2 [root@ibm-x3650m5-03 bz1672278]# ovn-sbctl list ip_multicast _uuid : d93567bd-cde8-4acb-86ba-27fe92e31356 datapath : 6f0cf46e-0a37-4921-930d-132c90cdb386 enabled : true eth_src : "00:00:00:00:00:03" idle_timeout : 15 ip4_src : "1.1.1.100" querier : true query_interval : 10 query_max_resp : 2 seq_no : 0 table_size : 2048 on client: [root@ibm-x3650m4-01 bz1672278]# bash -x setup.sh + systemctl start openvswitch + systemctl start ovn-northd + ovn-sbctl set-connection ptcp:6642 + ovn-nbctl set-connection ptcp:6641 + ovs-vsctl set Open_vSwitch . external-ids:system-id=hv0 external-ids:ovn-remote=tcp:20.0.97.25:6642 external-ids:ovn-encap-type=geneve external-ids:ovn-encap-ip=20.0.97.26 + systemctl start ovn-controller + ip link add veth0_c0 type veth peer name veth0_c0_p + ip netns add client0 + ip link set veth0_c0 netns client0 + ip netns exec client0 ip link set veth0_c0 up + ip netns exec client0 ip link set veth0_c0 address 00:00:00:00:00:01 + ip netns exec client0 ip addr add 1.1.1.1/24 dev veth0_c0 + ovs-vsctl add-port br-int veth0_c0_p + ovs-vsctl set interface veth0_c0_p external-ids:iface-id=ls1p1 + ip link set veth0_c0_p up igmp query captured: [root@ibm-x3650m4-01 ~]# ip netns exec client0 tcpdump -i any -nnle tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes 04:46:43.009011 M 00:00:00:00:00:03 ethertype IPv4 (0x0800), length 48: 1.1.1.100 > 224.0.0.1: igmp query v3 [max resp time 2.0s] 04:46:46.515883 M 76:3e:fd:42:8f:b5 ethertype IPv6 (0x86dd), length 72: fe80::743e:fdff:fe42:8fb5 > ff02::2: ICMP6, router solicitation, length 16 04:46:47.027856 Out 00:00:00:00:00:01 ethertype IPv6 (0x86dd), length 72: fe80::200:ff:fe00:1 > ff02::2: ICMP6, router solicitation, length 16 04:46:53.019092 M 00:00:00:00:00:03 ethertype IPv4 (0x0800), length 48: 1.1.1.100 > 224.0.0.1: igmp query v3 [max resp time 2.0s] ^C 4 packets captured 4 packets received by filter 0 packets dropped by kernel [root@ibm-x3650m4-01 ~]# rpm -qa | grep ovn ovn2.11-2.11.1-8.el8fdp.x86_64 kernel-kernel-networking-openvswitch-ovn-basic-1.0-2.noarch ovn2.11-host-2.11.1-8.el8fdp.x86_64 ovn2.11-central-2.11.1-8.el8fdp.x86_64 kernel-kernel-networking-openvswitch-ovn-common-1.0-1.noarch [root@ibm-x3650m5-03 bz1672278]# ovn-nbctl set logical_switch ls1 other_config:mcast_flood_unregistered=true [root@ibm-x3650m5-03 bz1672278]# ip netns exec server0 ping 239.1.1.1 -c1 -t 64 PING 239.1.1.1 (239.1.1.1) 56(84) bytes of data. ^C --- 239.1.1.1 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms captured on client0: 04:49:57.738574 M 00:00:00:00:00:02 ethertype IPv4 (0x0800), length 100: 1.1.1.2 > 239.1.1.1: ICMP echo request, id 4405, seq 1, length 64 set VERIFIED