The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 2077306 - [OVN]Packets with 224.0.0.x should not be forwarded through router even mcast_flood and relay set.
Summary: [OVN]Packets with 224.0.0.x should not be forwarded through router even mcast...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn22.03
Version: FDP 22.C
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dumitru Ceara
QA Contact: ying xu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-21 01:53 UTC by ying xu
Modified: 2022-10-11 12:21 UTC (History)
4 users (show)

Fixed In Version: ovn22.03-22.03.0-82.el8fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-11 12:21:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-1904 0 None None None 2022-04-21 01:56:29 UTC
Red Hat Product Errata RHBA-2022:6870 0 None None None 2022-10-11 12:21:27 UTC

Description ying xu 2022-04-21 01:53:54 UTC
Description of problem:
Packets with 224.0.0.x should not be forwarded through router even mcast_flood and relay set.

Version-Release number of selected component (if applicable):
since the feature relay and flood was included.

How reproducible:
always

Steps to Reproduce:
topo:
(receiver) -- TS1 -- LR (relay=true) -- LS2 -- (sender)

# ovn-nbctl show
switch cc5a80c8-c520-4942-b9ba-2ec053ea6b52 (ts1)
    port ts1-lr1
        type: remote
        addresses: ["aa:aa:aa:aa:aa:01 169.254.100.1/24"]
    port ts1-lr2
        type: router
        router-port: lr2-ts1
switch 8f7f9c2b-4b87-42a5-b2bf-0c469568aec3 (ls2)
    port ls2-lr2
        type: router
        addresses: ["00:00:00:00:02:00"]
        router-port: lr2-ls2
    port ls2p1
        addresses: ["00:00:00:00:02:01 172.16.2.1 172:16:2::1"]
    port ls2p2
        addresses: ["00:00:00:00:02:02 172.16.2.2 172:16:2::2"]
router 537c45e9-0e43-4e55-b011-7091c92793cc (lr2)
    port lr2-ts1
        mac: "aa:aa:aa:aa:aa:02"
        networks: ["169.254.100.2/24"]
        gateway chassis: [hv1]
    port lr2-ls2
        mac: "00:00:00:00:02:00"
        networks: ["172.16.2.254/24", "172:16:2::a/64"]

then, config as below:
ovn-nbctl set logical_switch ls2 other_config:mcast_snoop="true" other_config:mcast_flood_unregistered="true"
ovn-nbctl set logical_router lr2 options:mcast_relay="true"
ovn-nbctl set logical_router_port lr2-ts1 options:mcast_flood="true"


Actual results:
send multicast with ip 224.0.0.1 from sender to  receiver, receiver can get the packets.
but 224.0.0.x should not be forwarded through router.

Expected results:
224.0.0.x should not be received by receiver.

Additional info:

Comment 1 Dumitru Ceara 2022-08-03 11:22:16 UTC
V1 posted for review: https://patchwork.ozlabs.org/project/ovn/list/?series=312410&state=*

Comment 2 OVN Bot 2022-08-10 04:07:42 UTC
ovn22.06 fast-datapath-rhel-8 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2117127
ovn22.06 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2117128

Comment 4 OVN Bot 2022-08-17 18:41:50 UTC
ovn22.06 fast-datapath-rhel-8 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2119168
ovn22.06 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2119169

Comment 8 ying xu 2022-09-20 07:13:58 UTC
verified on version:
# rpm -qa|grep ovn
ovn22.03-central-22.03.0-95.el8fdp.x86_64
ovn22.03-host-22.03.0-95.el8fdp.x86_64
ovn22.03-22.03.0-95.el8fdp.x86_64

run the case :
yum install -y kernel-kernel-networking-openvswitch-ovn-Interconnection.noarch
then make run it.
:: [ 03:10:26 ] :: [  BEGIN   ] :: Running 'tcpdump -r ls1p1.pcap -nnle|grep '172.16.2.1.*224.0.0.1.*UDP''
reading from file ls1p1.pcap, link-type LINUX_SLL (Linux cooked v1)
dropped privs to tcpdump
:: [ 03:10:26 ] :: [   PASS   ] :: Command 'tcpdump -r ls1p1.pcap -nnle|grep '172.16.2.1.*224.0.0.1.*UDP'' (Expected 1, got 1)
:: [ 03:10:26 ] :: [  BEGIN   ] :: Running 'tcpdump -r ls1p2.pcap -nnle|grep '172.16.2.1.*224.0.0.1.*UDP''
reading from file ls1p2.pcap, link-type LINUX_SLL (Linux cooked v1)
dropped privs to tcpdump
:: [ 03:10:26 ] :: [   PASS   ] :: Command 'tcpdump -r ls1p2.pcap -nnle|grep '172.16.2.1.*224.0.0.1.*UDP'' (Expected 1, got 1)

Comment 10 errata-xmlrpc 2022-10-11 12:21:17 UTC
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 (ovn22.03 bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2022:6870


Note You need to log in before you can comment on or make changes to this bug.