??????????RH linux 9.0 ???linux?????????dhcpd????
?????°汾?? dhcp3.0.5 ??????: ????
????1?????:???????dhcp-3.0.5.tar.gz?????/tmp???????
????#cd /tmp
????#gunzip dhcp-3.0.5.tar.gz
????#tar xvf dhcp-3.0.5.tar ?????????????????????????????dhcp-3.0.5
????#cd dhcp-3.0.5 //????????????
????#configure
????#make
????#make install ??dhcp??????
????2??????
????dhcp????????????ù?????????/etc/dhcpd.conf??????????????????????????
/etc/dhcpd.conf:
default-lease-time 1296000;
#IP???Ч???
max-lease-time 4000000;
option subnet-mask 255.255.255.0;
#??????????
option broadcast-address 192.168.0.255;
#?????????
option routers 192.168.0.254;
#???????
option domain-name-servers 211.151.48.59??211.151.48.47;
#???????????
ddns-update-style ad-hoc;
subnet 192.168.0.0 netmask 255.255.255.0 {
#????IP???????
range 192.168.0.100 192.168.0.240;
#?????Χ? 100-240 ??140??IP?????
}
#???????????????MAC??????IP
#host Jephe {hardware ethernet 00:a0:c9:a6:96:33;fixed-address 192.168.1.12;}
????????dhcpd.conf?????ɡ?