PXE boot with 2 NICs

Bruce Ferrell bferrell at baywinds.org
Wed Jan 15 00:59:50 UTC 2020


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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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.



More information about the freebsd-questions mailing list