1. 程式人生 > >pxe linux

pxe linux

range bootp pxe -h 6.0 efi ger oca clas

dhcp(client+server): isc dhcp(iso.org) 3.1.3比較小巧且能在2.6.32.27下編譯通過,可用於pxe boot。 root [ /etc ]# cat dhcpd.conf
#allow booting;
#allow bootp;

default-lease-time 3600;
max-lease-time 9200;
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.56.255;
option routers 192.168.56.2;
option domain-name-servers 192.168.1.1;

subnet 192.168.56.0 netmask 255.255.255.0 {
range 192.168.56.130 192.168.56.139;
}

option space PXE;
class "PXEclients" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
#where the next-server <server-ip> should be replaced with the IP address of the tftp server.
filename "pxelinux.0";
next-server 192.168.56.1;
#option tftp-server-name "192.168.56.1";
}
inetutils: including ftpd, inetd, rexecd, rlogind, rshd, talkd, telnetd, tftpd, uucpd and whois inetutils-1.5.tar.gz is in the lfs-6.3 live cd ./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --disable-clients --disable-logger --disable-syslogd
root [ /mnt/sdb1/src/inetutils-1.5 ]# cat /etc/inetd.conf
tftp dgram udp wait root /usr/sbin/tftpd -l /boot

pxe linux