From: Adam Ray (aray@slcc4ministry.edu)
Date: Wed Mar 03 2004 - 12:23:53 CST
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
**********************************************************************
This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:45 CDT