Test DHCP function

xiaoxiao2021-03-06  75

1) Install RH9 on 192.168.88.55, the kernel version is

2.4.20

-8, download ftp://ftp.task.gda.pl/vol/d35/RAWHIDE.REDHAT.COM/i386/redhat/rpms/dhcp-3.0pl2-6.13.i386.rpm, execute RPM -UVH DHCP-3.0 PL2-6.13.I386.rpm Install DHCPD.

2) Configure /etc/dhcpd.conf, as follows:

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;

}

The IP address assigned to the client ranges from 192.168.88.57 to 192.168.88.59.

3) Execute at the server side:

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

转载请注明原文地址:https://www.9cbs.com/read-93541.html

New Post(0)