ulnagar
January 16th, 2010, 11:53 PM
Hi guys,
I have a Hardy server that runs DHCP3-Server and Bind9 packages for my local network. I've had a number of Ubuntu servers over the last few years, and never had trouble like this.
A couple of days ago, DHCP stopped giving addresses to non-Ubuntu clients. Or rather, non-Ubuntu clients stopped accepting addresses from the DHCP server. I have a number of devices in the house, an Ubuntu 9.04 media centre pc, an xbox 360, an iMac (PPC 10.4.11), a Vista laptop, and a dual-boot Win7/Karmic laptop. All of these were able to successfully use DHCP until a few days ago.
At the moment the media centre pc and the Karmic install on the laptop still work fine, but all others (including the Win7 install on the same device) does not.
Here is a sample from the syslog:
Jan 17 14:00:50 tokyo dhcpd: DHCPDISCOVER from 00:11:24:71:65:d0 via eth0
Jan 17 14:00:51 tokyo dhcpd: DHCPOFFER on 192.168.1.193 to 00:11:24:71:65:d0 (cairo) via eth0
Jan 17 14:00:58 tokyo dhcpd: DHCPDISCOVER from 00:11:24:71:65:d0 (cairo) via eth0
Jan 17 14:00:58 tokyo dhcpd: DHCPOFFER on 192.168.1.193 to 00:11:24:71:65:d0 (cairo) via eth0
Jan 17 14:01:07 tokyo dhcpd: DHCPDISCOVER from 00:11:24:71:65:d0 (cairo) via eth0
Jan 17 14:01:07 tokyo dhcpd: DHCPOFFER on 192.168.1.193 to 00:11:24:71:65:d0 (cairo) via eth0
This is the entry for the iMac, but all the others look the same (execpt the MAC and offered address, of course).
Here is my dhcpd.conf
server-identifier tokyo;
ddns-updates on;
ddns-update-style interim;
ddns-domainname "mdh.local.";
ddns-rev-domainname "in-addr.arpa.";
ignore client-updates;
include "/etc/bind/rndc.key";
zone mdh.local. {
primary 127.0.0.1;
key rndc-key;
}
option domain-name "mdh.local";
option domain-name-servers 192.168.1.200;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;
option routers 192.168.1.1;
option domain-name "mdh.local";
option domain-name-servers 192.168.1.200;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}
I have done a complete system update on the server, and rebooted. Any help would be greatly appreciated as at the moment I have all non-Ubuntu devices set with static addresses, and I would prefer not to have it like that.
Regards,
Ulnagar
I have a Hardy server that runs DHCP3-Server and Bind9 packages for my local network. I've had a number of Ubuntu servers over the last few years, and never had trouble like this.
A couple of days ago, DHCP stopped giving addresses to non-Ubuntu clients. Or rather, non-Ubuntu clients stopped accepting addresses from the DHCP server. I have a number of devices in the house, an Ubuntu 9.04 media centre pc, an xbox 360, an iMac (PPC 10.4.11), a Vista laptop, and a dual-boot Win7/Karmic laptop. All of these were able to successfully use DHCP until a few days ago.
At the moment the media centre pc and the Karmic install on the laptop still work fine, but all others (including the Win7 install on the same device) does not.
Here is a sample from the syslog:
Jan 17 14:00:50 tokyo dhcpd: DHCPDISCOVER from 00:11:24:71:65:d0 via eth0
Jan 17 14:00:51 tokyo dhcpd: DHCPOFFER on 192.168.1.193 to 00:11:24:71:65:d0 (cairo) via eth0
Jan 17 14:00:58 tokyo dhcpd: DHCPDISCOVER from 00:11:24:71:65:d0 (cairo) via eth0
Jan 17 14:00:58 tokyo dhcpd: DHCPOFFER on 192.168.1.193 to 00:11:24:71:65:d0 (cairo) via eth0
Jan 17 14:01:07 tokyo dhcpd: DHCPDISCOVER from 00:11:24:71:65:d0 (cairo) via eth0
Jan 17 14:01:07 tokyo dhcpd: DHCPOFFER on 192.168.1.193 to 00:11:24:71:65:d0 (cairo) via eth0
This is the entry for the iMac, but all the others look the same (execpt the MAC and offered address, of course).
Here is my dhcpd.conf
server-identifier tokyo;
ddns-updates on;
ddns-update-style interim;
ddns-domainname "mdh.local.";
ddns-rev-domainname "in-addr.arpa.";
ignore client-updates;
include "/etc/bind/rndc.key";
zone mdh.local. {
primary 127.0.0.1;
key rndc-key;
}
option domain-name "mdh.local";
option domain-name-servers 192.168.1.200;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;
option routers 192.168.1.1;
option domain-name "mdh.local";
option domain-name-servers 192.168.1.200;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}
I have done a complete system update on the server, and rebooted. Any help would be greatly appreciated as at the moment I have all non-Ubuntu devices set with static addresses, and I would prefer not to have it like that.
Regards,
Ulnagar