The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to chainload ipxe using dnsmasq?
2012-10-12, 20:43 (This post was last modified: 2013-07-02 23:14 by stefanlasiewski.)
Post: #1
How to chainload ipxe using dnsmasq?
I am trying to use dnsmasq on my quest for a small, simple bootserver.

I want dnsmasq to tell the clients to load bootstrap.ipxe [1].

With ISC BIND, we use this syntax:

Code:
if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/bootstrap.ipxe";
}
else {
    filename "undionly.kpxe";
}

But how can we do this with dnsmasq?

I have managed to load undionly.kpxe via dnsmasq. Here is my dnsmasq.conf:

Code:
### Tftp
enable-tftp
tftp-root=/var/lib/tftpboot

dhcp-match=IPXEBOOT,175
dhcp-option=175,8:1:1
# if the request does not (#) match the IPXEBOOT rule tell the client
# (most likely standard PXE client) to boot iPXE
dhcp-boot=tag:#IPXEBOOT,undionly.kpxe

But I cannot figure out how to tell the client to request bootstrap.ipxe .

Can anyone here help me out?

[1] https://gist.github.com/2234639
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to chainload ipxe using dnsmasq? - stefanlasiewski - 2012-10-12 20:43



User(s) browsing this thread: 1 Guest(s)