1) 在192.168.88.55上安裝rh9,內核版本爲<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />2.4.20-8,下載ftp://ftp.task.gda.pl/vol/d35/rawhide.redhat.com/i386/RedHat/RPMS/dhcp-3.0pl2-6.13.i386.rpm,執行rpm –Uvh dhcp-3.0pl2-6.13.i386.rpm安裝好dhcpd。
2) 配置/etc/dhcpd.conf,如下:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.88.0 netmask 255.255.255.0 {
option routers 192.168.88.254;
option subnet-mask 255.255.255.0;
option domain-name-servers 218.106.182.69;
option time-offset -18000; # Eastern Standard Time
range dynamic-bootp 192.168.88.57 192.168.88.59;
default-lease-time 21600;
max-lease-time 43200;
}
分配給客戶端的ip地址範圍從192.168.88.57到192.168.88.59。
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
3)在服務器端執行:
/etc/rc.d/init.d/dhcpd start