DHCP client implementation

Dec 06, 2007 0 Replies

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.


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required