[gPXE] Dual ethernet card

Lars Kellogg-Stedman lars at oddbit.com
Thu Jul 29 09:03:37 EDT 2010


> I tried to duplicate the lines in the GPXE script but if there is an
> error the script doesn't go further. Example:
>
> #!gpxe
> ifopen net0
> ifopen net1
> dhcp net0
> dhcp net1

I just submitted a patch (posted here; it also went to gpxe-devel)
that would let you do:

  #!gpxe
 dhcp any

...and have gPXE iterate through all available interfaces, or:

  #!gpxe
  dhcp net0 net1

If you really wanted to limit it to just those two interfaces.

You can find a copy of the patch here:

  http://gist.github.com/486907

It should apply cleanly against the current gPXE repository.


More information about the gPXE mailing list