LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-16-2012, 11:52 AM   #1
tawm
LQ Newbie
 
Registered: Jun 2011
Posts: 4

Rep: Reputation: Disabled
DHCPD unhappy.


Having a bit of a weird one with DHCPD.

I've just moved over to a new server and seem to be having an issue with DHCPD handing out addresses. It's completely bizarre, it's handing out *some* addresses and not others.

DHCPDISCOVER from 00:60:dd:45:78:63 via eth0: network Mill-NY-LAN: no free leases


Here's my dhcpd.conf

Quote:
#LOGGING
log-facility local7;
option domain-search code 119 = array of ip-address;

# Settings for the Mill NY LAN
shared-network Mill-NY-LAN
ddns-update-style ad-hoc;
default-lease-time 600;
max-least-time 7200;
{
subnet 10.x.x.x netmask 255.x.x.x
{
option domain-name-servers 10.x.x.x, 10.x.x.x, 10.x.x.x;
option routers 10.x.x.x;
option domain-name "mill-ny.com";
option subnet-mask 255.x.x.x;
next-server 10.x.x.x;
filename "pxelinux.0";
option domain-search mill-ny.com, mill.co.uk, mill-la.com;
}
}

# Groups start here

# 2DNY - Centos
# 10.x.x.x
group
{
host Dell-52-NY { hardware ethernet 00:1D:09:86:1C:49; fixed-address 10.x.x.x; } # expires: 2032-12-08. Despatch
host dell-63-ny { hardware ethernet 00:23:AE:56:4F9; fixed-address 10.x.x.x; } # expires: 2030-12-31.
}

(ETC)
This is all I get in /var/lib/dhcpd/dhcpd.leases

Quote:
# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-4.1.1-P1

server-duid "\000\001\000\001\027F:\000\324\256Re'B";
and in /etc/sysconfig/dhcpd

Quote:
# Command line options here
DHCPDARGS=eth0
~

So basically we're set up to NOT give out addresses to any machines unless they're defined in the "groups" section.

I can see the mac addresses in the groups but still no bueno

Any ideas ?
 
Old 05-18-2012, 09:08 AM   #2
tawm
LQ Newbie
 
Registered: Jun 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Fo interests sake, I rolled back to DHCPDv3 and it happily came back to life. I did a bit of reading up and there are some pretty major syntax changes.

Anyway, hazaah!
 
  


Reply

Tags
dhcp, dhcpd, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unhappy with latest versions of Amarok and Kaffeine. catweasel28 SUSE / openSUSE 9 02-25-2010 01:07 AM
Bugzilla and PostgreSQL unhappy :-( LaughingBoy Linux - Server 2 11-23-2006 06:34 PM
UDMA unhappy on via vt82c686a in Debian testing chrisdw Linux - Hardware 0 07-14-2004 09:31 AM
Unhappy with Redhat 9.0 Whitehat Linux - General 15 09-10-2003 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration