Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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 Answer 1

up vote 1 down vote accepted

try

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

or you can put this into the subnet definition

share|improve this answer
    
It worked in the subnet definition, thanks!! –  bMon Mar 18 '12 at 15:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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