我正尝试从直接连接到客户端计算机的LTSP服务器执行PXE引导。
我的问题是,在networking启动时,它说:
CLIENT MAC ADDR: 8C 89 A5 E0 6C 86 GUID: 000000000-0000-0000-0000-8C89A5E06C86 CLIENT IP: 192.168.1.7 MASK: 255.255.255.0 DHCP IP: 192.168.1.2 GATEWAY IP: 192.168.1.1 PXE-E11: ARP timeout PXE-E11: ARP timeout PXE-E38: TFTP cannot open connection PXE-M0F: Exiting PXE ROM. Reboot and select proper Boot device or Insert Boot Media in selected Boot device and press a key
我不明白如何解决这个问题。 我可以更早地启动它,当服务器重新启动,我得到这个错误。
请帮忙!
编辑:
我的/etc/ltsp/dhcpd.conf文件如下:
option domain-name-servers 8.8.8.8 8.8.4.4; default-lease-time 86500; max-lease-time 6059934; authoritative; option domain-name "BLAX"; allow booting; allow bootp; next-server 192.168.1.2; filename "ltsp/amd64/pxelinux.0; ddns-update-style none; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.3 192.168.1.250; option domain-name "fdf.com"; option domain-name-servers 8.8.8.8; option broadcast-address 192.168.1.255; option routers 192.168.1.1; option subnet-mask 255.255.255.0; option root-path "/opt/ltsp/amd64"; if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" { filename "ltsp/amd64/pxelinux.0; } else { filename "ltsp/amd64/nbi.img"; } }
networkingconfiguration:
/------------\ /-------------\ | | | | |192.168.1.7 | | 192.168.1.2| /------------\ | Client o----------o Server o------o Router | | Machine | | Machine | |192.168.1.1 | | | | | /------------\ /------------\ /------------/
在dhcpd.conf中,确保“option domain-name-servers”和“next-server”这两行具有正确的IP地址。
在/var/lib/tftpboot/linux-install/pxelinux.cfg文件中,确保root=nfs:IP:/directory具有正确的IP地址。
在为基础设施更改IP地址后,忘记编辑DHCP服务器configuration(对于DHCP服务器),我也遇到了这样的问题。 要解决这个问题:
sed -i -e 's/old_IP/new_IP/g' /etc/dhcp/dhcpd.conf service dhcpd restart
另外,PXE服务器菜单应该更新。 在我的情况下:
sed -i -e 's/old_IP/new_IP/g' /*/pxe_server/tftproot/*/pxelinux.cfg/*
warewulf引导中的PXE-11 ARP超时也出现了这个问题。 对于处理该问题的其他人,如果其他发布的解决scheme不起作用,请检查您的交换机。 我的问题是一个坏的千兆交换机。
尝试:
ltsp-chroot -m apt-get install linux-image-amd64/i386 apt-get install linux-headers-amd64/i386 ltsp-update-image ltsp-update-kernels