From: Stefan Bruens <stefan.bruens@rwth-aachen.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] DHCP Command Does Not Populate all DHCP Options supplied by DHCP Server
Date: Sat, 4 Feb 2017 20:31:50 +0100 [thread overview]
Message-ID: <2066676.ORP5B6FdPD@pebbles.site> (raw)
In-Reply-To: <881402146.1020307.1486233518986@mail.yahoo.com>
On Samstag, 4. Februar 2017 18:38:38 CET dh at synoia.com wrote:
> The u-boot DHCP Command appears to populate some DHCP options, for example:
> rootpath and gateway, netamsk and ipaddress. It does not appear to populate
> Bootfile Name (Option 67) and Boot Server Host Name (Option 66)
>
> Can populating all option returned from DHCP. BOOTP etc be added?
>
> I can (possibly) write the code, but an not that skilled, nor do I have much
> understanding of the u-boot code review and approval process. Duncan Hare
Unfortunately you are not stating which messages you are referring to, I
assume you refer to DHCPDISCOVER and DHCPREQUEST.
DHCP is an extension to BOOTP, but there are some points where DHCP deviates
from BOOTP behaviour. One such point are the sname and file fields. While in
BOOTP these are used to select a specific server/image to boot, in DHCP these
are no longer used as such in the DHCPDISCOVER/REQUEST messages. The server/
file are selected by the DHCP server based on e.g. MAC address, client
identifier or any other option.
RFC2131, page 37 [1] states for both sname/file, DISCOVER/REQUEST:
"options, if indicated in 'sname/file' option; otherwise unused"
Option 67 and 66 are only relevant in OFFER/ACK messages.
Kind regards,
Stefan
[1] https://tools.ietf.org/html/rfc2131#page-37
--
Stefan Br?ns / Bergstra?e 21 / 52062 Aachen
home: +49 241 53809034 mobile: +49 151 50412019
work: +49 2405 49936-424
next prev parent reply other threads:[~2017-02-04 19:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <881402146.1020307.1486233518986.ref@mail.yahoo.com>
2017-02-04 18:38 ` [U-Boot] DHCP Command Does Not Populate all DHCP Options supplied by DHCP Server dh at synoia.com
2017-02-04 19:31 ` Stefan Bruens [this message]
[not found] ` <2141255683.1073022.1486239380499@mail.yahoo.com>
2017-02-04 22:32 ` Stefan Bruens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2066676.ORP5B6FdPD@pebbles.site \
--to=stefan.bruens@rwth-aachen.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox