Date: Tue, 14 Jan 2020 16:25:25 -0800 From: Bruce Ferrell <bferrell@baywinds.org> To: Daniel Feenberg <feenberg@nber.org> Cc: freebsd-questions@freebsd.org Subject: Re: PXE boot with 2 NICs Message-ID: <6ccadaf1-7a3c-1b1f-71f0-b64c4dd2d753@baywinds.org> In-Reply-To: <alpine.BSF.2.21.9999.2001130826470.61306@mail2.nber.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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/13/20 5:35 AM, Daniel Feenberg wrote: > > > On Sun, 12 Jan 2020, Bruce Ferrell wrote: > >> >> >> On 1/12/20 11:15 AM, Daniel Feenberg wrote: >>> >>> Is it possible to PXE boot from 1 NIC, and then switch all (or most) network traffic to the other NIC? I have a Gigabyte motherboard (R182-Z90) > (that won't PXE boot from an add-in card)... > >> You have a bad flash image for the NIC you're trying the PXE boot on. > > We did reflash one of the NICs. No change. > >> Are you just installing from PXE and then running local or is every boot PXE? > > Every boot is via PXE, not just the installation. See > > http://www.nber.org/sys-admin/FreeBSD-diskless.html > > ... > >> I'd try to reflash the NIC > > We did. Anyway, would both NICs be defective? So we are looking for a way to instruct the FreeBSD kernel to use the 10GBE port rather than the port the system booted from. > > Daniel Feenberg 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. Were you to watch the boot process with, say wireshark, you can see PXE request and re-try PXE configs, starting with the most specific config, the UUID, then subsets and finally going to a generic default to find the load/configs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ccadaf1-7a3c-1b1f-71f0-b64c4dd2d753>