public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dhcp server
@ 2006-03-28 13:39 Hiren Dave
  2006-03-29  1:55 ` Bob Sanders
  0 siblings, 1 reply; 2+ messages in thread
From: Hiren Dave @ 2006-03-28 13:39 UTC (permalink / raw
  To: gentoo-user, VGLUG

[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]

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/24to
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

[-- Attachment #2: Type: text/html, Size: 2810 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] dhcp server
  2006-03-28 13:39 [gentoo-user] dhcp server Hiren Dave
@ 2006-03-29  1:55 ` Bob Sanders
  0 siblings, 0 replies; 2+ messages in thread
From: Bob Sanders @ 2006-03-29  1:55 UTC (permalink / raw
  To: gentoo-user

On Tue, 28 Mar 2006 19:09:21 +0530
"Hiren Dave" <hiren2k4@gmail.com> wrote:


> subnet 192.168.0.0 netmask 255.255.255.0 {
				     ^---- shouldn't that be a "2"?

Bob
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-29  2:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28 13:39 [gentoo-user] dhcp server Hiren Dave
2006-03-29  1:55 ` Bob Sanders

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox