Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 2130756

Summary: [Baremetal][PXE] Allow for setting the "next-server" field in the DHCPOFFER header
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn22.03Assignee: Lucas Alvares Gomes <lmartins>
Status: CLOSED ERRATA QA Contact: ying xu <yinxu>
Severity: high Docs Contact:
Priority: high    
Version: FDP 20.ICC: ctrautma, jiji, jishi, mmichels, ralongi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn22.03-22.03.0-101.el9fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-03 00:27:00 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:

Description OVN Bot 2022-09-29 04:04:55 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2083629

Comment 3 ying xu 2022-10-20 07:22:45 UTC
verified version:
ovn22.03-22.03.0-106.el9fdp.x86_64

set the dhcp-option as below:

# ovn-nbctl list dhcp-options
_uuid               : 036d9902-3cd8-4d0e-9220-a53f507a9640
cidr                : "172.16.102.0/24"
external_ids        : {}
options             : {classless_static_route="{169.254.169.254/32,172.16.102.1, 155.45.128.0/17,172.16.102.1, 161.89.0.0/16,172.16.102.1 0.0.0.0/0,172.16.102.1}", lease_time="3600", next_server="172.16.103.254", router="172.16.102.254", server_id="172.16.102.254", server_mac="00:de:ad:ff:01:02"}
[root@dell-per730-19 dhcp]# 

then 
02:55:16.251522 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 341)
    172.16.102.254.67 > 172.16.102.11.68: BOOTP/DHCP, Reply, length 313, xid 0x5fcd7d11, Flags [none]
	  Your-IP 172.16.102.11
	  Server-IP 172.16.103.254
	  Client-Ethernet-Address 00:de:ad:01:00:01
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message Option 53, length 1: ACK
	    T253 Option 253, length 4: 2886756350      --------------here is the next-server option
	    Classless-Static-Route Option 121, length 29: (169.254.169.254/32:172.16.102.1),(155.45.128.0/17:172.16.102.1),(161.89.0.0/16:172.16.102.1),(default:172.16.102.1)
	    Lease-Time Option 51, length 4: 3600
	    Subnet-Mask Option 1, length 4: 255.255.255.0
	    Default-Gateway Option 3, length 4: 172.16.102.254
	    Server-ID Option 54, length 4: 172.16.102.254

Comment 5 errata-xmlrpc 2022-11-03 00:27:00 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), 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:7394