Bug 1811117
| Summary: | OVN is not adhering to DHCP Broadcast Bit in DHCPDISCOVER and sending only unicast DHCPOFFER | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Ihar Hrachyshka <ihrachys> |
| Component: | ovn2.12 | Assignee: | Ihar Hrachyshka <ihrachys> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ying xu <yinxu> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | RHEL 7.7 | CC: | apevec, ctrautma, ekuris, fiezzi, ihrachys, jishi, jlibosva, ldenny, lhh, majopela, mmichels, ralongi, scohen |
| Target Milestone: | --- | Keywords: | Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovn2.12-2.12.0-36.el7fdn | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1801006 | Environment: | |
| Last Closed: | 2020-11-10 15:14:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1801006, 1811119, 1812038 | ||
| Bug Blocks: | |||
|
Comment 1
Ihar Hrachyshka
2020-03-07 02:11:35 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]
ovn2.12 has been superceded by ovn2.13. |