iPXE booting with vlan support

Getting a version of iPXE that supports vlans



Build it yourself

git clone git://git.ipxe.org/ipxe.git
cd ipxe/src
sed -i 's///#define VLAN_CMD/#define VLAN_CMD/' config/general.h

There is multiple ways you can use your compiled binary, for testing just mounting bin/ipxe.iso and booting from it is good.

Using it

Boot from the ROM/ISO.

CTRL+B to get a command line when prompted.

Then assuming a desired vlan ID of 123:

vcreate --tag 123 net0
dhcp net0-123
chain tftp://${next-server}/${filename}

One Reply to “iPXE booting with vlan support”

Leave a Reply

Your email address will not be published. Required fields are marked *