This tutorial will walk you through setting up a Ubiquiti EdgeRouter to allow PXE booting. This tutorial assumes that you have a TFTP & NFS Server running on `192.168.69.100`. [[pxe-server-ubuntu|A complete PXE setup guide is located here]].
# Login to router via ssh, enter configure mode
{{{ lang=bash
configure
}}}
# Add `bootfile-server` option to DHCP config
{{{ lang=bash
edit service dhcp-server shared-network-name dlasley.net subnet 192.168.69.0/24
set bootfile-server 192.168.69.100
}}}
# Add `filename` option to DHCP config. **Make sure to encapsulate the file path in `"`**
{{{ lang=bash
set subnet-parameters “filename "/pxe-boot/pxelinux.0";”
}}}
# Depending on your configuration, you may also need to add the `bootfile-name` parameter
{{{ lang=bash
set bootfile-name /pxe-boot/pxelinux.0
}}}
# Commit and save
{{{ lang=bash
commit
save
}}}
**Note: If your DHCP server stops handing out new leases after making this change, [[http://www.ubnt.com/download#EdgeRouter:Lite|Upgrade your OS]] to at least [[http://www.ubnt.com/eula/?BACK=/downloads/ER-e100-v1.3.0.build4605130.tar|1.3.0]]**
Leave a Reply