Hi,
I have configured dhcp server for 192.168.0.0/24 network. But when win2k pc is trying to get ip address from dhcp(192.168.0.2) server, it is getting 192.168.205.1
While in dhcpd.conf file, the configured lease addresses are 192.168.0.10/24 to 192.168.0.20/24
Here is the dhcpd.conf file.
######################################################################
authoritative;
ddns-updates on;
ddns-update-style interim;
ignore client-updates;
key "rndckey" {
algorithm hmac-md5;
secret "OhoyIvQSE0MULVwlAXJom24RnpFUMhXdwihJHkECEBUQd9MKz0qcHKMphT8o";
}
zone guru.com. {
primary 192.168.0.2;
key rndckey;
}
zone 0.168.192.in-addr.arpa. {
primary 192.168.0.2;
key rndckey;
}
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.2;
option subnet-mask
255.255.255.0;
option nis-domain "guru";
option domain-name "guru.com";
option domain-name-servers 192.168.0.2;
option time-offset -18000; # Eastern Standard Time
range dynamic-bootp 192.168.0.10 192.168.0.20;
default-lease-time 43200;
max-lease-time 43200;
}
########################################################################
####################/var/log/messages###################################
Mar 27 17:53:46 server1 dhcpd: DHCPDISCOVER from 00:50:56:c0:00:01 (win2k) via eth0
Mar 27 17:53:46 server1 dhcpd: DHCPOFFER on
192.168.0.18 to 00:50:56:c0:00:01 (win2k) via eth0
Mar 27 17:53:46 server1 dhcpd: DHCPREQUEST for 192.168.205.1 (192.168.205.254) from 00:50:56:c0:00:01 via eth0: wrong network.
Mar 27 17:53:46 server1 dhcpd: DHCPNAK on 192.168.205.1 to 00:50:56:c0:00:01 via eth0
########################################################################
Why is this win2k pc is getting wrong network ipaddress.
TnR,
Hiren