The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1811117 - OVN is not adhering to DHCP Broadcast Bit in DHCPDISCOVER and sending only unicast DHCPOFFER
Summary: OVN is not adhering to DHCP Broadcast Bit in DHCPDISCOVER and sending only un...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn2.12
Version: RHEL 7.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ihar Hrachyshka
QA Contact: ying xu
URL:
Whiteboard:
Depends On: 1801006 1811119 1812038
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-06 16:01 UTC by Ihar Hrachyshka
Modified: 2023-09-07 22:18 UTC (History)
13 users (show)

Fixed In Version: ovn2.12-2.12.0-36.el7fdn
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1801006
Environment:
Last Closed: 2020-11-10 15:14:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-499 0 None None None 2023-09-07 22:18:16 UTC

Comment 1 Ihar Hrachyshka 2020-03-07 02:11:35 UTC
Note to QE: this should probably be verified in conjunction with the original OSP bug: https://bugzilla.redhat.com/show_bug.cgi?id=1801006 (the original bug is marked as TestOnly).

Comment 4 ying xu 2020-03-19 05:08:51 UTC
verified on version:
# rpm -qa|grep ovn
ovn2.12-2.12.0-36.el7fdp.x86_64
ovn2.12-host-2.12.0-36.el7fdp.x86_64
ovn2.12-central-2.12.0-36.el7fdp.x86_64




:: [ 01:06:03 ] :: [  BEGIN   ] :: Running 'ip netns exec vm2 /usr/libexec/platform-python ./broadcastset.py'
.
Sent 1 packets.
:: [ 01:06:04 ] :: [   PASS   ] :: Command 'ip netns exec vm2 /usr/libexec/platform-python ./broadcastset.py' (Expected 0, got 0)
:: [ 01:06:09 ] :: [  BEGIN   ] :: Running 'tcpdump -r a.pacp -nn -v |grep 42.42.42.254.67.*255.255.255.255.*BOOTP/DHCP.*Reply'
reading from file a.pacp, link-type EN10MB (Ethernet)
    42.42.42.254.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 276, Flags [Broadcast]
:: [ 01:06:09 ] :: [   PASS   ] :: Command 'tcpdump -r a.pacp -nn -v |grep 42.42.42.254.67.*255.255.255.255.*BOOTP/DHCP.*Reply' (Expected 0, got 0)


send dhcp discovery with broadcast flag:
conf.checkIPaddr = False
    fam,hw =get_if_raw_hwaddr(conf.iface)
    sendp(Ether(src="00:00:00:00:00:02", dst="ff:ff:ff:ff:ff:ff")/IP(src="0.0.0.0", dst="255.255.255.255")/UDP(sport=68,dport=67)/BOOTP(flags=32768,chaddr=hw)/DHCP(options=[("message-type","discover"),"end"]),iface="vm2")
and recieve the server reply in broadcast.
tcpdump -r a.pacp -nn -v |grep 42.42.42.254.67.*255.255.255.255.*BOOTP/DHCP.*Reply'
reading from file a.pacp, link-type EN10MB (Ethernet)
    42.42.42.254.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 276, Flags [Broadcast]

Comment 7 Dan Williams 2020-11-10 15:14:16 UTC
ovn2.12 has been superceded by ovn2.13.


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