测试DHCP的功能

1)  192.168.88.55上安装rh9,内核版本为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.57192.168.88.59

 

3)在服务器端执行:

/etc/rc.d/init.d/dhcpd start

你可能感兴趣的:(防火墙)