我的目标是:在专用局域网上有一台服务器(debian),它提供了tftp引导到任何插入到服务器连接的交换机的客户端机器 – 服务器不需要外部Internet访问,只能用于服务器不同的iso到连接的客户端机器(用于os加载)。 服务器是路由器,dhcp服务器和tftp服务器(不使用物理路由器)。
目前我已经在我的debian服务器上安装并configuration了isc-dhcp-server,tftpd-hpa,nfs-kernel-server。
当我将客户端机器的mac地址硬编码到dhcpd.conf中时,我有它的工作:
group { next-server 10.10.10.1; host tftpclient { hardware ethernet [client mac here] filename "pxelinux.0" } }
但没有硬件以太网线我的客户端将无法正常PXE启动,我得到的错误:
PXE-E53: no boot filename received.
我想知道如何configuration这个不需要硬编码的MAC地址。 如果需要解决问题,我可以根据要求提供其他任何configuration文件。
尝试
group { next-server 10.10.10.1; filename "pxelinux.0" }
或者你可以把它放到子网的定义中