分类: LINUX
2008-05-11 19:10:27
subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.1.100;
option subnet-mask 255.255.255.0;
filename "/linux-install/pxelinux.0"; //指明tftp所在的位置[加入]
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.1.128 192.168.1.250; //你想分配的地址段[修改]
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:AB:CD;
# fixed-address 207.175.42.254;
# } //这些都注释掉
}
3、配置NFS(配置文件:/etc/exports)
/rhel5 *(rw)
其中/rhel5是你所需要的安装系统的软件。
4、配置TFTP服务器,启动TFTP服务,用chkconfig tftp on 打开xinetd代理tftp服务。