On Monday 22 September 2003 10:19, Vidiot wrote:
> I have a W2K laptop that I am attempting to connect to my internal LAN, but
> DHCP appears to not be working.  THe daemon is running:
>
>       ps -eaf | grep dhcp
>       root     26358     1  0 Sep03 ?        00:00:03 /usr/sbin/dhcpd eth1
>
> The dhcp config file is as follows:
>
> cat dhcpd.conf
> subnet 192.168.1.0 netmask 255.255.255.0 {
> # --- default gateway
>         option routers                  192.168.1.1;
>         option subnet-mask              255.255.255.0;
>
>         option domain-name              "vidiot.com";
>         option domain-name-servers      192.168.1.1;
>
> #       option time-offset              +6;      # GMT
> #       option ntp-servers              192.168.1.1;
> #       option netbios-name-servers     192.168.1.1;
> # --- Selects point-to-point node (default is hybrid). Don't change this
> unless # -- you understand Netbios very well
> #       option netbios-node-type 2;
>
>         range 192.168.1.11 192.168.1.20;
> #       default-lease-time 21600;
> #       max-lease-time 43200;
> }
>
>
Hi,

You may want to try the following:

service dhcpd stop
dhcpd.leases  dhcpd.leases~
clear out the /var/lib/dhcp/dhcpd.leases  and  /var/lib/dhcp/dhcpd.leases~
by hand
cat  /dev/null > /var/lib/dhcp/dhcpd.leases
cat  /dev/null > /var/lib/dhcp/dhcpd.leases~
service dhcpd restart

Hope this helps,

Phil


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to