RE: NetReg: DHCPD.conf

New Message Reply Date view Thread view Subject view Author view Attachment view

From: King, Michael (MKing@bridgew.edu)
Date: Wed Mar 03 2004 - 14:34:44 CST


In theory, it appears good.

In reality, you need a couple of changes:

You should consider making the entire server authoritative (move it to the global level)
The allow bootp and allow booting are unnessacary.
Ddns-update-style ad-hoc is *Deprecated* Use none or interigm (Since your next statement is ddns-updates off;, I suggest none)
Ddns-updates off; is a subnet statement, doesn't work in a global syntax.

That's all I have time for right now.

-----Original Message-----
From: owner-netreg@southwestern.edu [mailto:owner-netreg@southwestern.edu] On Behalf Of Adam Ray
Sent: Wednesday, March 03, 2004 1:24 PM
To: netreg@southwestern.edu
Subject: NetReg: DHCPD.conf

Can someone look at this dhcpd.conf and let me know if it should work in theory. This was the best I could patch my idea together from the pdf instructions I found on the netreg homepage...

## /etc/dhcpd/dhcpd.conf
## ISC DHCPD v3 Configuration file
## anakin.southwestern.edu -- DHCP registration server
## Peter Valian -- June 04 1999
## Modified: 20010813

max-lease-time 120;
default-lease-time 120;
allow bootp;
allow booting;
option domain-name "slcc";
server-identifier netreg.slcc;
ddns-update-style ad-hoc;
ddns-updates off;
omapi-port 7911;

shared-network campus{

subnet 10.10.0.0 netmask 255.255.0.0 {
  authoritative;
  # Unknown clients get this pool.
  pool {
    option domain-name-servers 10.10.10.1;
    max-lease-time 120;
    default-lease-time 120;
    range 10.10.10.2 10.10.10.51;
    allow unknown clients;
  }
  }
  # Known clients get this pool.
subnet 172.31.0.0 netmask 255.255.0.0{
  pool {
    option domain-name-servers 172.31.0.2;
    option routers 172.31.0.2;
    max-lease-time 28800;
    default-lease-time 28800;
    range 172.31.2.11 172.31.2.254;
    deny unknown clients;
  }
}
}

#<BEGIN_STATIC>#
host sample-1 { hardware ethernet 00:30:DB:00:A7:A3 ; }#Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt; AT&T WNS5.0)#20010813 15:46:25#161.13.61.150

Thanks,

Adam Ray

**********************************************************************
To unsubscribe from this list, send an e-mail message to majordomo@southwestern.edu containing a single line with the words: unsubscribe netreg Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:45 CDT