0

My goal: have a server (debian) on a private lan that provides tftp booting to any client machines plugged into the switch that the server is connected to - the server doesn't need outside Internet access, it will only be used for serving up different iso's to the connecting client machine (for os loads). The server is the router, dhcp server, and tftp server (not using a physical router).

Currently I have isc-dhcp-server, tftpd-hpa, nfs-kernel-server all installed and configured on my debian server.

I have it working when I have the mac address of the client machine hardcoded into the dhcpd.conf:

group {
  next-server 10.10.10.1;
  host tftpclient {
     hardware ethernet [client mac here]
     filename "pxelinux.0"
  }
}

But without the hardware ethernet line my clients won't properly pxe boot, I get the error:

PXE-E53: no boot filename received.

I am wondering how to configure this to not require hardcoding the mac addresses. I can provide any other config files upon request if need for problem solving.

  • Instead of showing us the config that does work, why don't you show us the config that doesn't? – womble Mar 17 '12 at 23:44
  • @womble Great comment man! Thanks for the help, appreciate it. – bMon Mar 18 '12 at 15:08
1

try

group {
    next-server 10.10.10.1;
    filename "pxelinux.0"
}

or you can put this into the subnet definition

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.