Date: Tue, 14 Jan 2020 19:44:07 -0500 (EST) From: Daniel Feenberg <feenberg@nber.org> To: Bruce Ferrell <bferrell@baywinds.org> Cc: freebsd-questions@freebsd.org Subject: Re: PXE boot with 2 NICs Message-ID: <alpine.BSF.2.21.9999.2001141942310.93968@mail2.nber.org> In-Reply-To: <6ccadaf1-7a3c-1b1f-71f0-b64c4dd2d753@baywinds.org> References: <alpine.BSF.2.21.9999.2001121304350.19223@mail2.nber.org> <6a2ba6a0-9349-f164-e0d3-18bd32a9ef56@baywinds.org> <alpine.BSF.2.21.9999.2001130826470.61306@mail2.nber.org> <6ccadaf1-7a3c-1b1f-71f0-b64c4dd2d753@baywinds.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Jan 2020, Bruce Ferrell wrote: > On 1/13/20 5:35 AM, Daniel Feenberg wrote: >> >> >> On Sun, 12 Jan 2020, Bruce Ferrell wrote: >> >>> >>> > Ahhh... It's a netboot effectively. > > The FreeBSD kernel isn't involved in PXE. PXE requests and downloads the > load images/configs. The load images/configs then take over completely. PXE > if out of the picture at that point. PXE, based on the NIC MAC address/UUID > IS capable offering differing loads/configs. > Yes, I understand that FreeBSD kernel isn't involved in PXE. That is fine. I can PXE boot from the 1GBE port. But then I want to instruct the FreeBSD kernel to use the 10GBE port which does not support PXE booting. Daniel Feenberg From owner-freebsd-questions@freebsd.org Wed Jan 15 00:59:50 2020 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 83F8E1FA3D3 for <freebsd-questions@mailman.nyi.freebsd.org>; Wed, 15 Jan 2020 00:59:50 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from baywinds.org (50-196-187-248-static.hfc.comcastbusiness.net [50.196.187.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "baywinds.org", Issuer "rr-v" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47y89x4XMrz3Lgv for <freebsd-questions@freebsd.org>; Wed, 15 Jan 2020 00:59:49 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from [192.0.2.130] (rr-iii [192.0.2.130]) by baywinds.org (8.14.4/8.14.4) with ESMTP id 00F0xlWJ026970 for <freebsd-questions@freebsd.org>; Tue, 14 Jan 2020 16:59:47 -0800 Subject: Re: PXE boot with 2 NICs To: freebsd-questions@freebsd.org References: <alpine.BSF.2.21.9999.2001121304350.19223@mail2.nber.org> <6a2ba6a0-9349-f164-e0d3-18bd32a9ef56@baywinds.org> <alpine.BSF.2.21.9999.2001130826470.61306@mail2.nber.org> <6ccadaf1-7a3c-1b1f-71f0-b64c4dd2d753@baywinds.org> <alpine.BSF.2.21.9999.2001141942310.93968@mail2.nber.org> From: Bruce Ferrell <bferrell@baywinds.org> Message-ID: <f2777b9f-9e5e-a2c3-a895-a10934a384e1@baywinds.org> Date: Tue, 14 Jan 2020 16:59:47 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <alpine.BSF.2.21.9999.2001141942310.93968@mail2.nber.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: inspected by milter-greylist-4.5.12 (baywinds.org [192.0.2.134]); Tue, 14 Jan 2020 16:59:47 -0800 (PST) for IP:'192.0.2.130' DOMAIN:'rr-iii' HELO:'[192.0.2.130]' FROM:'bferrell@baywinds.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.12 (baywinds.org [192.0.2.134]); Tue, 14 Jan 2020 16:59:47 -0800 (PST) X-Rspamd-Queue-Id: 47y89x4XMrz3Lgv X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bferrell@baywinds.org designates 50.196.187.248 as permitted sender) smtp.mailfrom=bferrell@baywinds.org X-Spamd-Result: default: False [0.28 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.23)[0.232,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.27)[-0.274,0]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[baywinds.org]; IP_SCORE(0.63)[ipnet: 50.128.0.0/9(3.87), asn: 7922(-0.69), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7922, ipnet:50.128.0.0/9, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 15 Jan 2020 00:59:50 -0000 On 1/14/20 4:44 PM, Daniel Feenberg wrote: > > > On Tue, 14 Jan 2020, Bruce Ferrell wrote: > >> On 1/13/20 5:35 AM, Daniel Feenberg wrote: >>> >>> >>> On Sun, 12 Jan 2020, Bruce Ferrell wrote: >>> >>>> >>>> >> Ahhh... It's a netboot effectively. >> >> The FreeBSD kernel isn't involved in PXE. PXE requests and downloads the load images/configs. The load images/configs then take over completely. PXE if out of the picture at >> that point. PXE, based on the NIC MAC address/UUID IS capable offering differing loads/configs. >> > Yes, I understand that FreeBSD kernel isn't involved in PXE. That is fine. I can PXE boot from the 1GBE port. But then I want to instruct the FreeBSD kernel to use the 10GBE port > which does not support PXE booting. > > Daniel Feenberg > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Right. So... You watch the PXE requests to determine what UUID PXE config file (or MAC based PXE config file) is being requested. Then construct a file similar to the stock file you use for all the other systems, labeled to match the request. BUT the image/FreeBSD configs IT provides instruct the booted system to use the interfaces that match your requirements. I haven't done a FreeBSD PXE config in a long while, so I have to leave the exact details of that to you, but that's where the magic happens.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.9999.2001141942310.93968>