本文共 1707 字,大约阅读时间需要 5 分钟。
最近在琢磨Windows Deployment Service(WDS),按照微软的安装测试了一下。效果还是不错的,唯一有点麻烦的是windows的DHCP总觉得不如Linux下的ISC DHCP好用,可能我习惯了那个配置方法吧。于是想把DHCP功能从WDS中分离出来,用Linux DHCP来代替,经过一番实验,达到了这个目的,下边把过程记录一下。
authoritative; allow booting; allow bootp;boot-unknown-clients false;default-lease-time 600; max-lease-time 7200;option ip-forwarding true; option mask-supplier false;ddns-update-style none;subnet 192.168.152.0 netmask 255.255.255.0 { range 192.168.152.1 192.168.152.99; option vendor-class-identifier "PXEClient"; option vendor-encapsulated-options 01:04:00:00:00:00:ff; option routers 192.168.152.254; option domain-name-servers 218.22.22.33,220.11.22.22; }#*********windows Server******Arch: i386 group {next-server 192.168.152.200; option bootfile-name "boot/x86/wdsnbp.com"; host TESTHOST { hardware ethernet 00:0C:29:17:23:23; fixed-address 192.168.152.22; }}#*********Linux Server******Arch: i386 group {next-server 192.168.152.200; filename "linux/pxelinux.0"; host linuxnode { hardware ethernet 00:0C:29:94:AA:BB; fixed-address 192.168.152.55; }}
转载地址:http://ywmbx.baihongyu.com/