DHCP client implementation

DHCP client RFC says for DHCPREQUEST packet in INIT-REBOOT state "requested IP address option MUST be filled in with client's notion of its previously assigned address", what eactly it is?. earlier with DHCPOFFER I got IP addr (yiaddr part in received packet), that addr was assigned to some global varilable ip_addr, can I use the same field when I send DHCPREQUEST packe in INIT_REBOOT state?. I need to send REQ packet in INIT-REBOOT state, can I use directly the saved IP address which I received earlier, or do I have to convert that addr (inet_ntoa...) and send it?. Thanks.

Reply to
santa19992000
Loading thread data ...

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.