[ipxe-devel] [gPXE] how to use gpxe w/o dhcp

Michael Brown mbrown at fensystems.co.uk
Wed Nov 9 15:12:15 UTC 2011

On Tuesday 08 Nov 2011 16:55:00 Yixuan Huang wrote:
> Sorry, I am not catching your mean.  Here I have no DHCP server, and my
> client which I want to boot from gpxe cannot get any ip address, so how can
> I set my client, then connect remote server which store kernel. Does there
> has a command or in script I can type ip address for that client, like
> ifconfig under unix/linux. After I config ip, then I can connect server and
> get anything I want.

You need to use the "set" command:


This will allow you to configure an IP address without using DHCP.  You will 
also need to open the network interface using the "ifopen" command:


and download and boot something using the "chain" command:


Once you've worked out the commands that you need, you can create an iPXE 
embedded script; see


Note that most of these features are not supported by gPXE (which is a dead 
project); the first thing that you should do is upgrade to iPXE.


More information about the ipxe-devel mailing list