1。我用的是REDHAT 9.0,在机子上装DHCP
2。在setup下启动了dhcpd
3。由于etc下没有dhcpd.conf我用touch在那下面建了一个
4。然后把以下代码原封不动的拷入了这个文件
default-lease-time 1200;
max-lease-time 9200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1,192.168.1.2;
option domain-name "mydomain.org";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
5。然后在init.d目录下重启这个服务,它提示以下内容
http://go.6to23.com/billwjn/snapshot1.png
请朋友指点 |