Date: Sat, 14 Mar 1998 18:07:39 +0100 From: Tor Egge <Tor.Egge@idi.ntnu.no> To: winter@jurai.net Cc: cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf options src/sys/i386/conf LINT src/sys/nfs bootp_subr.c Message-ID: <199803141707.SAA19171@pat.idi.ntnu.no> In-Reply-To: Your message of "Sat, 14 Mar 1998 01:45:43 -0500 (EST)" References: <Pine.BSF.3.96.980314014401.1171A-100000@sasami.jurai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Wouldn't a more generic (and useful) solution be to send out bootp > requests from all interfaces and use the first reply? Hardcoding each > kernel in a multiplatform enviornment would be a major PITA. Yes. A general solution should - First send DHCP queries on all interfaces - Fall back to accepting BOOTP answers on interfaces where no DHCP answer was received - Fall back to RARP queries on interfaces where no answer was received - If no location for the root directory was specified in any BOOTP/DHCP answer but RARP was used to specify an interface address, the kernel should consult the bootparam daemon on the machine giving the RARP reply. This will probably require less tweaking than the current code, but writing this general code (using poll or select) will take some time. In the current code, you won't need the BOOTP_WIRED_TO option unless the default (the first interface not being a loopback or point to point device) cannot be used. I probably need to add one more line to LINT, explaining this. - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803141707.SAA19171>